[milters] Archive

Lists Index Date Thread Search

Article: 1057
From: Sebastian Hagedorn
Date: 2006-07-20 03:31:33 -0400
Subject: Changes to startup script for high-load servers

Removal...........: milters-request@milter.info?subject=remove
More information..: http://www.milter.info/#Support
--------------------------------------------------------

--==========AA8E6637FD6264AB4FE2==========
Content-Type: text/plain; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

I wanted to share our local modifications to the startup script for=20
milter-ahead. We have four servers in a load-balanced clusters. Each of the =

nodes gets up to 300 or more simultaneous milter connections. With the=20
original startup script that did not work, because thread_create() would=20
start to fail. I found that decreasing the stack size helps with that. So=20
now we set

ulimit -s 2048

prior to starting milter-ahead. We have also found that niceing the process =

improves system performance, because that way the milter threads don't=20
block system jobs, e.g. network traffic. So now we start the process like=20
this:

nice -n 15 $PROGRAM $OPTIONS

This is under RHEL 3.

Cheers, Sebastian Hagedorn
--=20
     .:.Sebastian Hagedorn - RZKR-R1 (Geb=E4ude 52), Zimmer 18.:.
Zentrum f=FCr angewandte Informatik - Universit=E4tsweiter Service RRZK
.:.Universit=E4t zu K=F6ln / Cologne University - Tel. +49-221-478-5587.:.
                   .:.:.:.Skype: shagedorn.:.:.:.
--==========AA8E6637FD6264AB4FE2==========
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (Darwin)

iD8DBQFEvzFVGXsGmU0QW0URAtYDAKCNDeTqTRa4Y8PikFpCvr2u6cCAFgCgqJao
NVbMtZIHc3CmKTTbXFJ5Zp4=
=gbPH
-----END PGP SIGNATURE-----

--==========AA8E6637FD6264AB4FE2==========--


Lists Index Date Thread Search