Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    Aleph

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Aleph
    3. Knowledge Articles
    4. cir-10 Duplicate Courtesy Notices And Incorrect Recipients

    cir-10 Duplicate Courtesy Notices And Incorrect Recipients

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: Aleph
    • Product Version: 20, 21, 22, 23

    Problem Symptoms:

    The print daemon sometimes emails notices produced by the cir-10 (Courtesy notice) Service to the wrong patron, and also sometimes produces duplicate notices.  This happens with large files (at the end of the semester when lots of items are coming due and when "All" is checked for the cir-10 Sublibraries option).  That is, when large output files are being produced, such as, a 50 Meg. file, with 774 notices.

    Case 1: There are no "Splitting" messages in the log and no "perl ... split" lines in the proc.

    Case 2: The p_cir_10 process log contains the error message: "Library_Notice-Courtesy_NNNNNNNN size is NNNNNNNNNN. Splitting... Processing.." and the $aleph_proc/p_cir_10 proc has "perl $aleph_proc/split_xml_file" lines.

    Resolution:

    Case 1:
    An examination of the $data_print xml file showed that the file had the correct email-address/patron-name associations.  It seemed that the pc/print daemon was being overwhelmed.  

        a) reboot the pc running the print daemon nightly,

        b) add memory to the pc,

        c) reduce the size of the files by doing smaller groups of sublibraries at a time rather than "All",

        d) possibly add CPU/processing power or get a more powerful pc.
    Case 2: 
    [The ./aleph/proc/split_xml_file.pl was splitting input files over 8mb; hange it to not do this.]
      1.Make a backup of $aleph_dev/aleph/proc/p_cir_10

      2. Remove the following lines from $aleph_dev/aleph/proc/p_cir_10:

         * perl $aleph_proc/split_xml_file.pl $data_print/$p_file_out.$p_target 10000 $p_target

         * perl $aleph_proc/split_xml_file.pl $data_print/$p_file_out 10000 $p_target

      3. Restart the PC Server.
     

    Additional Information

    For Case 2.... There is no need to replace the deleted lines. No splitting is needed because the output file is comprised of many separate XML files. The system knows how to separate and properly handle many logical XML files within a single physical file.
     

    Category: Circulation (500)


    • Article last edited: 17-May-2016
    View article in the Exlibris Knowledge Center
    1. Back to top
      • cir-05 retrieves too few records
      • cir-10 produces empty Courtesy notice
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Language
      English
      Product
      Aleph
    2. Tags
      1. cir-10
      2. contype:kba
      3. Prod:Aleph
      4. Type:General
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved