this is a funny thread
because of guess, kind of, probalbly and other similar "numbers" ...
you also do not need to rebuild your cache because the squid process
died
so what do you think about telling us:
- how much RAM you PC has
- output of df -h
- output of top -d1 when squid is running
and the following squid.conf parm lines
cache_mem
maximum_object_size
maximum_object_size_in_memory
cache_dir
and with some luck you get your problem solved if it is a config issue
if you do not feel confortable with my questions you may check if you
configured more cache_dir you definitly have or more mem you
definitly have, so downsize your config to fit your real values and
you may get lucky
anyway, you may add the following line to your RunCache or any other
squid start script to workaround this particular cache squid-problem
#########
if [ -r /usr/local/squid/var/logs/squid.pid ]; then
case ${squid_pid_del} in
[Yy][Ee][Ss])
rm /usr/local/squid/var/logs/squid.pid
;;
*)
echo "Squid was not shut down clean. Check squid.pid"
;;
esac
echo
fi
############
this is working using sh and may need some tweak for bash shells on
linux but I gues the idea is clear if not ask me
in this case using FreeBSD or any rc.conf reading in '. /etc/rc.conf'
at the beginning of RunCache or Your_Srcipt you need to add a line in
rc.conf as
squid_pid_del="YES"
to make this work but you may set this value at the beginning of your
RunCache to make it work as well
if you like to get a complete squid start and stop script for not
getting dirty cash dirs any more ask me
Hans
On Wednesday 24 August 2005 16:00, John R. Van Lanen, Network
Operations - TCCSA wrote:
> I'm running Redhat ES 3.0,
>
> Running Squid Stable 2.5 ver 3 that comes with the Redhat ES 3.0
>
> The issue I have is that squid will stop dead,
>
> Do a squid status and it shows
>
> squid dead but pid file exists
> squid: ERROR Could not send signal 0 to process 5530: (3) No such
> process,
>
> Have seen this before, restart squid or rebooting solves the issue
> for awhile, but, under load it occurrs again.
>
> The 5530 process number changes.
>
> Cache.log shows nothing but normal stuff.
>
> Searching the net shows others with the same issues but can't find
> a solution.
>
> Have tried blowing away the cache directory and doing a squid -z,
> it's like there is a process number written to the PID but then it
> hangs or goes away so as soon as it trys to access the number from
> the PID, the process is gone, squid dies. If you could even point
> me in any direction it's more than I have now.
>
>
> Let me know if you can help. Thanks.
> ___________________________________________________________________
>___________
>
> | John R. Van Lanen, Manager of Network Operations Voice: (330)
> | 264-6047 | Tri-County Computer Services Association (TCCSA)
> | Fax: (330) 264-5703 | "Do not meddle in the affairs of
> | dragons, E-mail:vanlanen@TCCSA.NET| because you are
> | crunchy and taste good with ketchup" |
>
> -------------------------------------------------------------------
>-----------
>
>
>
>
>
>
>
> A mensagem foi scaneada pelo sistema de e-mail e pode ser
> considerada segura. Service fornecido pelo Datacenter Matik
> https://datacenter.matik.com.br
-- Infomatik Internet Technology http://www.matik.com.br A mensagem foi scaneada pelo sistema de e-mail e pode ser considerada segura. Service fornecido pelo Datacenter Matik https://datacenter.matik.com.brReceived on Mon Aug 29 2005 - 18:34:42 MDT
This archive was generated by hypermail pre-2.1.9 : Thu Sep 01 2005 - 12:00:03 MDT