• AllocHandle: OUT OF PRIVATE HANDLES!

    By Johann Hjaltason 2 decades ago

    Setup:

    Redhat Linux 9 on Domino 6.5



    Hi



    Before installing 0.99d I had the IDEnumerate error. Now after installing 0.99d the server runs for a day or two and then mailscan stops scanning and delivering mail with following in the log file (and on screen)



    MailScan-Addin: Can't open mail in mail.box. Already routed



    From the log file, showing the part where it starts:



    16-09-2004 20:32:57: MailScan-Addin: MailScanNoteProcessed==TRUE found

    16-09-2004 20:32:57: MailScan-Addin: MailScanNoteProcessed==TRUE found

    16-09-2004 20:33:07: MailScan-Addin: MailScanNoteProcessed==TRUE found

    16-09-2004 20:33:07: MailScan-Addin: MailScanNoteProcessed==TRUE found

    16-09-2004 20:33:07: MailScan-Addin: MailScanNoteProcessed==TRUE found

    16-09-2004 20:33:17: MailScan-Addin: Can't open mail in mail.box. Already routed

    16-09-2004 20:33:17: MailScan-Addin: Can't open mail in mail.box. Already routed

    16-09-2004 20:33:17: MailScan-Addin: Can't open mail in mail.box. Already routed

    16-09-2004 20:33:27: MailScan-Addin: Can't open mail in mail.box. Already routed

    16-09-2004 20:33:27: MailScan-Addin: Can't open mail in mail.box. Already routed

    16-09-2004 20:33:27: MailScan-Addin: Can't open mail in mail.box. Already routed

    16-09-2004 20:33:37: MailScan-Addin: Can't open mail in mail.box. Already routed

    16-09-2004 20:33:37: MailScan-Addin: Can't open mail in mail.box. Already routed



    But what is more interesting is that at the same time it also starts to display on the console:



    AllocHandle: OUT OF PRIVATE HANDLES! – pid 000032BF Handles used so far 6399, Maximum handles 17188, error = 0x107



    With a different pid and maximum handles for different crashes (handles used so far is always the same, 6399 and the error too, 0x107).



    What is common between crashes is that a mail with an attachment is dead in the mail router and

    produces the following line in the log (see also above) and has done that for many hours (even a day or two) before the crash:



    MailScan-Addin: MailScanNoteProcessed==TRUE found



    Thanks for the initiative and great work,

    Johann

    • Fixed in 0.99d2

      By Hans-Georg Franke 2 decades ago

      Forgot only one NSFNoteClose.

      • Thanks for fast response

        By Johann Hjaltason 2 decades ago

        The 0.99d2 version has been running for close to 24 hours now and everything looks OK.

        Will let you know if anything happens.



        Thanks for fast response.

        JH