#1  
Old 30th October 2009, 13:32
jonash jonash is offline
Junior Member
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Post smtpd process limit

I'm having a problem increasing the Postfix 2.5 smtpd process limit to 200. Here's what I have tried so far:

1)
/etc/postfix/main.cf:
Code:
default_process_limit = 200
2)
/etc/postfix/master.cf:
Code:
smtp      inet  n       -       -       -       200       smtpd
3)
/etc/postfix/master.cf:
Code:
smtp      inet  n       -       -       -       -       smtpd
   -o default_process_limit=200
During heavy traffic or simulation (stress test), the number of smtpd processes reaches the default limit, whereupon the server stops accepting new connections:

$ ps -u postfix | wc -l
101

N.B. There are no other bottlenecks in this state (according to 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:
Code:
postfix        soft    nproc   200
postfix        hard    nproc   300
Could any of you give me a hint, please?
Reply With Quote
Sponsored Links
  #2  
Old 31st October 2009, 20:06
jonash jonash is offline
Junior Member
 
Join Date: Oct 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default smtpd process limit [SOLVED]

Well, evidently the directives in limits.conf are completely ignored in our distribution/setup.

As a temporary solution, I placed "ulimit -u 300" in the Postfix init script.
300 smtpd processes can now be spawned, even though the process limit in master is only 200 (!).
Reply With Quote
Reply

Bookmarks

Tags
postfix smtp

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with my 'Perfect Server' chillifire Server Operation 3 6th January 2010 12:26
Attacks on MTA dclardy Installation/Configuration 4 29th September 2009 16:50
Squid Proxy Caching on Linux obzerver Installation/Configuration 4 13th August 2008 19:51
slow download through webserver problem snewp Technical 14 9th May 2008 05:25
Centos 4.4 32bit Hangs, High Server load 3cwired_com Server Operation 11 16th November 2006 15:47


All times are GMT +2. The time now is 19:00.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.