Current time: 04-25-2024, 02:45 AM Hello There, Guest! (LoginRegister)


Post Reply 
Suicidal apache
Author Message
Esni Offline
Junior Member
*

Posts: 45
Joined: Mar 2007
Reputation: 0
Post: #1
Suicidal apache
I have a prob with my apache since it likes to die every now and then. For some reason it also likes to restart itself about 30 minutes after it has died.

The apache logs aren't giving that much information about what happens and at the moment the only most likely answer is that a php-script causes a memory leak(I have memory exhaust-errors in the /var/log/apache2/error.log) which kills apache when it happens in the same as cronjobs are running.

I was wondering if people in here have any idea how to perhaps locate this memoryleak php-script since omega doesn't give too specific data of a single user in the server. Or if there is a way to fix it in some other way.
05-01-2007 10:05 PM
Find all posts by this user Quote this message in a reply
ephigenie Offline
Project Leader
*******
Administrators

Posts: 1,578
Joined: Oct 2006
Reputation: 15
Post: #2
RE: Suicidal apache
but you're using fastcgi aren't you ? because then memory leaks of php normaly do not affect apache (except you got OOM Messages and your apache got killed by the kernel)

Otherwise you can enable a php-log for the domain you guessed the script is on.
Just go to your /var/www/fcgi/<domain>/<phpVersion>/php.ini

Perhaps you can even try to use a different php version for that host...
05-01-2007 10:26 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)