Apache Hanging / Not Serving Pages

The problem I am having is that Apache seems to stop serving pages after 1-2 hours of operation, but it doesn't actually crash. Restarting it "fixes" the problem temporarily, but then it stops serving once more. This started happening last week and I have not been able to find a permanent solution. Nothing changed in the config, and it has been working fine for over a year now.

From the apache error log:

PHP Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0

I've been getting this a lot. On some sites using file-based session management for PHP, I get the "unable to initialize storage module" PHP error. This seems to be related. Apparently this is an open bug within PHP...because nobody has posted a clear solution. There is plenty of disk space available and the memory in my server is plentiful. My main concern is making sure apache serves pages, and secondary is the session issue.

If anyone can help me fix this, I'd much appreciate it. Thanks!

 

 

 

 

Top