Rick Jones wrote:
From strace :
15:27:04.568800 recv(3, "<?xml version=\"1.0\" encoding=\"UT"..., 555,
) = 555 <0.000121>
vs.
15:18:24.515891 recv(3, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
) = 566 <0.038414>
Will watch replies and post more when I know more. Kinda new at this.
Do you have the strace from the sending side?
Yes...I hope I'm not posting too much info but here goes. It's worth
mentioning that this data is never on the internet, only isolated lan or
loopback. We are using an older version of the GSOAP toolkit (a
sourceforge project) and are in the process of porting to their latest
version.
In addition to the straces below, I have ethereal screencaps in jpeg
format if anyone wants to see those...2 x ~400k. ea.
Thanks everyone for pondering this. I tried to get the socket setup and
several full transactions from each side of loopback.
---
John
Server side:
15:15:11.267781 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 <0.000033>
15:15:11.267885 setsockopt(3, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
<0.000015>
15:15:11.267970 setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
<0.000014>
15:15:11.268051 setsockopt(3, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
<0.000014>
15:15:11.268133 setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0 <0.000016>
15:15:11.268216 bind(3, {sa_family=AF_INET, sin_port=htons(8080),
sin_addr=inet_addr("0.0.0.0")}, 16) = 0 <0.000020>
15:15:11.268318 listen(3, 100) = 0 <0.000043>
15:15:11.268433 getsockname(3, {sa_family=AF_INET, sin_port=htons(8080),
sin_addr=inet_addr("0.0.0.0")}, [16]) = 0 <0.000015>
<snip>
15:18:23.624649 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) <0.000014>
15:18:23.624724 fcntl64(3, F_SETFL, O_RDWR) = 0 <0.000013>
15:18:23.624799 accept(3, {sa_family=AF_INET, sin_port=htons(57058),
sin_addr=inet_addr("127.0.0.1")}, [16]) = 4 <0.000023>
15:18:23.624939 setsockopt(4, SOL_SOCKET, SO_KEEPALIVE, [1], 4) = 0
<0.000015>
15:18:23.625021 setsockopt(4, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
<0.000014>
15:18:23.625101 setsockopt(4, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
<0.000014>
15:18:23.625180 setsockopt(4, SOL_TCP, TCP_NODELAY, [1], 4) = 0 <0.000014>
15:18:23.625316 recv(4, "POST / HTTP/1.1\r\nHost: localhost"..., 32768,
0) = 593 <0.000018>
15:18:23.625542 send(4, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 129, 0)
= 129 <0.000114>
15:18:23.625787 send(4, "236\r\n", 5, 0) = 5 <0.000076>
15:18:23.625937 send(4, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.000117>
15:18:23.626133 send(4, "\r\n0\r\n\r\n", 7, 0) = 7 <0.000167>
15:18:23.627215 recv(4, "POST / HTTP/1.1\r\nHost: localhost"..., 32768,
0) = 593 <0.000017>
15:18:23.627438 send(4, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 129, 0)
= 129 <0.000196>
15:18:23.627761 send(4, "236\r\n", 5, 0) = 5 <0.000147>
15:18:23.627978 send(4, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.000017>
15:18:23.628074 send(4, "\r\n0\r\n\r\n", 7, 0) = 7 <0.000015>
15:18:23.628217 recv(4, "POST / HTTP/1.1\r\nHost: localhost"..., 32768,
0) = 593 <0.038687>
15:18:23.667206 send(4, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 129, 0)
= 129 <0.000078>
15:18:23.667466 send(4, "236\r\n", 5, 0) = 5 <0.000107>
15:18:23.667682 send(4, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.000068>
15:18:23.667828 send(4, "\r\n0\r\n\r\n", 7, 0) = 7 <0.000015>
15:18:23.667973 recv(4, "POST / HTTP/1.1\r\nHost: localhost"..., 32768,
0) = 593 <0.043338>
15:18:23.711654 send(4, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 129, 0)
= 129 <0.000081>
15:18:23.711929 send(4, "236\r\n", 5, 0) = 5 <0.000112>
15:18:23.712149 send(4, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.000067>
15:18:23.712297 send(4, "\r\n0\r\n\r\n", 7, 0) = 7 <0.000015>
15:18:23.712442 recv(4, "POST / HTTP/1.1\r\nHost: localhost"..., 32768,
0) = 593 <0.038666>
15:18:23.751433 send(4, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 129, 0)
= 129 <0.000080>
Client side :
15:16:05.012862 socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3 <0.000029>
15:16:05.012960 setsockopt(3, SOL_SOCKET, SO_SNDBUF, [32768], 4) = 0
<0.000016>
15:16:05.013045 setsockopt(3, SOL_SOCKET, SO_RCVBUF, [32768], 4) = 0
<0.000015>
15:16:05.013125 setsockopt(3, SOL_TCP, TCP_NODELAY, [1], 4) = 0 <0.000017>
<snip>
15:16:05.019312 fcntl64(3, F_GETFL) = 0x2 (flags O_RDWR) <0.000014>
15:16:05.019388 fcntl64(3, F_SETFL, O_RDWR) = 0 <0.000014>
15:16:05.019463 connect(3, {sa_family=AF_INET, sin_port=htons(8080),
sin_addr=inet_addr("127.0.0.1")}, 16) = 0 <0.000815>
<snip>
15:18:23.624100 send(3, "POST / HTTP/1.1\r\nHost: localhost"..., 593, 0)
= 593 <0.000087>
15:18:23.624313 recv(3, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 32768,
0) = 129 <0.002025>
15:18:23.626445 recv(3, "236\r\n<?xml version=\"1.0\" encodin"...,
32768, 0) = 578 <0.000020>
15:18:23.626639 gettimeofday({1142464703, 626676}, NULL) = 0 <0.000017>
15:18:23.626771 select(4, [3], [3], [3], {0, 0}) = 1 (out [3], left {0,
0}) <0.000016>
15:18:23.626901 send(3, "POST / HTTP/1.1\r\nHost: localhost"..., 593, 0)
= 593 <0.000070>
15:18:23.627088 recv(3, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 32768,
0) = 129 <0.000445>
15:18:23.627635 recv(3, "236\r\n", 32768, 0) = 5 <0.000190>
15:18:23.627900 recv(3, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.038382>
15:18:23.666432 recv(3, "\r\n0\r\n\r\n", 32768, 0) = 7 <0.000017>
15:18:23.666539 gettimeofday({1142464703, 666573}, NULL) = 0 <0.000017>
15:18:23.666665 select(4, [3], [3], [3], {0, 0}) = 1 (out [3], left {0,
0}) <0.000016>
15:18:23.666794 send(3, "POST / HTTP/1.1\r\nHost: localhost"..., 593, 0)
= 593 <0.000070>
15:18:23.667143 recv(3, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 32768,
0) = 129 <0.000171>
15:18:23.667527 recv(3, "236\r\n", 32768, 0) = 5 <0.000081>
15:18:23.667747 recv(3, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.042844>
15:18:23.710788 recv(3, "\r\n0\r\n\r\n", 32768, 0) = 7 <0.000021>
15:18:23.710921 gettimeofday({1142464703, 710954}, NULL) = 0 <0.000017>
15:18:23.711052 select(4, [3], [3], [3], {0, 0}) = 1 (out [3], left {0,
0}) <0.000017>
15:18:23.711185 send(3, "POST / HTTP/1.1\r\nHost: localhost"..., 593, 0)
= 593 <0.000083>
15:18:23.711588 recv(3, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 32768,
0) = 129 <0.000176>
15:18:23.711990 recv(3, "236\r\n", 32768, 0) = 5 <0.000084>
15:18:23.712215 recv(3, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.038231>
15:18:23.750619 recv(3, "\r\n0\r\n\r\n", 32768, 0) = 7 <0.000018>
15:18:23.750733 gettimeofday({1142464703, 750767}, NULL) = 0 <0.000018>
15:18:23.750862 select(4, [3], [3], [3], {0, 0}) = 1 (out [3], left {0,
0}) <0.000016>
15:18:23.750992 send(3, "POST / HTTP/1.1\r\nHost: localhost"..., 593, 0)
= 593 <0.000074>
15:18:23.751370 recv(3, "HTTP/1.1 200 OK\r\nServer: gSOAP/2"..., 32768,
0) = 129 <0.000174>
15:18:23.751762 recv(3, "236\r\n", 32768, 0) = 5 <0.000083>
15:18:23.751986 recv(3, "<?xml version=\"1.0\" encoding=\"UT"..., 566,
0) = 566 <0.038325>
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html