httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rasmus Lerdorf <ras...@linuxcare.com>
Subject ulimit: cannot raise limit: Invalid argument
Date Wed, 12 Apr 2000 16:35:35 GMT
I am suddenly getting a bunch of these in my error_log:

ulimit: cannot raise limit: Invalid argument
ulimit: cannot raise limit: Invalid argument
ulimit: cannot raise limit: Invalid argument

Linux kernel 2.2.14/glibc 2.0.7/current Apache CVS (happens with older
Apaches too)

It also seems to be forking new children like mad.  An strace -p on the
parent process shows a steady stream like the following:

select(0, NULL, NULL, NULL, {0, 470000}) = 0 (Timeout)
time(NULL)                              = 955556955
kill(12997, SIGALRM)                    = 0
kill(12647, SIGALRM)                    = 0
kill(14113, SIGALRM)                    = 0
kill(12698, SIGALRM)                    = 0
kill(12789, SIGALRM)                    = 0
kill(29519, SIGUSR1)                    = 0
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 17227
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 29519
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556956
kill(30188, SIGALRM)                    = 0
kill(11962, SIGUSR1)                    = 0
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 11962
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556957
kill(9991, SIGALRM)                     = 0
kill(12581, SIGALRM)                    = 0
kill(22324, SIGUSR1)                    = 0
--- SIGCHLD (Child exited) ---
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 22324
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556958
kill(12618, SIGALRM)                    = 0
kill(12610, SIGALRM)                    = 0
kill(14027, SIGALRM)                    = 0
kill(21478, SIGALRM)                    = 0
kill(22276, SIGALRM)                    = 0
kill(22602, SIGUSR1)                    = 0
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556959
kill(12582, SIGALRM)                    = 0
kill(12565, SIGALRM)                    = 0
kill(22602, SIGUSR1)                    = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 22602
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556960
kill(12596, SIGALRM)                    = 0
kill(22601, SIGUSR1)                    = 0
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556961
kill(12641, SIGALRM)                    = 0
kill(12737, SIGALRM)                    = 0
kill(22601, SIGUSR1)                    = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 22601
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556962
kill(12611, SIGALRM)                    = 0
kill(12848, SIGALRM)                    = 0
kill(22325, SIGALRM)                    = 0
kill(22586, SIGUSR1)                    = 0
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556963
kill(12741, SIGALRM)                    = 0
kill(13137, SIGALRM)                    = 0
kill(22325, SIGUSR1)                    = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 22586
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0})     = ? ERESTARTNOHAND (To be
restarted)
--- SIGCHLD (Child exited) ---
select(0, NULL, NULL, NULL, {1, 0})     = 0 (Timeout)
time(NULL)                              = 955556964
kill(12668, SIGALRM)                    = 0
kill(22325, SIGUSR1)                    = 0
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 0], WNOHANG, NULL) = 22325
wait4(-1, 0xbffffb60, WNOHANG, NULL)    = 0
select(0, NULL, NULL, NULL, {1, 0} <unfinished ...>

A clue injection would be appreciated here.

-Rasmus


Mime
View raw message