From: Scott P. <sco...@ea...> - 2003-02-25 16:28:00
|
Hello, I'm seeing a difference in mkdir08 execution for root and non-root users. Specifically, "-c X" (where X is >2040) returns resource/fork failures once X is reached, if the user is not root. As root, this number (and higher) works fine and all iterations return 0. As a normal user: ./mkdir08 -c 2042 parse_opts.c: fork() failed, errno:11 Resource temporarily unavailable (once 2040 is reached) `ulimit -a` for the user returns: [scott@brassmonkey mkdir]$ ulimit -a core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited file size (blocks, -f) unlimited max locked memory (kbytes, -l) unlimited max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 2048 virtual memory (kbytes, -v) unlimited (all values are the same as root's) IF all copies of mkdir executed at the same time, I could see how this hits my process limit for the USER... but I think the first executions have returned by the time the last instances began, and in any case, the user limits are the same as root. . What am I doing wrong here? Thanks -Scott |