Re: [squid-users] Squid sometimes failed on boot but it work

From: Paolo De Marco <paolo.demarco@dont-contact.us>
Date: Tue, 26 Sep 2006 11:56:04 +0200

Hi,
i have check but the pid is correct on all servers.
This week only 2 server was affected by this problem.
I can't understand why...
This is the output from one server who has the problem

ps ax | grep squid
  5671 ? S 0:00 squid -D
  5674 ? S 7:06 (squid) -D
  5802 pts/0 S 0:00 grep squid

cat /var/run/squid.pid
5674

Henrik Nordstrom ha scritto:
> mån 2006-09-11 klockan 11:12 +0200 skrev Paolo De Marco:
>> The problem is still present... any idea?
>
> Make sure old pid files are removed on reboot. If old pid files is
> allowed to surive a reboot then chances are very high the same pid has
> been reused for something else.
>
> Tp verify all you need to do is to examine the content of the pid file,
> and check if there is a currently running process with the same pid. If
> it is, and it's not Squid then the pid file is stale and should not have
> survived the reboot.
>
> Regards
> Henrik

-- 
Paolo De Marco
Received on Tue Sep 26 2006 - 03:56:11 MDT

This archive was generated by hypermail pre-2.1.9 : Sun Oct 01 2006 - 12:00:04 MDT