[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: server memory & swap eaten up then freaks out



On Tue, 2009-04-28 at 20:16 +0100, Pete Boyd wrote:

> Before seeing this issue, this server has run fine for two years with
> Sarge, and fine for a couple of months with Etch. Thunderbird 2 was
> installed on workstations in December. Other than that barely any changes
> have been made and nothing jumps out at me as a meaningful change.
> ...other than a faulty web app that emailed 50GB of small emails, that
> have been manually removed at the command-line from a .Trash maildir
> directory with rm so as far as I can imagine are long gone.
> 
> If anyone can suggest which way I should progress with this that would be
> really appreciated thanks.

Play with the settings until they fit your needs. The dovecot.conf is
very well documented.

> # Number of login processes to keep for listening new connections.
login_processes_count = 3
> 
> # Maximum number of login processes to create. The listening process count
> # usually stays at login_processes_count, but when multiple users start
> logging
> # in at the same time more extra processes are created. To prevent
> fork-bombing
> # we check only once in a second if new processes should be created - if all
> # of them are used at the time, we double their amount until the limit set by
> # this setting is reached.
login_max_processes_count = 64
> 
> # Maximum number of connections allowed per each login process. This setting
> # is used only if login_process_per_connection=no. Once the limit is reached,
> # the process notifies master so that it can create a new login process.
> # You should make sure that the process has at least
> # 16 + login_max_connections * 2 available file descriptors.
login_max_connections = 128

Frank


Reply to: