Created attachment 551439 [details] cachemgr memory usage Description of problem: My squid process is dying every aprox. 2-3 hours with out-of-memory problems. Version-Release number of selected component (if applicable): squid-3.2.0.14-1.fc16.i686 (previous version too) How reproducible: every 2-3 hours Steps to Reproduce: My squid memory settings: cache_mem 256 MB cache_dir ufs /var/spool/squid/ 5500 16 256 Actual results: Jan 8 10:27:14 servername t of memory [31344] Jan 8 11:08:42 servername t of memory [7606] Jan 8 14:07:21 servername t of memory [11425] Jan 8 15:00:43 servername t of memory [26815] Jan 8 15:23:44 servername t of memory [14888] Jan 8 18:18:56 servername t of memory [14821] Jan 8 18:33:45 servername t of memory [23481] Jan 8 18:43:24 servername t of memory [29527] Jan 8 19:03:42 servername t of memory [1145] Jan 8 19:45:44 servername t of memory [10164] Expected results: Running squid. Additional info: See attached cachemgr memory usage. mem_node is growing to 2 GB limit, which is limit on 32bit systems. With Fedora 14 everything worked well, after update to Fedora 16 my squid id dying.
Could you provide more info - /var/log/squid/cache.log (use debug_options), eventually backtrace.
Created attachment 555833 [details] cache.log As you wish, here is cache.log. Tell me if I can do more. debug_options ALL,1 Some possible sensitive information has been removed.
There is a pending patch upstream which most likely fixes this. (mem_node temporarily growing without bounds)
If you can build squid with this patch, I can test it. Btw, why there is a beta version of squid in Fedora?
The patch have not been merged into 3.2 yet, but hopefully there is a rawhide build soon in http://koji.fedoraproject.org/koji/taskinfo?taskID=3709795 The reason why there is a beta release of Squid in Fedora 16 is that the Squid 3.2 release process have taken longer than expected and 3.2 was already in rawhide when F16 branched.
(In reply to comment #5) > The patch have not been merged into 3.2 yet, but hopefully there is a rawhide > build soon in http://koji.fedoraproject.org/koji/taskinfo?taskID=3709795 Looks to be better. mem_node stopped growing at aprox. 1049498 kB. Please, can you push this version to Fedora 16 too?
squid-3.2.0.14-2.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/FEDORA-2011-17376/squid-3.2.0.14-2.fc16
Package squid-3.2.0.14-2.fc16: * should fix your issue, * was pushed to the Fedora 16 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing squid-3.2.0.14-2.fc16' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-17376/squid-3.2.0.14-2.fc16 then log in and leave karma (feedback).
squid-3.2.0.15-1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/squid-3.2.0.15-1.fc16
squid-3.2.0.15-1.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report.