[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: load average question



On Mon, 25 Nov 2002, Sonny Kupka wrote:

> pop-3           stream  tcp     nowait.200      root    /usr/sbin/tcpd 
> /usr/sbin/in.qpopper -R -B -f /etc/qpopper.conf
> 
> Key being: nowait.200

xinetd uses different configurations than inetd.

Some parts of my configs:

# - added cps for 50 seconds and wait 15 seconds
# - added 200 processes running at a time
# - added --timeout 1200 (due to bad clients that don't close session
#                         and keep ESTABLISHED state alive)
        instances               = 200
        cps                     = 50 15
        server                  = /usr/local/sbin/vm-pop3d
        server_args             = -i --timeout 1200

cps is the incoming connection limiter: connections per second to handle
(and number of seconds to wait before re-enabling after disabled).

instances if for simultaneous active servers.

xinetd also can be customized for limits per source IP and load average
and more.

(But inetd works well for me.)

  Jeremy C. Reed
......................................................
     ISP-FAQ.com -- find answers to your questions
     http://www.isp-faq.com/



Reply to: