Re: [squid-users] SQUID Logrotate problem

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Sat, 23 Jul 2011 01:59:38 +1200

On 23/07/11 00:50, Will Roberts wrote:
> Hi Amos,
>
> On Fri, Jul 22, 2011 at 12:32 AM, Amos Jeffries<squid3_at_treenet.co.nz> wrote:
>> Can you check the contents of the squid.pid file vs the processes that are actually running between step (6) and (7).
>
> Sure, here are the processes after each step that would cause a change:
>
> Step 3:
> 1879 ? Ss 0:00 /usr/sbin/squid3 -YC -f /etc/squid3/squid.conf
> 1881 ? S 0:00 (squid) -YC -f /etc/squid3/squid.conf
> 1890 ? S 0:00 (digest_pw_auth) -c /etc/squid3/digest
>
> Step 5:
> 1879 ? Ss 0:00 /usr/sbin/squid3 -YC -f /etc/squid3/squid.conf
> 1881 ? S 0:00 (squid) -YC -f /etc/squid3/squid.conf
> 1890 ? S 0:00 (digest_pw_auth) -c /etc/squid3/digest
>
> Step 7:
> 1879 ? Ss 0:00 /usr/sbin/squid3 -YC -f /etc/squid3/squid.conf
> 1881 ? S 0:00 (squid) -YC -f /etc/squid3/squid.conf
> 2237 ? S 0:00 (digest_pw_auth) -c /etc/squid3/digest
>
> And the pid file never changed from 1881. Let me know if you want an
> strace or anything else.
>
> --Will

I'm out of ideas for now. I suspected the old issue of PID left pointing
at the crashed/gone process, but seems we did really fix that one.

So it comes down to why the automated rotate was crashing in the first
place.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE9 or 3.1.14
   Beta testers wanted for 3.2.0.9
Received on Fri Jul 22 2011 - 13:59:44 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 22 2011 - 12:00:03 MDT