The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > Linux > Ubuntu
.
google unix.com



Ubuntu Ubuntu is a complete desktop Linux operating system, freely available with both community and professional support.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to limit output bobk544 Shell Programming and Scripting 2 03-02-2009 11:20 AM
Process limit on OS level giriplug AIX 2 06-16-2008 06:16 AM
Alert When a Process Exceeds a CPU Utilization Limit... pbsrinivas Shell Programming and Scripting 4 06-20-2007 08:38 AM
upper limit of accessible memory space for a single process in Unix/Linux cy163 UNIX for Dummies Questions & Answers 1 04-30-2007 10:09 AM
tar 2GB limit SLKRR Filesystems, Disks and Memory 9 12-04-2006 03:19 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 3 Weeks Ago
jonash jonash is offline
Registered User
  
 

Join Date: Oct 2009
Posts: 1
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?

---------- Post updated 10-31-09 at 02:06 PM ---------- Previous update was 10-30-09 at 05:56 PM ----------

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

Bookmarks

Tags
smtp postfix

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:50 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0