[Dovecot] cgroup support
Timo Sirainen
tss at iki.fi
Mon Jan 31 16:07:45 EET 2011
With v2.0 the imap and post-login processes are both created by the dovecot process. So no parent-child relationship between them.
On 31.1.2011, at 14.00, Emerson Pinter wrote:
> I think the current pid(from postlogin script) is sufficient if the imap
> binary will be a child process. The cgroup is inherited from parent
> process (at least the kernel documentation says that)...
>
> Emerson Pinter
>
> On 30-01-2011 14:10, Timo Sirainen wrote:
>> On Sun, 2011-01-30 at 17:03 +0100, Andreas Pelme wrote:
>>> On 30 jan 2011, at 16:05, Emerson Pinter wrote:
>>>> Have you tried post login scripts ?
>>>
>>> Wow, I had missed the post login scripts. That will solve this problem very nicely!
>>
>> Hmm. With v1.x it works, but in v2.0 the post-login scripts are run in a
>> separate process and I don't think you can get the PID there without
>> some changes to code..
>>
>>
>
More information about the dovecot
mailing list