Web Hosting Talk







View Full Version : apache crached ...


solyalex
11-23-2002, 06:36 PM
i have this problem since 3 monthes agooo

i was having a ensim server and that happen with it then i move to cpanel server coz i was thinking the problem was with ensim


i host 8 sites on this machine

4 static

1 ib forum 300 mb database on a dedicated ip
1 vb 100 mn database
1 vb 50 mb databse
1 vb 60 databse


what happen is that the apache stop responsing and when i go to the telnet the server be very slow and the load avarage reach

30 to 50 to 70 and 80 some time ...


what i do to solve this is to restart the apache only

with /etc/init.d/httpd restart

only this solve the problem and the load avarage return normal


i have alot olot of mysql slow quires

Questions: 1637129 Slow queries: 2188 "up for one day"


some people say its ibf have problems .....

but realy i dont know what is that hell


can any one help

Darth
11-23-2002, 06:49 PM
Telnet? no no no if it's linux your on disable telnet and use ssh.

a:\
11-23-2002, 07:08 PM
What does Apache logs say?

ssh it too!

solyalex
11-23-2002, 09:18 PM
realy nothing alot of 404 errors + this one at every server start

Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory

Darth
11-23-2002, 09:42 PM
Failed loading /usr/local/Zend/lib/ZendOptimizer.so: /usr/local/Zend/lib/ZendOptimizer.so: cannot open shared object file: No such file or directory


Re-Install Zend.

solyalex
11-24-2002, 08:21 AM
its on cpanel i order this server from 4 days only

Darth
11-24-2002, 09:28 AM
If you have root download Zendoptimizer from there site then type "tar -zxvf FILE" then "cd FILE" then I think it was "./install.sh" and follow the instructions...

solyalex
11-24-2002, 09:34 AM
but do you think this is the problem

its happen on the other server without any error on the apache log

tazzy
11-24-2002, 09:41 AM
Hello,

If you need any help just give me a shout. Who is this server with?

Pilgrim
11-24-2002, 10:37 AM
Could be one of the sites is running a php/mysql application that is not properly closing the connections. Badly written scripts can do that.

Best saveguard is to edit your configuration files to automatically close the connections after "x" seconds. If not, then the number of processes running builds up during the day, the server gets slower and slower until it stops responding at all / crashes.

solyalex
11-24-2002, 01:39 PM
i am hosting at nocster


can you give me the parmeters that i need to edit .............


by the way can i know this scripts realy i didnt find any thing in the error log..


by the way i log the slow quries ...........