Re: [squid-users] logfileWrite: c:/squid/log/store.log: (13) Permission denied after storeDirWriteCleanLogs (Squid 2.5 on Windows 2000)

From: Serassio Guido <guido.serassio@dont-contact.us>
Date: Sun, 10 Aug 2003 15:27:28 +0200

Hi,

At 12.51 09/08/2003, Serassio Guido wrote:
>Hi Henrik,
>
>At 19.36 07/08/2003, Henrik Nordstrom wrote:
>
>>On Thursday 07 August 2003 19.22, Serassio Guido wrote:
>>
>> > There is a know problem in SquidNT: sometimes the UDP communication
>> > between squid.exe and pinger.exe fails to signal the shutdown to
>> > the helper and pinger.exe don't exit.
>> > The effect is that there are 2 pinger.exe running process and
>> > logfiles can be locked from the orphaned process. Killing the
>> > orphan pinger.exe fix the problem.
>>
>>Only cache.log should be open by the helpers. The other files used by
>>Squid should not be kept open by helpers.
>
>You are right:
>
>On Windows all TCP based helpers works fine, but the UDP based seems to
>inherits the open file handles from the parent process when squid.exe fails.
>
>There is a bug somewhere in the Windows IPC code.

There are two distinct problems here:

1 - Windows handles are inherited from child helpers, this is wrong, and
now is fixed.
2 - UDP based helpers don't detects properly Squid shutdown and not
terminate itself. Now it should be fixed too.

Markus: If you want, I can send You a test binary build, if yes, please
tell me what build type You need (standard, delay pools, extdns).

Regards

Guido

-
========================================================
Guido Serassio
Acme Consulting S.r.l.
Via Gorizia, 69 10136 - Torino - ITALY
Tel. : +39.011.3249426 Fax. : +39.011.3293665
Email: guido.serassio@acmeconsulting.it
WWW: http://www.acmeconsulting.it/
Received on Sun Aug 10 2003 - 07:28:00 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:20:27 MST