httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Hartill <r...@imdb.com>
Subject runaway processes (fwd)
Date Sun, 12 Jan 1997 20:15:06 GMT


--
Rob Hartill.       Internet Movie Database Ltd.    http://www.imdb.com/  

---------- Forwarded message ----------
Date: Sun, 12 Jan 1997 12:06:27 -0800 (PST)
From: James Deibele <jamesd@teleport.com>
To: apache-bugs@apache.org
Cc: Declan <declan@teleport.com>,
    "Steven C. Neighorn" <neighorn@qiclab.scn.rain.com>,
    Philip Cooper <philipc@teleport.com>
Subject: runaway processes

I'd earlier reported a problem where the error_log had grown so large
because of a user problem that the account our web servers run under had
run out of quota.  This morning I found two "runaway" processes.  When I
traced them this is what I found.

We are running 1.2b4 (no patches; all stock mods except dld and db; no
other mods) under Solaris 2.5.1.

1.1.1 had a race condition where if a file that Apache expected was
actually a directory that it would spin and spin.  Upgrading to 1.2b1
fixed that.  This looks somewhat similar.

My suggestion would be to try to write X times, then have the process
kill itself.  It would be nice if the process would try to log to
errorlog X times.

Or having the capability of using syslog to split out errors - user
errors because they've chmod'd a file so it's unreadable or forgot to
upload it get mixed in with critical errors.  (If I'm missing something
here, please forgive me but I don't find anything in the docs saying
about it.  With error_log 10MB or more it's more difficult to find
important errors - INN uses multiple levels, for example.)

We're real clear that part of our jobs as admins is to keep enough disk
space open for our servers.  But realistically there are times when that
doesn't happen.

Thanks very much for Apache.  And thanks <very> much for the quick
responses to my reports earlier today.

Forwarded message:
> From jamesd@teleport.com  Sun Jan 12 08:05:31 1997
> 
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> write(5, " [ S u n   J a n   1 2  ".., 103)     Err#22 EINVAL
> time()                                          = 853084941
> 




Mime
View raw message