Diego Liziero
2008-May-01 00:13 UTC
[Dovecot] [patch] let valgrind run on login process with GDB=1
Not sure if this should be included in dovecot, just posting if someone feels like using valgrind. Diego. ----- diff -r ba634d2c0ab9 src/master/login-process.c --- a/src/master/login-process.c Wed Apr 30 20:18:37 2008 +0300 +++ b/src/master/login-process.c Thu May 01 00:59:10 2008 +0200 @@ -689,7 +689,8 @@ static pid_t create_login_process(struct fd_limit = 16 + listen_count + ssl_listen_count + 2 * (group->set->login_process_per_connection ? 1 : group->set->login_max_connections); - restrict_fd_limit(fd_limit); + if (getenv("GDB") == NULL) + restrict_fd_limit(fd_limit); /* make sure we don't leak syslog fd, but do it last so that any errors above will be logged */
Timo Sirainen
2008-May-04 00:23 UTC
[Dovecot] [patch] let valgrind run on login process with GDB=1
On Thu, 2008-05-01 at 02:13 +0200, Diego Liziero wrote:> Not sure if this should be included in dovecot, just posting if someone > feels like using valgrind.Committed: http://hg.dovecot.org/dovecot-1.1/rev/4407ef392711 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080504/1cd7ecd5/attachment-0002.bin>
Reasonably Related Threads
- [PATCH] increase fd_limit to max_client_limit automatically
- Passing info from mail process to mail_filter plugin script?
- Multiple IP(or Host) listen in dovecot.conf.
- [PATCH] increase fd_limit to max_client_limit automatically
- valgrind-mmt: rebased against latest upstream valgrind release v3.16.1