开发者

APC doesn't free memory

开发者 https://www.devze.com 2023-02-06 01:42 出处:网络
Since I installed the APC and am using it for a file upload with progr开发者_JS百科ess display, the memory use of my server exploded, it seems that every uploaded file keeps in the memory forever.That

Since I installed the APC and am using it for a file upload with progr开发者_JS百科ess display, the memory use of my server exploded, it seems that every uploaded file keeps in the memory forever.


That's the problem with "persistent" caches.... they're persistent.

You can set a "timeout" for APC entries when you store the entry, or you can manually remove any entry when it is no longer required. APC will also be cleared if the server is restarted.

In this case, you should probably remove the entry in your upload handling code.

0

精彩评论

暂无评论...
验证码 换一张
取 消