httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Ryder <jon18_uk2...@yahoo.co.uk>
Subject [users@httpd] EAGAIN (Resource temporarily unavailable) with Apache 1.3.27
Date Thu, 13 Mar 2003 20:17:12 GMT
Hi all,

Lately I have been experiencing an odd error with
Apache.  At times, a page would fail to download.  The
page would be requested, load a little bit, and then
the connection would restart, and then it would be
successful.  So the problem only happens every now and
then.  The error_log were not giving any clues as to
why.  I tried turning the LogLevel to debug, however,
it didn't seem to give any debug info out, but I think
that is a different issue, so I tried using strace. 
Once I worked out with pid my request was being served
by, I attached strace and made requests until one
demonstrated the problem.  The strace output is as
follows.  I am running Linux (RedHat) with Apache
1.3.27.

writev(3, [{"HTTP/1.1 200 OK\r\nDate: Thu, 13 M"...,
308}, {"fe7\r\n",5}, {"<!DOCTYPE HTML PUBLIC
\"-//W3C//D"..., 4071}, {"\r\n", 2}], 4) =4386
read(7, 0xbffef860, 8192)               = -1 EAGAIN
(Resource temporarily unavailable)
select(8, [7], NULL, NULL, NULL)        = 1 (in [7])
read(7, "d></tr>\n</table>\n<img src=\"http:"...,
8192) = 4096
writev(3, [{"1000\r\n", 6}, {"d></tr>\n</table>\n<img
src=\"http:"...,4096}, {"\r\n", 2}], 3) = 4104
read(7, 0xbffef860, 8192)               = -1 EAGAIN
(Resource temporarily unavailable)
select(8, [7], NULL, NULL, NULL)        = 1 (in [7])
read(7, 0xbffef860, 8192)               = -1 EAGAIN
(Resource temporarily unavailable)
select(8, [7], NULL, NULL, NULL)        = 1 (in [7])
read(7, "F4F4\"><font face=\"Arial,Helvetic"..., 8192)
= 4096
writev(3, [{"1000\r\n", 6}, {"F4F4\"><font
face=\"Arial,Helvetic"...,4096}, {"\r\n", 2}], 3) =
4104
read(7, 0xbffef860, 8192)               = -1 EAGAIN
(Resource temporarily unavailable)
select(8, [7], NULL, NULL, NULL)        = 1 (in [7])
read(7, "=\"Arial,Helvetica,sans-serif\" si"..., 8192)
= 4096
writev(3, [{"1000\r\n", 6},
{"=\"Arial,Helvetica,sans-serif\" si"...,4096},
{"\r\n", 2}], 3) = 4104
read(7, 0xbffef860, 8192)               = -1 EAGAIN
(Resource temporarily unavailable)
select(8, [7], NULL, NULL, NULL)        = 1 (in [7])
read(7, "=\"2\"><strong><a href=\"http://www"...,
8192) = 4096
writev(3, [{"1000\r\n", 6}, {"=\"2\"><strong><a
href=\"http://www"...,4096}, {"\r\n", 2}], 3) = 1918
--- SIGCHLD (Child exited) ---


Doing a bit of digging shows that the error is related
to limits the apache user has been set, and it hitting
these limits?  Its quite a busy server, plus the
requests Apache is processing, when the error is
experienced, are very dynamic pages, so it does
execute Perl a few times though SSI - we are looking
at mod_perl, but would like to try and get to
the bottom of this problem first.

Any points, or possible solutions?  Thanks.

Jon.

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message