Now update to 2.10. J It's the current stable release and IIRC 2.9 was
considered experimental.
--
Mike Gill
From: dansguardian@yahoogroups.com [mailto:dansguardian@yahoogroups.com] On
Behalf Of Scot Heidelbach
Sent: Wednesday, July 08, 2009 9:11 AM
To: dansguardian@yahoogroups.com
Subject: [dansguardian] Re: Cannot increase maxchildren (2.9.8.5 on OpenBSD
4.5)
After hours of tweaking kernel parameters, I finally found the ones holding
DansGuardian back. I originally thought the problem was related to sockets
or file descriptors, but it ended up being shared memory. I added the
following lines to /etc/sysctl.conf and I've been able to successfully
increase maxchildren:
kern.shminfo.shmmni=512
kern.shminfo.shmseg=512
Chuck & Mike... Thanks for replying and providing suggestions!
Scot
--- In dansguardian@yahoogroups.com <mailto:dansguardian%40yahoogroups.com>
, "Scot Heidelbach" <sheidelbach@...> wrote:
>
> I'm running DansGuardian (2.9.8.5p3 port) on OpenBSD 4.5. It runs well
with the default configuration, but I would like to increase maxchildren to
180. Unfortunately, DansGuardian fails whenever I increase this value above
127. The failure occurs at line 2163 in FatCrontroller.cpp. Here are the
last few lines from the system log:
>
> Jun 22 14:54:13 firestop dansguardian[5545]: Started sucessfully.
> Jun 22 14:54:13 firestop dansguardian[5545]: Error polling child process
sockets
> : Invalid argument
> Jun 22 14:54:13 firestop last message repeated 29 times
> Jun 22 14:54:13 firestop dansguardian[15408]: Child has handled 500
requests and is exiting
> Jun 22 14:54:13 firestop dansguardian[21530]: Child has handled 500
requests and is exiting
> Jun 22 14:54:13 firestop dansguardian[16375]: Child has handled 500
requests and is exiting
> Jun 22 14:54:13 firestop dansguardian[32506]: Child has handled 500
requests and is exiting
> Jun 22 14:54:13 firestop dansguardian[17304]: Child has handled 500
requests and is exiting
> Jun 22 14:54:13 firestop dansguardian[7442]: Child has handled 500
requests and is exiting
> Jun 22 14:54:13 firestop dansguardian[21473]: Child has handled 500
requests and is exiting
> Jun 22 14:54:13 firestop dansguardian[30763]: Child has handled 500
requests and is exiting
> Jun 22 14:54:16 firestop dansguardian[5545]: Exiting due to high failure
count.
> Jun 22 14:54:16 firestop dansguardian[5545]: Main parent process exiting.
> Jun 22 14:54:16 firestop dansguardian[5545]: Exiting with error
>
> 2 stale processes are left running after it exits. It seems to be related
to system resources, but I see no indication of the server running low on
memory, CPU, etc. I tried increasing kern.somaxconn from 128 to 256, but
this did not help. Does anyone know of any other limits on OpenBSD that
could be causing this error?
>
> Thanks in advance!
[Non-text portions of this message have been removed]