3 messages in net.sourceforge.lists.courier-usersRe: [courier-users] timeout
FromSent OnAttachments
armin langhoferNov 15, 2005 1:48 am 
Sam VarshavchikNov 15, 2005 3:43 am 
armin langhoferNov 16, 2005 7:43 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [courier-users] timeoutActions...
From:armin langhofer (off@langhofer.at)
Date:Nov 16, 2005 7:43:42 am
List:net.sourceforge.lists.courier-users

1) maxperc was not set by gentoo. i added it to the config scripts so that pop3d comes up with:

-address=0 -stderrlogger=/usr/lib/courier-imap/courierlogger -stderrloggername=pop3d -maxprocs=80 -maxperip=20 -pid=/var/run/pop3d.pid -nodnslookup -noidentlookup -maxperc=40 110 /usr/sbin/pop3login /usr/sbin/courier-pop3d .maildir

my system is p2,4ghz celeron with 1gig ram.

ip upgraded the ram yesterday and after 20 hours uptime i get:

Cpu(s): 0.0% us, 0.0% sy, 0.0% ni, 100.0% id, 0.0% wa, 0.0% hi, 0.0% si Mem: 902880k total, 761996k used, 140884k free, 61536k buffers Swap: 3886156k total, 0k used, 3886156k free, 425344k cached

do you think that

-maxprocs=80 -maxperip=20 -maxperc=40

will fit?

2) i downloaded the sources and read them. i couldn't find any sequence that loggs the hitted limits. a grep for "maxper" in /var/log/messages did not return any result.

the sources of courier-imap-4.0.1 (which i am using) tcpd.c say:

---- snip ---- if (j >= sizeof(*addr) && ++ipcnt >= maxperip) _exit(0); /* Too many from same IP address */

if ( j >= sizeof(*addr)-1 && ++ccnt >= maxperc) _exit(0); /* Too many from same netblock */ ---- snip ----

regards, armin.

Sam Varshavchik schrieb:

armin langhofer writes:

the default value of courier is MAXPERIP:4. of course i changed this default to 8,99,700 but had no luck with that.

What about MAXPERC?

maybe the courier does not load the config file at startup? it is located with a standard gentoo-installation in /etc/courier-imap/pop3d

That's not the standard, default, location of Courier-IMAP's configuration files.

how can i dump the settings of a running courier to verify the maxperip parameter?

You can't, but if you're hitting either of those limits, the server will send a notice to syslog.