About month ago I started to have troubles with my proxy server running squid. Squid sometimes dies with message 2005/03/12 13:38:15| assertion failed: store.c:523: "e->store_status == STORE_PENDING" 2005/03/12 13:38:18| Starting Squid Cache version 2.5.STABLE9 for i686-pc-linux-gnu... and usually squid autorestarts but not always :( It happens with several versions of squid (2.5.7-2.5.9). I asked on forums and it was said that it is known problem (look at the link). Reproducible: Sometimes Steps to Reproduce: 1. 2. 3.
From what version did your problems began? Does rebuild of cache solve your problem? (/etc/init.d/squid stop; rm -rf /var/cache/squid/*; /etc/init.d/squid start) What cache_dir do you have?
Problems began from 2.5.7, rebuilding cache didn't help. cache_dir ufs /var/cache/squid 3600 32 256
please try following quick fix: cache_dir diskd /var/cache/squid 3600 32 256
did comment #3 fixed your problem?
Sorry, I haven't tryed this fix because I already quickfixed it other way: if (e->store_status != STORE_PENDING) return; and I don't want to play with this box and I don't know how to reproduce problem to check your fix on other box...
then I can't do a thing since you are the only one having this problem.
ha-ha... http://www.squid-cache.org/bugs/show_bug.cgi?id=1368