Re: [APC-DEV] APC doesn't free file handles
[email protected] (Stefan Stammler) Fri, 08 Dec 2006 23:48:21 +0100
| Newsgroups | php.apc.dev |
|---|---|
| Message-ID | <[email protected]> |
Hello, the number of httpds varies between 20 and 40, MaxClients is 80, MaxRequestsPerChild is default (0). OS is Linux 2.6.15. APC has been configured without options. The only apc setting in php.ini is "apc.gc_ttl=5400", the rest is default. I'm sending a USR1 to Apache once per hour for log rotation. Thanks so far... Steve Brian Shire wrote: > > Hello Steve, > > How many apache processes do you have running? What is your > MaxRequestsPerChild and MaxClients setting in Apache? Can you send us > your apc ini configurations and apc ./configure options? What is your > operating system? > > Thanks, > > -shire > > On Dec 8, 2006, at 1:27 AM, Steve wrote: > >> >> Hello, I hope this is the right place for this, I didn't find any other >> APC related group or list... >> >> I regularly experience my Apache web servers using APC to run out of >> file descriptors. Apache complains about "Too many open files". >> >> When I issue "lsof", I get thousands (literally!) of entries like this >> one: >> >> ...... /tmp/.apc.QVkXXK (deleted) >> >> So it seems APC does not free the file handles for some of its temporary >> files, although they have been deleted. Restarting Apache frees the >> files then, of course. >> >> I'm using Apache 1.3.37, PHP 5.2.0 and APC 3.0.12. >> The APCs have an average of 10 to 20 million hits per day each.