Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/dist/ntp/ntpd Double the stack space limit. We are running o...



details:   https://anonhg.NetBSD.org/src/rev/13da6d49ec46
branches:  trunk
changeset: 580035:13da6d49ec46
user:      christos <christos%NetBSD.org@localhost>
date:      Tue Apr 05 20:56:58 2005 +0000

description:
Double the stack space limit. We are running out with ntp.pool.org.

diffstat:

 dist/ntp/ntpd/ntpd.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 42ec2ddd61c8 -r 13da6d49ec46 dist/ntp/ntpd/ntpd.c
--- a/dist/ntp/ntpd/ntpd.c      Tue Apr 05 19:57:30 2005 +0000
+++ b/dist/ntp/ntpd/ntpd.c      Tue Apr 05 20:56:58 2005 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ntpd.c,v 1.6 2004/06/29 04:16:37 christos Exp $        */
+/*     $NetBSD: ntpd.c,v 1.7 2005/04/05 20:56:58 christos Exp $        */
 
 /*
  * ntpd.c - main program for the fixed point NTP daemon
@@ -680,7 +680,7 @@
            struct rlimit rl;
 
            if (getrlimit(RLIMIT_STACK, &rl) != -1
-               && (rl.rlim_cur = 5 * 4096 * sizeof(void *)) < rl.rlim_max)
+               && (rl.rlim_cur = 10 * 4096 * sizeof(void *)) < rl.rlim_max)
            {
                    if (setrlimit(RLIMIT_STACK, &rl) == -1)
                    {



Home | Main Index | Thread Index | Old Index