NetBSD-Bugs archive

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

Re: misc/53907: Default (commented-out) stacksize-cur in /etc/login.conf is too low



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

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: misc/53907: Default (commented-out) stacksize-cur in
 /etc/login.conf is too low
Date: Fri, 25 Jan 2019 17:08:36 +0000

 On Fri, Jan 25, 2019 at 08:40:00AM +0000, dmarquess%gmail.com@localhost wrote:
  > Jan 25 08:25:43 pine64 su: default: setting resource limit stacksize: Invalid argument
  > Jan 25 08:30:00 pine64 cron[784]: default: setting resource limit stacksize: Invalid argument
  > 
  > This seems to be because the default has ":stacksize-cur=4M:" for
  > the default class and the default stack size that a user gets when
  > they login appears to be 8MB.  Since the limit in login.conf is
  > smaller, the above error gets generated.
 
 It should be able to make the stack size smaller. It's larger that one
 would expect to fail. Are you sure there isn't something else going on?
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index