~ubuntu-branches/ubuntu/maverick/postfix/maverick-security

« back to all changes in this revision

Viewing changes to proto/TUNING_README.html

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones, Wietse Venema, LaMont Jones
  • Date: 2009-06-03 14:17:08 UTC
  • mfrom: (1.1.22 upstream)
  • Revision ID: james.westby@ubuntu.com-20090603141708-o9u59xlor7nmd2x1
[Wietse Venema]

* New upstream release: 2.6.2~rc1

[LaMont Jones]

* move postfix-add-{filter,policy} manpages to section 8, and deliver
* provide: default-mta on ubuntu

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
 
70
70
<li> <a href="#proc_limit">Tuning the number of Postfix processes</a>
71
71
 
 
72
<li> <a href="#proc_sys">Tuning the number of processes on the system</a>
 
73
 
72
74
<li> <a href="#file_limit">Tuning the number of open files or
73
75
sockets</a>
74
76
 
581
583
</pre>
582
584
</blockquote>
583
585
 
 
586
<h2><a name="proc_sys">Tuning the number of processes on the system</a></h2>
 
587
 
 
588
<ul>
 
589
 
 
590
<li> <p> MacOS X will run out of process slots when you increase
 
591
Postfix process limits. The following works with OSX 10.4 and OSX
 
592
10.5. </p>
 
593
 
 
594
<p> MacOS X kernel parameters can be specified in /etc/sysctl.conf.
 
595
</p>
 
596
 
 
597
<pre>
 
598
/etc/sysctl.conf:
 
599
    kern.maxproc=2048
 
600
    kern.maxprocperuid=2048
 
601
</pre>
 
602
 
 
603
<p> Unfortunately these can't simply be set on the fly with "sysctl
 
604
-w".  You also have to set the following in /etc/launchd.conf so
 
605
that the root user after boot will have the right process limit
 
606
(2048).  Otherwise you have to always run ulimit -u 2048 as root,
 
607
then start a user shell, and then start processes for things to
 
608
take effect. </p>
 
609
 
 
610
<pre>
 
611
/etc/launchd.conf:
 
612
    limit maxproc 2048
 
613
</pre>
 
614
 
 
615
<p> Once these are in place, reboot the system.  After that, the limits will 
 
616
stay in place. </p>
 
617
 
 
618
</ul>
 
619
 
584
620
<h2><a name="file_limit">Tuning the number of open files or sockets</a></h2>
585
621
 
586
622
<p> When Postfix opens too many files or sockets, processes will