Thread: smtp process limit
i'm having problem increasing postfix 2.5 smtpd process limit 200. here's have tried far:
1)
/etc/postfix/main.cf:
2)code:default_process_limit = 200
/etc/postfix/master.cf:
3)code:smtp inet n - - - 200 smtpd
/etc/postfix/master.cf:
during heavy traffic or simulation (stress test), number of smtpd processes reaches default limit, whereupon server stops accepting new connections:code:smtp inet n - - - - smtpd -o default_process_limit=200
$ ps -u postfix | wc -l
101
n.b. there no other bottlenecks in state (according atop).
error messages:
warning: process /usr/lib/postfix/smtpd pid 25834 exit status 1
warning: /usr/lib/postfix/smtpd: bad command startup -- throttling
setuid(105): resource temporarily unavailable
/etc/security/limits.conf:
could of give me hint, please?code:postfix soft nproc 200 postfix hard nproc 300
well, evidently directives in limits.conf ignored in our distribution/setup.
temporary solution, placed "ulimit -u 300" in postfix init script.
300 smtpd processes can spawned, though process limit in master 200 (!).
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] smtp process limit
Ubuntu
Comments
Post a Comment