Java Mailing List Archive

http://www.apache-httpd.com/

Home » users.httpd »

[users@httpd] Re: mod_proxy_ajp

russellsimpkins

2009-06-30

Replies: Find Java Web Hosting

Author LoginPost Reply


biju.blore wrote:
>
> I am facing a issue with this. Not all the time but at certain times
>
> Usually if someone tires to connect to
> http://testingpublish.testint.com/publish/ this will work fine.
> But sometimes it will give a 503 error.
> Once this error comes I need to reload apache so as to make this site
> function again.
> Again after 10 hours or 12 hours (there is no exact time gap between the
> apache reload and the error)
> again the 503 error happens and again i need to reload the apache to
> rectify this issue.
>
> I check the apache error logs and found the following error.
>
> [Thu Nov 20 07:31:18 2008] [error] (70007)The timeout specified has
> expired: ajp_ilink_receive() can't receive header
> [Thu Nov 20 07:32:18 2008] [error] (70007)The timeout specified has
> expired: ajp_ilink_receive() can't receive header
> [Thu Nov 20 07:37:18 2008] [error] (70007)The timeout specified has
> expired: ajp_ilink_receive() can't receive header
>
> When i reload apache the site functions again perfectly.
>
Not sure if you were able to figure this out - but I was having a simlar
issue and it was killing me - at least I think its a similar issue. For me,
I would get this error page when I restarted tomcat. If I hit the apache
before the restart happened, I would get the error page and it would NEVER
go away. I finally had some time to do some digging and found the answer for
me with retry=0 or return=10 or some value in seconds that tells apache how
long to wait before testing the proxy:

ProxyPass / ajp://localhost:8009/ retry=2

This helped me out and thought I would share, just in case.

Russ
--
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.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@(protected)
 "  from the digest: users-digest-unsubscribe@(protected)
For additional commands, e-mail: users-help@(protected)

©2008 apache-httpd.com - Jax Systems, LLC, U.S.A.