2009/9/24 Stuart Henderson <[email protected]>:
> relayd already sets the limit as high as the login class allows.
>
> for daemons started from /etc/rc or by root the class is normally
> "daemon", so you might want to add a higher openfiles-max for daemon
> to login.conf (the default isn't in the file, but seems to be 1024).

Thanks for your reply,

That is quite intriguing, cause my login.conf (4.5 stable) says:

# Settings used by /etc/rc and root
# This must be set properly for daemons started as root by inetd as well.
(...)
daemon:\
(..)
        :openfiles-cur=128:\

 and indeed increasing this value solved the problem.

> N.B. with this many checks you might bump into PR 6165.

Thanks - I already did, but luckily I can live with that - there is enough
servers  to let one or two slip every now and then.

Btw, I am very impressed with relayd - it turned out to be a fantastic
piece of software. Extremely stable and it is not sitting idle: ;)
        total: 1600835 sessions
        last: 1769/60s 1769/h 3678430/d sessions
        average: 1735/60s 113301/h 1339257/d sessions

Cheers,
-- 
Marcin

Reply via email to