[Evergreen-dev] marc_export - apache crashes

Brian Holda brian.holda at calvin.edu
Thu Oct 5 16:25:22 EDT 2023


Hi all,

Not sure if it's user error or something else going on, so wanted to see if any of you all have experience using marc_export script<https://docs.evergreen-ils.org/3.2/_marc_export_exporting_bibliographic_records_into_marc_files.html> and had similar problems.

In brief:

  *   Tue, 5pm - I ran the following test (this is for a file of 3,100 records). This took about 30 sec. and successfully created the export file without any noticeable effects on our apache2 server:
cat /home/opensrf/marc-test.txt | marc_export --reporter -i -c /openils/conf/opensrf_core.xml     -x /openils/conf/fm_IDL.xml -f XML --timeout 5 > exported_files.xml
  *
Wed, 11:40am- I ran what I thought was essentially the same test (for the same file of 3,100 records). This also took about 30 sec. and successfully created the export file. However, 8 min. later apache crashed and had to be restarted. In the error log, it said "couldn't grab the accept mutex" immediately before crashing. Here's the code I ran:
cat /tmp/marc-output/marc1.txt | marc_export --reporter -i -c /openils/conf/opensrf_core.xml     -x /openils/conf/fm_IDL.xml -f XML --timeout 5 > /tmp/marc-output/exported-marc1.xml
  *
Wed, 4pm- I ran essentially the same command (for the same file of 3,100 records), but without using the tmp​ folder. This time it stalled and after waiting a few minutes we pressed ctrl​ + c​ which I assumed stopped everything cleanly, as it returned me to the command prompt. However, at 4:50pm apache quit again, with the same "couldn't grab the accept mutex" messages beforehand. Here's the code I ran this time:
cat /home/opensrf/marc2.txt | marc_export --reporter -i -c /openils/conf/opensrf_core.xml \ -x /openils/conf/fm_IDL.xml -f XML --timeout 5 > /home/opensrf/exported-marc2.xml

Anyone know what might be happening here?


Brian Holda
Library Technology Manager
Hekman Library
Calvin University
(616) 526-8673

[cid:4e579103-9d9b-445c-a644-73d36151b8e7]<https://library.calvin.edu/>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.evergreen-ils.org/pipermail/evergreen-dev/attachments/20231005/619a91fa/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Outlook-0wpikkpm.png
Type: image/png
Size: 5783 bytes
Desc: Outlook-0wpikkpm.png
URL: <http://list.evergreen-ils.org/pipermail/evergreen-dev/attachments/20231005/619a91fa/attachment-0001.png>


More information about the Evergreen-dev mailing list