EPrints Technical Mailing List Archive

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

Message: #01200


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

[EP-tech] Re: Errors in apache logs


We see a lot of this also but with 3.2.7. I think that it's caused by EPrints trying to write when the connection has already closed, potentially because the user cancels an existing request or clicks on a second link before the first has loaded. I can produce a similar error this way:

EPrints::abort()\n, referer: http://blah.com
------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Error in send_page: :Apache2 IO write: (103) Software caused connection abort at /usr/local/eprints/perl_lib/EPrints/Page/Text.pm line 60
------------------------------------------------------------------
 at /usr/local/eprints/perl_lib/EPrints/Page/Text.pm line 61
        EPrints::Page::Text::send('EPrints::Page::Text=HASH(0xca25738)') called at /usr/local/eprints/perl_lib/EPrints/Repository.pm line 4349
        EPrints::Repository::send_page('EPrints::Repository=HASH(0xba6ddb8)') called at /usr/local/eprints/perl_lib/EPrints/Apache/Template.pm line 106
        EPrints::Apache::Template::handler('Apache2::RequestRec=SCALAR(0xc9bcfe0)') called at -e line 0
        eval {...} called at -e line 0

I don't know why you are seeing more of these now you're on 3.3.10.

Mark

Mark Gregson | Applications and Development Team Leader
Library eServices | Queensland University of Technology
Level 3 | R Block | Kelvin Grove Campus | GPO Box 2434 | Brisbane 4001
Phone: +61 7 3138 3782 | Web: http://eprints.qut.edu.au/
ABN: 83 791 724 622
CRICOS No: 00213J


-----Original Message-----
From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Paolo Tealdi
Sent: Thursday, 18 October 2012 1:22 AM
To: <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Errors in apache logs

Hi all,

after the migration to 3.3.10 we are noticing sometime some errors in the apache log like this one (~30-40 in a day):

------------------------------------------------------------------
---------------- EPrints System Error ----------------------------
------------------------------------------------------------------
Error in send_page: :Apache2 IO write: (53) Software caused connection abort at /opt/eprints3/perl_lib/EPrints/Page.pm line 78
------------------------------------------------------------------
  at /opt/eprints3/perl_lib/EPrints/Page.pm line 82
         EPrints::Page::send('EPrints::Page=HASH(0x2f28c5a0)') called at /opt/eprints3/perl_lib/EPrints/Apache/Template.pm line 153
EPrints::Apache::Template::handler('Apache2::RequestRec=SCALAR(0x2f4157e4)')
called at -e line 0
         eval {...} called at -e line 0

The system apparently is working like a charme and i'm not seeing errors when browsing the site.
How can i debug this type of errors ? The system doesn't report me which file (url) has be interested by this error, neither the archive (we have three different archive on the same server) ...

Best regards,
Paolo Tealdi

-- 
Ing. Paolo Tealdi         Area IT - Politecnico Torino
Telefono/Phone : +39-011-0906714 , FAX : +39-011-0906799 Indirizzo/Address : C.so Duca degli Abruzzi,  24 - 10129 Torino - ITALY Skype : tealdi.paolo Please consider your environmental responsibility before printing this e-mail

*** 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/