Hi Steven,

At 07.21 30/07/2006, Steven wrote:

I have just found another bug.   I have ended up in the situation where
squid has not stared the diskd processes (because the binary is called
diskd-daemon not diskd_daemon).  Squid is not serving any web pages,
and will not stop because of this, but is is stuck in a loop doing the
following:

epoll_wait(3, {}, 256, 10)              = 0
gettimeofday({1154236711, 528040}, NULL) = 0
msgrcv(1409029, {0,
"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"...}, 32, 0,
IPC_NOWAIT) = -1 ENOMSG (No message of desired type)
epoll_wait(3, {}, 256, 10)              = 0

I think that likely you have found the problem, look the log attached to this Squid bug on Debian opened by the same people:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380020

2006/07/26 16:52:21| ipcCreate: /usr/lib/squid/diskd_daemon: (2) No such file or directory

The problem seems to be into ipcCreate():
Currently only the child can know if the program to be launched exist.
What about about to add a check of the existence of the program before fork() ?

Regards

Guido



-
========================================================
Guido Serassio
Acme Consulting S.r.l. - Microsoft Certified Partner
Via Lucia Savarino, 1           10098 - Rivoli (TO) - ITALY
Tel. : +39.011.9530135  Fax. : +39.011.9781115
Email: [EMAIL PROTECTED]
WWW: http://www.acmeconsulting.it/

Reply via email to