Re: Any takers on Bug #1703? (diskd stuck at 100% CPU)

From: Henrik Nordstrom <henrik@dont-contact.us>
Date: Mon, 31 Jul 2006 01:51:28 +0200

sön 2006-07-30 klockan 09:56 +0200 skrev Guido Serassio:

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

A quite large but nonintrusive patch applied to detect this early,
refusing to start at all.

> The problem seems to be into ipcCreate():

Yes and no.

Helpers existence are supposed to be verified early in the startup to
alert on stupid errors. But ipcCreate() could do better..

> 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() ?

Did a similar thing like you proposed in the patch, but as a fatal
error.

Regards
Henrik

Received on Sun Jul 30 2006 - 17:51:35 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Aug 01 2006 - 12:00:02 MDT