NetBSD-Bugs archive

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

Re: kern/51158: ntpd fails to set stack limit



The following reply was made to PR bin/51158; it has been noted by GNATS.

From: coypu%sdf.org@localhost
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/51158: ntpd fails to set stack limit
Date: Sun, 3 Jun 2018 11:35:01 +0000

 Adding information from duplicate bug report 5245 from jak:
 
 ntpd wants to lock itself in RAM (and out of swap), to do this it
 attempts to reduce its maximum stack footprint.  The maximum stack
 footprint it currently uses is 512KiB (DFLT_RLIMIT_STACK = 128), and
 relatively recently as small as 256KiB (7.99.3x).  Since ASLR was
 enabled, we've been seeing "ntp_rlimit: Cannot set RLIMIT_STACK: Invalid
 argument" messages nearly ever time ntpd is started.
 


Home | Main Index | Thread Index | Old Index