07-06-2010 12:42 AM
I get these errors:
19:13:12 vmunix: task_create() failed for pid 1098747: max_proc_per_user (=2048) exceeded for uid 974.
Jul 5 09:46:41 vmunix: task_create() failed for pid 1476629: max_proc_per_user (=2048) exceeded for uid 974.
Jul 5 09:46:45 vmunix: task_create() failed for pid 1476629: max_proc_per_user (=2048) exceeded for uid 974
When the problem is happening I check the user procs(with ps -ef) and there are only 180 listed.
how is this posible?, could it be forking 2000 process and killing them in millisenconds ? that i can't catch them with ps?
how can I track down the process that is generating this problem ?
07-06-2010 09:28 AM
It could be a simple fork bomb, where a script is calling itself by mistake.
After the error, the processes quickly terminate.
Have you asked uid 974 what was going on at that time? (If it is a mistake, usually they don't continue.)
07-06-2010 07:54 PM
You will have to carefully check what was running that time.
Possibaly a cron script does it sometimes.
If its not happenieng again, you can ignore this.
07-06-2010 11:20 PM
It has happened several times, but I can't catch what is generating this forking.
07-07-2010 06:34 AM
I don think there is a specific way to check untill and unless you logged in or u see any pattern which could put you near to what is happening.