[Koha-bugs] [Bug 1531] New: MARC Import Fails with Timeout

bugzilla-daemon at pippin.metavore.com bugzilla-daemon at pippin.metavore.com
Wed Oct 31 13:08:07 CET 2007


http://bugs.koha.org/cgi-bin/bugzilla/show_bug.cgi?id=1531

           Summary: MARC Import Fails with Timeout
           Product: Koha
           Version: HEAD
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: MARC Import
        AssignedTo: galen.charlton at liblime.com
        ReportedBy: jmf at liblime.com
         QAContact: koha-bugs at nongnu.org


With 500 test records (attached) and about 2000 items (embedded), the MARC
import fails with a timeout. I suspect we'll need to separate the operations a
bit, one for 'upload', another for 'stage' ... maybe have a periodic refresh of
the page to get the status or sth. Also, I'm still getting errors in the logs
when those are enabled I'd suggest adding a random string to the timestamp for
the key:
[Wed Oct 31 06:24:48 2007] [error] [client 208.54.95.103] [Wed Oct 31 06:24:48
2007] manage-marc-import.pl: DBD::mysql::st execute failed: Duplicate entry
'500' for key 1 at /home/jmf/koha/production/intranet/modules/C4/Biblio.pm line
3913., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=1
[Wed Oct 31 06:24:48 2007] [error] [client 208.54.95.103] [Wed Oct 31 06:24:48
2007] manage-marc-import.pl: DBD::mysql::st execute failed: Duplicate entry
'2007-10-31 06:24:48-0' for key 1 at
/home/jmf/koha/production/intranet/modules/C4/Log.pm line 69., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/manage-marc-import.pl?import_batch_id=1
[Wed Oct 31 06:25:00 2007] [error] [client 208.54.95.103] [Wed Oct 31 06:25:00
2007] tools-home.pl: about to check version at
/home/jmf/koha/production/intranet/modules/C4/Auth.pm line 379., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/manage-marc-import.pl
[Wed Oct 31 06:25:03 2007] [error] [client 208.54.95.103] [Wed Oct 31 06:25:03
2007] stage-marc-import.pl: about to check version at
/home/jmf/koha/production/intranet/modules/C4/Auth.pm line 379., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/tools-home.pl
[Wed Oct 31 06:25:32 2007] [error] [client 208.54.95.103] [Wed Oct 31 06:25:32
2007] stage-marc-import.pl: about to check version at
/home/jmf/koha/production/intranet/modules/C4/Auth.pm line 379., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/stage-marc-import.pl
[Wed Oct 31 06:27:41 2007] [error] [client 208.54.95.103] [Wed Oct 31 06:27:41
2007] search.pl: about to check version at
/home/jmf/koha/production/intranet/modules/C4/Auth.pm line 379., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/catalogue/search.pl?q=test
[Wed Oct 31 06:30:32 2007] [warn] [client 208.54.95.103] Timeout waiting for
output from CGI script
/home/jmf/koha/production/intranet/cgi-bin/tools/stage-marc-import.pl, referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/stage-marc-import.pl
[Wed Oct 31 06:30:32 2007] [error] [client 208.54.95.103] Premature end of
script headers: stage-marc-import.pl, referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/stage-marc-import.pl
[Wed Oct 31 06:35:32 2007] [warn] [client 208.54.95.103] Timeout waiting for
output from CGI script
/home/jmf/koha/production/intranet/cgi-bin/tools/stage-marc-import.pl, referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/stage-marc-import.pl
[Wed Oct 31 06:35:35 2007] [error] [client 208.54.95.103] [Wed Oct 31 06:35:35
2007] 500.pl: about to check version at
/home/jmf/koha/production/intranet/modules/C4/Auth.pm line 379., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/tools/stage-marc-import.pl
[Wed Oct 31 07:00:36 2007] [error] [client 208.54.95.103] [Wed Oct 31 07:00:36
2007] tools-home.pl: about to check version at
/home/jmf/koha/production/intranet/modules/C4/Auth.pm line 379., referer:
http://staff-jmf.dev.kohalibrary.com/cgi-bin/koha/catalogue/search.pl?q=%20test&limit=su-to:English%20language




------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.





More information about the Koha-bugs mailing list