This is a discussion on win32: Truncated files within the Apache Web Server forums, part of the Web Server and Related Forums category; I've just found out a weird behaviour in my test server: large files always get truncated. Large means more ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I've just found out a weird behaviour in my test server: large files always
get truncated. Large means more than 100 KB (aprox.). According to logs the complete file is transferred but the browser (whatever browser, it doesn't matter) only displays the first bytes (12,000 bytes... 40,000 bytes; the exact figures differs from file to file but it's always the same in a given file). It happens with all MIME types (pictures, text...) and all browsers (Explorer, Mozilla...). If I upload the file to a remote Apache server, the problem disappears. The comptuer runs Windows XP Professional. I upgraded from 2.0.46 to 2.0.56 but it didn't help. I'd really appreciate any hint. I haven't been able to find the correct keywords for Google :( -- -+ Álvaro G. Vicario - Burgos, Spain +- http://www.demogracia.com (la web de humor barnizada para la intemperie) ++ Manda tus dudas al grupo, no a mi buzón -+ Send your questions to the group, not to my mailbox -- |
|
|||
|
"Alvaro G. Vicario" <kAlvaroNOSPAMTHANKS@terra.es> schreef in bericht
news:1bqck9ycwbprx.10sjhuqramsiz.dlg@40tude.net... > I've just found out a weird behaviour in my test server: large files always > get truncated. > > Large means more than 100 KB (aprox.). According to logs the complete file > is transferred but the browser (whatever browser, it doesn't matter) only > displays the first bytes (12,000 bytes... 40,000 bytes; the exact figures > differs from file to file but it's always the same in a given file). Guess you have mod_deflate running, without failure starts just below 8k. IIRC the failure caused by a single byte is dropped out off the stream about every 8k, so some errors in the transferred HTML may not be noticed -or even not be noticable-. > It happens with all MIME types (pictures, text...) and all browsers (Explorer, > Mozilla...). If I upload the file to a remote Apache server, the problem > disappears. > > The comptuer runs Windows XP Professional. I upgraded from 2.0.46 to 2.0.56 > but it didn't help. > > I'd really appreciate any hint. I haven't been able to find the correct > keywords for Google :( Starting version 2.0.49 -so in a way your update may have helped - a single option to many problems arising from third party fire-walls -ZA5 is kown for ill behaviour- and anti-virus software is available http://httpd.apache.org/docs-2.0/mod...isableacceptex HansH |
|
|||
|
*** HansH escribió/wrote (Thu, 27 Jan 2005 00:33:24 +0100):
> Guess you have mod_deflate running, without failure starts just below 8k. > IIRC the failure caused by a single byte is dropped out off the stream > about every 8k, so some errors in the transferred HTML may not be > noticed -or even not be noticable-. Good guess, however the module is not active. > Starting version 2.0.49 -so in a way your update may have helped - a single > option to many problems arising from third party fire-walls -ZA5 is kown for > ill behaviour- and anti-virus software is available > http://httpd.apache.org/docs-2.0/mod...isableacceptex My error log was displaying the "winnt_accept: Asynchronous AcceptEx failed" message mentioned in the URL so I've added the directive and restarted Apache. However, files are still being truncated :( -- -+ Álvaro G. Vicario - Burgos, Spain +- http://www.demogracia.com (la web de humor barnizada para la intemperie) ++ Manda tus dudas al grupo, no a mi buzón -+ Send your questions to the group, not to my mailbox -- |
|
|||
|
*** Alvaro G. Vicario escribió/wrote (Wed, 26 Jan 2005 23:59:06 +0100):
> I've just found out a weird behaviour in my test server: large files always > get truncated. Some more info I've gathered: the file is not actually truncated, it is messed. The size of the received file is the correct one but its contents seem to repeat cyclically. E.G., if the file is: Line 1 Line 2 Line 3 Line 4 Line 5 Line 6 What I get is: Line 1 Line 2 Line 3 LinLine 1 Line 2 Lin -- -+ Álvaro G. Vicario - Burgos, Spain +- http://www.demogracia.com (la web de humor barnizada para la intemperie) ++ Manda tus dudas al grupo, no a mi buzón -+ Send your questions to the group, not to my mailbox -- |