Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am on LAMP with Alternative PHP Cache. It worked fine until yesterday when I updated the website and changed a few mySQL queries (I don't see the how it would affect APC opcode cache)

Today I see that the load has increased on the server and I see in Alternative PHP Cache, that the uptime of APC is somewhere around 15 minutes then it gets restarted.

At this point the APC cache is only about 20% full of the available 30Mb. Using for opcode cache only. During this 15 minutes the cache works fine (99,8% cache hits). After this unwanted restart the APC cache is empty. Why is it restarting? Where can I find the logs for it?

Thanks, Hamlet

share|improve this question
It always restarts after 16 minutes – hamlet Jan 14 '10 at 12:42
I see this in the apache logs [Thu Jan 14 13:41:14 2010] [notice] Graceful restart requested, doing restart [Thu Jan 14 13:41:15 2010] [notice] Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/ PHP/5.2.8 configured -- resuming normal operations – hamlet Jan 14 '10 at 12:52
fixed it, it was a cpanel update that caused apache to restart gracefully every 15 minutes because of logrotation... – hamlet Jan 14 '10 at 13:41
Heh, 15 minute log rotation. Updates can be annoying. Had APC knocked out altogether last month due to one. – Fiasco Labs Apr 30 '12 at 15:26

Check cpanel and see if that is causing apache to restart.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.