On Wed, Dec 03, 2008 at 12:36:49PM +0100, Sico Bruins wrote:

> On Wed, Dec 03, 2008 at 12:06:14PM +0100, Otto Moerbeek wrote:
> 
> > On Wed, Dec 03, 2008 at 11:57:32AM +0100, Sico Bruins wrote:
> > 
> >> On one of my PCs I ran into the process table full / cannot fork
> >> trouble, so I decided to make a single change in the GENERIC
> >> kernel config: I bumped up the maxusers setting to 128.
> >> 
> >> Config warned me that "config: warning: maxusers (128) > 100".
> >> 
> >> I grepped around in /usr/src/usr.sbin/config and found this
> >> comes from sem.c but this knowledge doesn't help me all that much.
> >> 
> >> Is there a way to get a bigger process table?
> >
> > There are two limits: a per user limit, as set by login.conf and a
> > systemwide limit. The systemwide limit is set by the kern.maxproc sysctl.
> 
> Thanks, I am sorry if I was too brief.
> 
> Running top on acer (the box in question) shows the system as a whole
> running never more than 100 processes. When that happens I can't ssh
> in anymore, sshd can't spawn me a shell.
> 
> Since I am in group staff, and maxproc-cur in login.conf for staff is
> 128, that can't be it. kern.maxproc is over 2,000.

You are confusing groups and login classes.

        -Otto

Reply via email to