Re: How to debug 70014 and 70007 errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
Got some Tcpdump !
What i can see is that everytime when we got the issue, our httpd server got an RST from the tomcat server.
Does someone have a clue on what's happening?

104 15:17:51.887648  X.X.X.X X.X.X.X  TCP 551 50300 > 45371 [PSH, ACK] Seq=459 Ack=1518 Win=49232 Len=485 TSval=702118294 TSecr=3875125094
105 15:17:51.927192  X.X.X.X  X.X.X.X  TCP 66 45371 > 50300 [ACK] Seq=1518 Ack=944 Win=16768 Len=0 TSval=3875125141 TSecr=702118294
106 15:17:57.705063 X.X.X.X   X.X.X.X  TCP 66 45349 > 50300 [FIN, ACK] Seq=1 Ack=1 Win=152 Len=0 TSval=3875130918 TSecr=701960866
107 15:17:57.705128 X.X.X.X   X.X.X.X  TCP 74 45372 > 50300 [SYN] Seq=0 Win=14600 Len=0 MSS=1460 SACK_PERM=1 TSval=3875130918 TSecr=0 WS=128
108 15:17:57.705236 X.X.X.X   X.X.X.X  TCP 60 50300 > 45349 [RST] Seq=1 Win=0 Len=0
109 15:17:57.705314 X.X.X.X   X.X.X.X  TCP 78 50300 > 45372 [SYN, ACK] Seq=0 Ack=1 Win=49232 Len=0 TSval=702118876 TSecr=3875130918 MSS=1460 WS=1 SACK_PERM=1



On 25 July 2012 11:29, ivan Gouin <gouin.ivan@xxxxxxxxx> wrote:
Hi rainer,
For case 70007,  the timeout expired, in access log , i've got a 300 second timeout
In the same time, tomcat's access log haven't any trace of the corresponding request.

For these request, response time is about 30-100ms 

Apache is Apache/2.2.17
Tomcat is 6.0.26 (jdk1.6.0_24)

I'm preparing a tcpdump on each side to see if i can see something received by tomcat .

Ivan


On 25 July 2012 11:02, Rainer Jung <rainer.jung@xxxxxxxxxxx> wrote:
On 25.07.2012 09:52, ivan Gouin wrote:
Hi,

I've got those error in my httpd error log:

[Wed Jul 25 08:10:55 2012] [error] (70014)End of file found: proxy:
prefetch request body failed to *.*.*.*:50300 (...) from ..... ()
[Wed Jul 25 00:13:18 2012] [error] (70007)The timeout specified has
expired: proxy: prefetch request body failed to  to *.*.*.*:50300 (...)
from ..... ()

Maybe the Timeout has expired?


Those error occurs with client accessing a tomcat WS through mod_proxy .

Not all the requests are rejected for today, 416 out of 2194 got one of
these errors.

don't really know how to proceed to debug this error.
thanks for your help

Add %D to your Tomcat and Apache Access Logs. It is the response time in milloiseconds (Tomcat) resp. microseconds (Apache). If the number is e.g. slightly above 60000000 for Apache and you had set a timeout of 60 seconds, then you know the problem is that the response takes to long. You can then check Tomcats Access Log to see how long it actually took. If it really takes to long in Tomcat, then take thread dumps to analyze and switch to the Tomcat users mailing list.

HTH.

Rainer


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




--
Ivan GOUIN

Mob (Suisse) : +41 (0)79 941 07 90

Mail : gouin.ivan@xxxxxxxxx




--
Ivan GOUIN

Mob (Suisse) : +41 (0)79 941 07 90

Mail : gouin.ivan@xxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux