[Dovecot] Can`t get over 1024 processes
Timo Sirainen
tss at iki.fi
Mon Sep 17 18:26:10 EEST 2012
It doesn't work like that with Dovecot. ulimit -u 8192 must be run just before dovecot binary is started. ulimits elsewhere are irrelevant.
On 17.9.2012, at 18.24, Tomáš Randa wrote:
> On FreeBSD in standard behavior is basic user limit set by sysctl kern.maxprocperuid, which is standard to 5547 and I increased it to 8192. When I run under UID 89 limit command or ulimit -u I get answer:
>
> cputime unlimited
> filesize unlimited
> datasize 33554432 kbytes
> stacksize 524288 kbytes
> coredumpsize unlimited
> memoryuse unlimited
> vmemoryuse unlimited
> descriptors 36864
> memorylocked unlimited
> maxproc 8192
> sbsize unlimited
> swapsize unlimited
>
>
> Could It be some dovecot vs. freebsd related error? Or I "dont see" anything? :)
>
>
> Thanks for your time
>
> Tomas R.
>
>
> Dne 17.09.12 17:16, Timo Sirainen napsal(a):
>> Where did you set the ulimit -u? It doesn't seem to be used by Dovecot processes. In any case there's nothing in dovecot.conf that can help you.
>>
>> On 17.9.2012, at 18.10, Tomáš Randa wrote:
>>
>>> Hello,
>>>
>>> thanks for answer! I know that message come from kernel. But I have set ulimit -u to 8192 for uid 89, so I think I forgot to increase some value in dovecot.conf..
>>>
>>>
>>> Tomas R.
>>>
>>>
>>> Dne 17.09.12 16:46, Timo Sirainen napsal(a):
>>>> On 17.9.2012, at 17.40, Tomáš Randa wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I have configuration question. Running FreeBSD 9.0 / AMD64 / Dovecot 2.1.8 version and cannot get over 1024 processes. I`ve increased process_limit in imap and pop3 and still have messages in syslog like: maxproc limit exceeded by uid 89, please see tuning(7) and login.conf(5).
>>>>> Did I forget to increase some other value? System values are higher - kern.maxprocperuid: 8192 and kern.maxproc: 12288
>>>> That message comes from the kernel. Dovecot doesn't use login.conf. You need to set ulimit -u manually (= in init.d script) before starting Dovecot.
>>>>
>
More information about the dovecot
mailing list