Search the web
Sign In
New User? Sign Up
dansguardian · A public mailing list to discuss all aspects of DansGuardian
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Cannot increase maxchildren (2.9.8.5 on OpenBSD 4.5)   Message List  
Reply | Forward Message #23011 of 23414 |
RE: [dansguardian] Re: Cannot increase maxchildren (2.9.8.5 on OpenBSD 4.5)

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]




Thu Jul 9, 2009 9:08 pm

lists2@...
Send Email Send Email

Forward
Message #23011 of 23414 |
Expand Messages Author Sort by Date

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....
Scot Heidelbach
sheidelbach
Offline Send Email
Jun 23, 2009
4:44 pm

This might be fixed by adjusting sysctl kern.maxproc=1024 I think the default is 600. Also, 2.9 is considered depreciated and 2.10 is what you should be...
Mike Gill
lists2@...
Send Email
Jun 29, 2009
7:48 pm

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...
Scot Heidelbach
sheidelbach
Offline Send Email
Jul 8, 2009
4:11 pm

... I've tried to capture this important information "for the next guy", partly in...
Chuck Kollars
ckollars9
Offline Send Email
Jul 9, 2009
3:10 am

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...
Mike Gill
lists2@...
Send Email
Jul 9, 2009
9:09 pm

Sorry to reopen the topic, but how much RAM do you have on yours OpenBSD machines and which processor? Nowadays I'm running DansGuardian 2.9.8.5 port's version...
Sergio Charpinel Jr.
sergiocharpinel@...
Send Email
Aug 25, 2009
2:13 pm

2009/8/25 Sergio Charpinel Jr. <sergiocharpinel@...> ... Sorry, AMD semprom 3600+ , 2x 512 RAM ... -- Sergio Roberto Charpinel Jr. [Non-text portions of...
Sergio Charpinel Jr.
sergiocharpinel@...
Send Email
Aug 25, 2009
2:55 pm

1GHz Intel PIII w/ 512Mb of mem. Was a 533MHz Celeron w/ 128Mb before, but I had the extra parts so I upgraded. :) -- Mike Gill From:...
Mike Gill
lists2@...
Send Email
Aug 25, 2009
11:27 pm

Very nice article Chuck. I'll upgrade dansguardian. Thanks for the information. 2009/8/25 Mike Gill <lists2@...> ... -- Sergio Roberto...
Sergio Charpinel Jr.
sergiocharpinel@...
Send Email
Aug 26, 2009
1:11 am

Sorry to revive the topic, but something came to my mind and I'd like to ask. Is there any link between people who have problem with dansguardian on ...
Sergio Charpinel Jr.
sergiocharpinel@...
Send Email
Sep 16, 2009
12:18 pm

Dansguardian is working fine now , here on OpenBSD4.5. I changed some recommended sysctl conf: sysctl kern.shminfo.shmseg=512 - 128 -> 512 sysctl...
Sergio Charpinel Jr.
sergiocharpinel@...
Send Email
Sep 21, 2009
12:45 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help