Jump to content

XCache problems and questions


Recommended Posts

Hello ! :)

Regarding XCache, can you tell me if it works better with the highest possible value for xcache.size ? Or should xcache.size be set to a reasonnable value in any case ?

I'm asking this because :
- I had OOms when xcache.size was set at 64M. So I decided to increase xcache.size up to 96M.
- when looking at the administration panel, I notice that there are blue and green bars :
post-16027-0-95288900-1294815686_thumb.p
but after some time, when the bars are near to be filled, everything is cleared :
post-16027-0-86805000-1294816061_thumb.p
Is this normal ?

Thank you for your help ! :)

Link to comment
Share on other sites

You are right. I saw in /usr/local/apache/logs/error_log that Apache is being restarted about 14 times each day... Example :


[Fri Jan 07 00:15:52 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 02:12:59 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 04:09:51 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 06:06:35 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 08:03:20 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 10:00:09 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 12:13:41 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 13:12:35 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 14:05:53 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 16:02:50 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 18:16:25 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 20:13:28 2011] [notice] Graceful restart requested, doing restart


[Fri Jan 07 22:10:37 2011] [notice] Graceful restart requested, doing restart




The complete error message is :

[Thu Jan 13 20:05:54 2011] [notice] Graceful restart requested, doing restart


[Thu Jan 13 20:05:54 2011] [warn] WARNING: Attempt to change ServerLimit ignored during restart


[Thu Jan 13 20:05:54 2011] [notice] Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.9 configured -- resuming normal operations



The Apache uptime isn't changed in spite of all the restarts.

What should I do then ?...

Thank you for your help ! :).
Link to comment
Share on other sites

The way you said things seems like a cron is controlling the apache restars due to it being gracefull, If there were any errors it would show as --force.

The only other alternate is the timeout for apache, If this is to low and many things are running during that time then it would restart.

Try running:

/scripts/fixeverything



And see how that goes, Another thing is if your online and it does a restart quickiy check the messages and post the output:

tail -f /var/log/messages



This would show if anything other than apache is causing it.

Are you running cPanel, If so run the following:

/scripts/upcp --force

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...