Apache Server configuration support - Apache and very small packets

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > April 2004 > Apache and very small packets





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Apache and very small packets
Wolfgang Adamec

2004-04-26, 4:33 am

Hello!
I work with an apache web server 2.0.4.
A few days ago I was using tcpdump to find a problem with my web
application.
I found out that sometimes (I was testing always with one cgi-program)
the content of the html-page was splitted into only a few normal-sized
packets and a few times this content was splitted into a lot of very
small packets (some only have 7 or 10 bytes). And this is a problem
for me.
Is there a configuration or another way to avoid this very small
packets.
Maybe somebody can give me a hint.
Thank you
Wolfgang Adamec
Austria, Europe
Wolfgang Adamec

2004-04-26, 11:34 am

Hello!
There is another question I want to ask (question 2):
At the client I get packets with a normal size.
When on the server a lot of packets with a size of 7 and 10 bytes are
sent
to the client, where are the packets put together to a normal size?

To the first message of this thread I want to add something:
On google-groups I found someone who had the problem, that he had a
lot
of 1 byte-packets with the apache server. A guy told him he should
avoid
1byte-write-calls in his cgiprogramm.

Maybe that's ok for him, but I have a lot of small packets (7,10,20
byte) and
I do not have 7, 10 or 20-byte-write-calls. I write my cgi-programs in
cobol
and my calls for writing ONE line in my test-program have
approximately 50 bytes
and I cannot imagine why the compiler should split those calls up into
7,10 and 20 byte-write-calls.

Is there anyone who can help me?
HansH

2004-04-26, 3:33 pm

"Wolfgang Adamec" <w.adamec@gmx.at> schreef in bericht
news:c46cf94b.0404260740.59083446@posting.google.com...
> Hello!
> There is another question I want to ask (question 2):
> At the client I get packets with a normal size.
> When on the server a lot of packets with a size of 7 and 10 bytes are
> sent to the client, where are the packets put together to a normal size?

Any thing that re-assembles IP-pakcets...
... e.g. Ethernetswitch, ADSLmodem

[snipped]
> I do not have 7, 10 or 20-byte-write-calls. I write my cgi-programs
> in cobol and my calls for writing ONE line in my test-program have
> approximately 50 bytes and I cannot imagine why the compiler
> should split those calls up into 7,10 and 20 byte-write-calls.

Though Cobol is not my cup of tea... Assuming this ONE line is a single
DISPLAY statement, does it also have just ONE value to show or multiple
values, those being outputted (by the interpreter) one value at a time?? If
so try a multi-level data description and display only the single top level
item.

HansH


Wolfgang Adamec

2004-04-27, 4:33 am

Hello Hans!
Thank you very much for your answer and help!
Wolfgang Adamec
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com