[Dovecot] feature request: login in process title
Hello,
I'm a bit afraid of users, the might slow down the server because of search requests to the imap-server on very large mailboxes. Even with a performant index, this could cause a lot of cpu and i/o-load. Is it possible to include the login-name in the imap process, so that a "ps ax" doesn't just give "imap", but e.g. "imap test@example.com"? Maybe it's of general interest to see in the title at which stage an imap-process is working.
Regards Marten
On 112, 04 22, 2005 at 10:50:03 +0200, Marten Lehmann wrote:
Hello,
I'm a bit afraid of users, the might slow down the server because of search requests to the imap-server on very large mailboxes. Even with a performant index, this could cause a lot of cpu and i/o-load. Is it possible to include the login-name in the imap process, so that a "ps ax" doesn't just give "imap", but e.g. "imap test@example.com"? Maybe it's of general interest to see in the title at which stage an imap-process is working.
verbose_proctitle = yes
-- Andrey Panin | Linux and UNIX system administrator pazke@donpac.ru | PGP key: wwwkeys.pgp.net
On 22.4.2005, at 23:50, Marten Lehmann wrote:
Maybe it's of general interest to see in the title at which stage an imap-process is working.
This is possible only with BSDs implementing setproctitle(), or doing some horrible non-recommended kludging with Linux (which you can actually do with -DLINUX_PROCTITLE_HACK compile option).
I've thought about it before too, but since it's not safe with Linux I haven't bothered.
participants (3)
-
Andrey Panin
-
Marten Lehmann
-
Timo Sirainen