Messaging Gateway

 View Only

PGP Universal Server - out of memory

  • 1.  PGP Universal Server - out of memory

    Posted Jul 04, 2014 03:14 AM

    Hi,

    from about 1 month i have strange problem with pgp server. At night it hung up with this info in logs:

    Log: Mail Display Information

    SMTP-11540: St9bad_alloc
    SMTP-11539: Couldn't re-read trusted keys: unable to determine error -- out of memory?
    SMTP-LISTEN-00: Error: couldn't start SMTP handler thread: unable to determine error -- out of memory?
    SMTP-LISTEN-00: Error creating thread: Cannot allocate memory    
    SMTP-LISTEN-00: Error: couldn't start SMTP handler thread: unable to determine error -- out of memory?
    SMTP-LISTEN-00: Error creating thread: Cannot allocate memory
    SMTP-11539: lost connection to database - reconnecting
    SMTP-11538: pgpproxy: unable to create proxy error=-11999 (out of memory)
    SMTP-11538: Couldn't re-read trusted keys: unknown error
    SMTP-11537: pgpproxy: unable to create proxy error=-11999 (out of memory)
    SMTP-11537: Couldn't re-read trusted keys: unknown error

    SMTP-11419: error handling SMTP DATA event: error importing XML text chain

    SMTP-11419: pgpproxy: Error processing SMTP message, awaiting next client command. (-11980).

    SMTP-11417: pgpproxy: not enough contiguous memory to read in message error=-11999 (out of memory)

     

    Log: Administration Display:Information

    Got messaging exception when trying to send daily email
    EXCEPTION STACK TRACE:
    javax.mail.SendFailedException: Sending failed;
    nested exception is:
            class javax.mail.MessagingException: Could not connect to SMTP host: localhost, port: 2525
            at javax.mail.Transport.send0(Transport.java:218)
            at javax.mail.Transport.send(Transport.java:80)
            at com.pgp.omc.AdminDailyEmail.fireEmail(AdminDailyEmail.java:415)
            at com.pgp.omc.AdminDailyEmail.sendMail(AdminDailyEmail.java:149)
            at com.pgp.omc.AdminDailyEmail.main(AdminDailyEmail.java:1240)

    No emails are sending when this is happend. First I have it installed on vm, so i thought that maybe this is problem with virtualization but second I migrate it physical server and problem persists. PGP on physical machine wasn't recovered from backup (I suspect that maybe in backup are some errors, because somethimes when server hang up and i restarted all services it refused to talk on any ports i restored it from backup, and two times latest backup doesn't work), only clustered with old machine and next i remove cluster.

    When I restart all services pgp start to work but problem persist, restart all services from cron isn't solution.

    Details:

    1. Physical server

    PGP Universal Server 3.0.2 Build (112)

    Mem:   8310424k total

    Swap:  2096472k total

    CPU: Intel(R) Xeon(R) CPU X3330  @ 2.66GHz

    2. Virtual server

    PGP Universal Server 3.0.2 Build (112)

    MEM: 6GB

    CPU: 2 virtual cores