NetBSD-Bugs archive

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

Re: kern/50313: processes get stuck doing exec



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

From: David Holland <dholland-bugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/50313: processes get stuck doing exec
Date: Sat, 10 Oct 2015 22:59:27 +0000

 On Thu, Oct 08, 2015 at 10:05:00AM +0000, he%uninett.no@localhost wrote:
  > 	execve_loadvm() contains only one pool_get, this one:
  > 
  >         /* allocate an argument buffer */
  > 	        data->ed_argp = pool_get(&exec_pool, PR_WAITOK);
  > 
  > 	and "vmstat -m" says:
  > 
  > Memory resource pool statistics
  > Name        Size Requests Fail Releases Pgreq Pgrel Npage Hiwat Minpg Maxpg Idle
  > ...
  > execargs    262144  40498    0    40498     9     7     2     4     0    16    2
  > ...
 
 Out of curiosity: how much RAM is in the system? Because exec args are
 big, unless there's a throttle (I don't think we have one) it's fairly
 easy for transient demand to take up a lot of space, which can fill up
 the kernel map or plain run out of memory.
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index