How to prevent Apache hangs when PHP APC cache completely fills up? -
when apc cache full, hangs apache. apache responds requests, waits forever apc cache free resources, never happen.
i run every 10 minutes cron job own small expunge script, deletes expired entries apc. ok, add more memory apc and/or run expunge script more often. that's not real solution, looking new way how deal issue.
i find setting ttl changes apc's behavior when cache full. default, if ttl 0, apc has empty cache when gets full. manual:
in event of cache running out of available memory,the cache expunged if ttl equal 0. otherwise, if ttl greater 0, apc attempt remove expired entries.
Comments
Post a Comment