EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #02824


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: Error "Apache2 IO write: (103)"


Hi Florian and guys,

I believe the patch works well for us. Suddenly, downloads increase again ...
I'll see the evolution for some days to see what happens.

Thanks,

On Mon, Mar 31, 2014 at 1:53 PM, Centro de Documentación
<cendocu@gmail.com> wrote:
> Hi Florian,
>
> I'll test your patch.
>
> Thanks guys,
>
> Cristian
>
>
> On Mon, Mar 31, 2014 at 11:30 AM, Florian Heß <hess@ub.uni-heidelberg.de> wrote:
>> Am 22.03.2014 16:13, schrieb Centro de Documentación:
>>
>>> Hi guys,
>>>
>>> I've noticed lots of "Apache2 IO write: (103) Software caused
>>> connection abort" messages appearing in our apache log. I'm worried
>>> because there are a lot of them. I think it's something unusual.
>>>
>>> Can something force eprints to stop a file retrieval? I mean something
>>> strange that could cause it.
>>>
>>> Is there a relationship between those messages and errors 500?
>>>
>>> I'm running EPrints 3.3.10, Apache 2.2.22, mod_perl/2.0.7
>>>
>>
>> Hi,
>>
>> my patch - thanks to Sebastien, we mailed about this (or maybe a related?)
>> issue last year - does not eliminate the "Software caused ..." events, just
>> checked the logs, but there should be fewer chances for user agents to make
>> massively parallel requests since this is explicitly demotivated by header
>> Accept-Ranges: none. Look if it reduces those errors at least. EPrints
>> should not deliver big pdf files in parallel chunks as the system will
>> likely read the whole file into memory. I am not quite optimistic about
>> Webserver processes able to share a file in cache.
>>
>> In EPrints/Apache/Storage.pm, line 183ff, change
>>         EPrints::Apache::AnApache::header_out(
>>                 $r,
>>                 "Accept-Ranges" => "none" # was "bytes"
>>         );
>>
>> Caution: Any streamed A/V media might cease to work because of it.
>>
>> I think that a certain share of aborted request come from search bots.
>>
>> May it work for you nonetheless :-), would like to know if there is a
>> significant change in the ratio of "Software caused" events by all error
>> lines.
>>
>> Florian
>>
>>> Regards,
>>>
>>> Cristian
>>>
>>> /////////////////////////////////////////////
>>>
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7d9657610)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4eab28)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4e8f60)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4e8c30)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4e4648)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7db885738)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4e8c30)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4f5a38)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4dd140)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4ec058)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7d9657610)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7d9657610)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7db853200)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 258
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4e7708)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7db889d80)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 258
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4e9a58)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 258
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4e8fd8)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 258
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7db88c388)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 258
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7db84bc40)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 258
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7dc4f1d48)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> ------------------------------------------------------------------
>>> ---------------- EPrints System Error ----------------------------
>>> ------------------------------------------------------------------
>>> Error in file retrieval: :Apache2 IO write: (103) Software caused
>>> connection abort at
>>> /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 207
>>> ------------------------------------------------------------------
>>>   at /usr/share/eprints3/perl_lib/EPrints/Apache/Storage.pm line 267
>>>
>>> EPrints::Apache::Storage::handler('Apache2::RequestRec=SCALAR(0x7fa7db891e78)')
>>> called at -e line 0
>>>      eval {...} called at -e line 0
>>> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>>> *** Archive: http://www.eprints.org/tech.php/
>>> *** EPrints community wiki: http://wiki.eprints.org/
>>> *** EPrints developers Forum: http://forum.eprints.org/
>>>
>>
>>
>> --
>> UB Heidelberg (Altstadt)
>> Plöck 107-109, 69117 HD
>> Abt. Informationstechnik
>> Tel. 06221 / 54 3550
>> http://www.ub.uni-heidelberg.de/
>>
>> *** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
>> *** Archive: http://www.eprints.org/tech.php/
>> *** EPrints community wiki: http://wiki.eprints.org/
>> *** EPrints developers Forum: http://forum.eprints.org/
>>