memory question
Hey
Im having a CentOS server with 2GB memory that is currently getting loads of traffic to the websites it's hosting, so much that i can se the memory spike to about 100% most of the time in htop, is there some way i can se if this is cause any kind of problem for the server itself ? i se a lot of [Mon Feb 28 06:18:57 2011] [notice] Graceful restart requested, doing restart in the error logs, is the memory issue causing it ? |
Maybe a script requires too much memory.
What else are you using on this server? cPanel? Webmin? Whatever? |
Seems correct. 2G ram on a server running a hit web server would be trashed.
It should never request a shutdown. I'd look at temps. |
Nope, jefro, the server is not requesting a shutdown: it's a warning of apache that encounter some memory leak and request a "graceful restart".
A graceful restart of apache can be done without completely restarting httpd: "The USR1 or graceful signal causes the parent process to advise the children to exit after their current request (or to exit immediately if they're not serving anything)." From: http://httpd.apache.org/docs/2.0/stopping.html#graceful In this way httpd can keep itself alive and working without having a real stop or service failure. |
All times are GMT -5. The time now is 12:09 PM. |