Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 10-30-2009, 10:18 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 2

Rep: Reputation: 0
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:

default_process_limit = 200
smtp      inet  n       -       -       -       200       smtpd
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

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

postfix        soft    nproc   200
postfix        hard    nproc   300
Could any of you give me a hint, please?
Old 10-31-2009, 03:06 PM   #2
LQ Newbie
Registered: Oct 2009
Posts: 2

Original Poster
Rep: Reputation: 0
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 (!).


postfix, smtp

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with Postfix (process smtpd exit status 1) breiko Linux - Server 18 03-26-2008 03:02 PM
ip limit for a user in any process ysar68 Linux - Security 3 05-10-2007 09:56 AM
Limit disk I/O for a process matiasquestions Linux - Software 3 01-26-2006 10:50 AM
Linux process limit kangaman Linux - General 4 10-14-2004 03:48 PM
max process limit anoop_chandran Linux - Networking 2 01-16-2002 06:22 AM

All times are GMT -5. The time now is 02:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration