maxproc limit exceeded by uid 0

Marc G. Fournier scrappy at hub.org
Thu Jun 22 16:28:29 UTC 2006


On Thu, 22 Jun 2006, Dan Nelson wrote:

> In the last episode (Jun 22), Johan Strm said:
>> On 22 jun 2006, at 09.57, [LoN]Kamikaze wrote:
>>> Johan Ström wrote:
>>>> Anyway.. I'm using default login.conf, which have unlimited for all
>>>> resource limits.. So wtf is this?
>>>
>>> Look at
>>>
>>> # sysctl kern.maxproc
>>
>> Okay, 4096 procs... But what was those 4k procs...On my newly booted
>> i got 127... Well I guess there is now way to find out now.
>
> If it ever happens again, you can drop to the debugger with
> Ctrl-Alt-ESC and run "ps" to get a list of running processes.  You
> might even be able to recover by killing some offending processes with
> "kill 9 <pid>", then continue with "c".

Actually, I got this here today on my 6-STABLE box ... in my case, maxproc 
is 6164, but mine started with the maxpipekva errors in 
/var/log/messsages, and then wen to maxproc also:

Jun 22 11:00:01 pluto kernel: fxp0: promiscuous mode enabled
Jun 22 11:00:01 pluto kernel: kern.ipc.maxpipekva exceeded; see tuning(7)
Jun 22 11:00:04 pluto kernel: kern.ipc.maxpipekva exceeded; see tuning(7)
Jun 22 11:02:00 pluto last message repeated 2 times
Jun 22 11:12:00 pluto last message repeated 26 times
Jun 22 11:22:33 pluto last message repeated 38 times
Jun 22 11:30:00 pluto last message repeated 46 times
Jun 22 11:30:00 pluto kernel: maxproc limit exceeded by uid 0, please see tuning(7) and login.conf(5).
Jun 22 11:30:01 pluto kernel: fxp0: promiscuous mode disabled

I just raised my maxpipekva to 64M .. see if it doesn't lock up yet again ...

Oh, and with all vServers running on this machine, I have, right now:

==============================
kern.ipc.maxpipekva: 67108864 - kern.ipc.pipekva: 39698432
running processes:     1549



----
Marc G. Fournier           Hub.Org Networking Services (http://www.hub.org)
Email . scrappy at hub.org                              MSN . scrappy at hub.org
Yahoo . yscrappy               Skype: hub.org        ICQ . 7615664


More information about the freebsd-stable mailing list