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.
--
armin langhofer
snail:  fischer von erlachstr. 29
snail:  a-5020 salzburg
phone:  +43 699 11648495
email:  [EMAIL PROTECTED]
gnupg:  http://langhofer.at/pubkey.txt

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.




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to