Displaying 1 result from an estimated 1 matches for "listen_count".
2008 May 01
1
[patch] let valgrind run on login process with GDB=1
...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);
/* ma...