You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Rodent of Unusual Size <co...@decus.org> on 1997/06/19 12:30:00 UTC
Re: mod_proxy/747: Incomplete files cuted by broken transmissio
The following reply was made to PR mod_proxy/747; it has been noted by GNATS.
From: coar@decus.org (Rodent of Unusual Size)
To: APBugs@apache.org, Coar@decus.org
Subject: Re: mod_proxy/747: Incomplete files cuted by broken transmissio
Date: Thu, 19 Jun 1997 06:21:09 -0400
[more information from the reporter, reformatted slightly and with the
MIMEd tar file removed]
From the fingers of Wojciech Szenajch flowed the following:
>
>I was abble to reproduce the problem on my server.
>
>I stopped the apache daemons, then removed everything from proxy
>directory and restarted apache again.
>
>Then I asked for http://www.dynasty.com/demo.zip
>When the transmission started a temporary file appeared in proxy
>directory. This file was present also after time when trasmission
>was broken. When I asked for the same URL again, the file was
>transmitted from the begining and next temporary file appeared in
>proxy directory. So this time averything was OK.
>
>So I stopped apache again, removed files from proxy directory,
>cleaned all log files and restarted apache.
>
>Then I asked again for the same URL. When temporary file appeared in
>proxy directory, I left everything till next morning.
>
>The transmission was broken again, but this time a directory
>structure in proxy directory was created and temporary file was
>probably moved to this structure (it disappeared) . Here is the listing of
>proxy directory:
>[171]ns:/apached/proxy:# ls -alR
>total 6
>drwxr-xr-x 3 http www 512 Jun 19 09:23 .
>drwxr-xr-x 6 root other 512 Jun 16 15:04 ..
>-rw-r--r-- 1 http www 0 Jun 18 17:55 .time
>drwx------ 3 http www 512 Jun 18 17:55 I
>
>./I:
>total 6
>drwx------ 3 http www 512 Jun 18 17:55 .
>drwxr-xr-x 3 http www 512 Jun 19 09:23 ..
>drwx------ 3 http www 512 Jun 18 17:55 3
>
>./I/3:
>total 6
>drwx------ 3 http www 512 Jun 18 17:55 .
>drwx------ 3 http www 512 Jun 18 17:55 ..
>drwx------ 2 http www 512 Jun 18 17:55 a
>
>./I/3/a:
>total 580
>drwx------ 2 http www 512 Jun 18 17:55 .
>drwx------ 3 http www 512 Jun 18 17:55 ..
>-rw------- 1 http www 284756 Jun 18 17:55 AM4EETZ2O0CqHtu7ynQ
>
>When I requested again for http://www.dynasty.com/demo.zip I
>immediately received INCOMPLETE file form proxy cache. The situation was
>the same when I repeated requests.
>
>I stopped and restarted apache and asked for this URL, the result was
>the same. Here is the contents of apache access_log file:
>
>dt-wsz.csbi.waw.pl - - [18/Jun/1997:17:55:35 +0200] "GET
> http://www.dynasty.com/demo.zip HTTP/1.0" 200 284493
>dt-wsz.csbi.waw.pl - - [19/Jun/1997:09:21:33 +0200] "GET
> http://www.dynasty.com/ HTTP/1.0" 200 2177
>dt-wsz.csbi.waw.pl - - [19/Jun/1997:09:21:41 +0200] "GET
> http://www.dynasty.com/demo.zip HTTP/1.0" 200 284493
>dt-wsz.csbi.waw.pl - - [19/Jun/1997:09:24:13 +0200] "GET
> http://www.dynasty.com/demo.zip HTTP/1.0" 200 284493
>dt-wsz.csbi.waw.pl - - [19/Jun/1997:09:24:50 +0200] "GET
> http://www.dynasty.com/demo.zip HTTP/1.0" 200 284493
>
>and error_log:
>
>[Wed Jun 18 17:31:47 1997] Server configured -- resuming normal operations
>[Thu Jun 19 09:21:33 1997] proxy send body lost connection to client
> dt-wsz.csbi.waw.pl
>[Thu Jun 19 09:24:27 1997] httpd: caught SIGTERM, shutting down
>[Thu Jun 19 09:24:31 1997] Server configured -- resuming normal operations
>
>Our Time is MET DST (now GMT-2). The reported by www.dynasty.com
>demo.zip length is more than 800 kB. MY PC is dt-wsz and I use MS
>Windows 95 with oryginal Microsoft TCP/IP stack and Netscape
>Communicator 4.01. After about half an hour my PC worked in Power saving
>mode. This should not be a problem because I made a succesfull 40MB
>transfer from remote server leaving the PC for the night in the past.
>
>I think the problem is with incorrect migration of incomplete temporary
>file to proxy directory structure after some timeout value. Before this
>value everything works OK but incomplete temporary files are not removed
>immediately.
>
>I send you an attachment with tar archive of proxy cache. It was made
>on Solaris 2.4, so please use SVR4 version of tar to restore it.
>
>I hope you will find my info usefull
>Regards
>Wojciech Szenajch