]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
[Bug 220] (Frederick Bruckman) The linux resolver needs more stack space.
authorHarlan Stenn <stenn@ntp.org>
Thu, 20 Nov 2003 08:58:27 +0000 (03:58 -0500)
committerHarlan Stenn <stenn@ntp.org>
Thu, 20 Nov 2003 08:58:27 +0000 (03:58 -0500)
bk: 3fbc8233E0ir7G11YUVAS8o6MWSQ_w

ntpd/ntpd.c

index 0b052535e777c5d96ce6403111feae225b7397e9..a4ff1855b805e238d49505efb3bd56ab7d567241 100644 (file)
@@ -678,7 +678,7 @@ service_main(
            struct rlimit rl;
 
            if (getrlimit(RLIMIT_STACK, &rl) != -1
-               && (rl.rlim_cur = 20 * 4096) < rl.rlim_max)
+               && (rl.rlim_cur = 50 * 4096) < rl.rlim_max)
            {
                    if (setrlimit(RLIMIT_STACK, &rl) == -1)
                    {