Portal Home > Knowledgebase > Articles Database > what is wrong with my server
what is wrong with my server
Posted by crzy, 09-09-2008, 06:09 PM |
i had logs problem (i had them too many ) so i changed LogLevel then after 2 days later server responded slower and now i had to restart it because it didn'nt respond ping after 62 days.. now it is seems working but it does'nt show anything if I want to visit my website or it takes ages to load some web contents not all of it missing images everything anyway... i have changed error loglevel but i can not see any error i haven't got whm or cpanel or plesk when i look at the error_logs file i only can see this
and my serves top
but i guest everything ok so what should you do if you have strange problem like I have got thanks
|
Posted by TheITAdvisory, 09-09-2008, 08:34 PM |
Perhaps you can ps aux when you think it's slow, and then paste the results? I mean everything seems like it's working fine as of your pasted results of top.
|
Posted by crzy, 09-11-2008, 10:39 AM |
here is ps aux
|
Posted by Darthgeek, 09-11-2008, 08:18 PM |
Are you supposed to have that many httpd processes running? That may be the source of your problems.
|
Posted by TheITAdvisory, 09-11-2008, 10:17 PM |
Looks like too many httpd proc's. Though they are sleeping, I am not sure there is supposed to be that many.
|
Posted by hosting_we3cares, 09-12-2008, 12:14 AM |
May I know the Server RAM size?
My advise would be to keep the MaxClients limit in your Apache configuration as 400 per 1 GB RAM.
Increasing MaxClients may increase the Apache response time.
In case you have 2 GB RAM, you can increase MaxClients value upto 800.
Make sure the Max_connections value in mysql configuration also be around 800.
You need to keep Apache Hard Server Limit before performing such actions.
|
Posted by crzy, 09-13-2008, 09:18 AM |
I solved the problem that was a big doss attack
[root@server4 ~]# wc -l /proc/net/ip_conntrack
2261 /proc/net/ip_conntrack
[root@server4 ~]#
That ip conntrack was hitting the max limit it was about 48000 so i activated BFD and numbers dropped and server responding fine last 2 days…
Server has 8gb ram and cpu dual Intel Xeon CPU quad core E5430 @ 2.66GHz
And apache configuration is
And mysql
top
Im using this server for my 2 personel vb forum which has 40000 unique visitors everyday but the number is increasing to 70000 sometimes
do you think my apache and mysql configurations could be better if so could you give me a clue thanks
|
Add to Favourites Print this Article
Also Read
RackVM Down? (Views: 737)
mail.com down (Views: 647)