PDA

View Full Version : kernel: maxproc limit exceeded by uid 1004


Rich-Boy
11-25-2007, 08:03 AM
Hey all, for some reason user 'apache' is stopped from running over a certain number of processes even though i've set that user's maxproc to unlimited.
Heres a snippet from my /etc/login.conf

default:\
:passwd_format=md5:\
:copyright=/etc/COPYRIGHT:\
:welcome=/etc/motd:\
:setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES:\
:path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin:\
:nologin=/var/run/nologin:\
:cputime=unlimited:\
:datasize=unlimited:\
:stacksize=unlimited:\
:memorylocked=unlimited:\
:memoryuse=unlimited:\
:filesize=unlimited:\
:coredumpsize=unlimited:\
:openfiles=unlimited:\
:maxproc=20:\
:sbsize=unlimited:\
:vmemoryuse=unlimited:\
:priority=0:\
:ignoretime@:\
:umask=022:

apache:\
:maxproc=unlimited:


I keep seeing this in /var/log/messages;
kernel: maxproc limit exceeded by uid 1004, please see tuning(7) and login.conf(5).

My kern.maxproc and kern.maxprocperuid are both over 5000 so i can't see what the problem is here, does anyone have any ideas?

Thanks,
Chris