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

« back to all changes in this revision

Viewing changes to README_FILES/TUNING_README

  • 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:
35
35
Other Postfix performance tuning topics:
36
36
 
37
37
  * Tuning the number of Postfix processes
 
38
  * Tuning the number of processes on the system
38
39
  * Tuning the number of open files or sockets
39
40
 
40
41
The following tools can be used to measure mail system performance under
412
413
        smtp      inet  n       -       -       -       10      smtpd
413
414
        . . .
414
415
 
 
416
TTuunniinngg tthhee nnuummbbeerr ooff pprroocceesssseess oonn tthhee ssyysstteemm
 
417
 
 
418
  * MacOS X will run out of process slots when you increase Postfix process
 
419
    limits. The following works with OSX 10.4 and OSX 10.5.
 
420
 
 
421
    MacOS X kernel parameters can be specified in /etc/sysctl.conf.
 
422
 
 
423
    /etc/sysctl.conf:
 
424
        kern.maxproc=2048
 
425
        kern.maxprocperuid=2048
 
426
 
 
427
    Unfortunately these can't simply be set on the fly with "sysctl -w". You
 
428
    also have to set the following in /etc/launchd.conf so that the root user
 
429
    after boot will have the right process limit (2048). Otherwise you have to
 
430
    always run ulimit -u 2048 as root, then start a user shell, and then start
 
431
    processes for things to take effect.
 
432
 
 
433
    /etc/launchd.conf:
 
434
        limit maxproc 2048
 
435
 
 
436
    Once these are in place, reboot the system. After that, the limits will
 
437
    stay in place.
 
438
 
415
439
TTuunniinngg tthhee nnuummbbeerr ooff ooppeenn ffiilleess oorr ssoocckkeettss
416
440
 
417
441
When Postfix opens too many files or sockets, processes will abort with fatal