Topic:   [WmAuditingSC.queue.2406E] AuditQueueWorker for queue -Security Queue- failed to log event to destination -CoreAuditDBDest-
Jul 16, 2012 15:28 4 Replies 6644 Views Raj Kumar
Prev Next
Topic Replies (4)
  1. 1
    idnkx user

    Raj Kumar

    We are getting the below error(stack trace) quite often from IS and service mails, could any one let us know how can we resolve these error permanently.


    Cache Invalidation Thread started with sleep of 60000ms

    [3420]2012-06-29 10:25:00 CEST [WmAuditingSC.queue.2406E] AuditQueueWorker for queue 'Security Queue' failed to log event to destination 'CoreAuditDBDest'; reason 'unable to create new native thread'; stack trace follows
    [3419]2012-06-29 10:25:00 CEST [WmAuditingSC.destination.1122E] Destination 'CoreAuditDBDest' caught unexpected Throwable logging audit event: unable to create new native thread


    [b]java.lang.OutOfMemoryError: unable to create new native thread[/b]
    at java.lang.Thread.start0(Native Method)
    at java.lang.Thread.start(Thread.java:597)
    at com.wm.dd.jdbc.oraclebase.BaseConnectionStartup.(Unknown Source)
    at com.wm.dd.jdbc.oraclebase.BaseConnection$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.wm.dd.jdbc.oraclebase.BaseConnection.setupImplConnection(Unknown Source)
    at com.wm.dd.jdbc.oraclebase.BaseConnection.open(Unknown Source)
    at com.wm.dd.jdbc.oraclebase.BaseDriver.connect(Unknown Source)
    at java.sql.DriverManager.getConnection(DriverManager.java:582)
    at java.sql.DriverManager.getConnection(DriverManager.java:185)
    at com.wm.app.jdbc.JDBCConnection.(JDBCConnection.java:42)
    at com.wm.app.jdbc.JDBCConnectionPool.getAvailConnection(JDBCConnectionPool.java:251)
    at com.wm.app.jdbc.JDBCConnectionPool.getConnection(JDBCConnectionPool.java:133)
    at com.wm.app.jdbc.JDBCConnectionPool.getConnection(JDBCConnectionPool.java:120)
    at com.wm.app.jdbc.JDBCConnectionPool.getConnection(JDBCConnectionPool.java:116)
    at com.wm.app.b2b.server.tx.TXDBJobStore.haveLock(TXDBJobStore.java:1572)
    at com.wm.app.b2b.server.tx.TXDBJobStore.endSweep(TXDBJobStore.java:1309)
    at com.wm.app.b2b.server.TXJobMgr.cleanup(TXJobMgr.java:756)
    at com.wm.app.b2b.server.TXJobMgr.run(TXJobMgr.java:824)
    at java.lang.Thread.run(Thread.java:619)

    1
    idnkx user

    Vikram

    Solution is to restart the IS to release all the threads :) . Refer:

    https://advantage.webmethods.com/adv...oid=1614332926

    1
    idnkx user

    Raj Kumar

    Vikram,

    If we keep restarting IS whenever we get this error it will not resolve the issue permanantly. I want a permanent solution, let me know if you got any experience resolving these errors.

    Available Thread Warning Threshold Exceeded
    2003-04-25 14:22:20 PDT [ISS.0014.0020D] Available Thread Pool Warning Threshold Exceeded: 0% available

    Regards,
    Raj

    1
    idnkx user

    Vikram

    Raj,

    Based on the stack trace its clear that your IS was unable to create new native thread. Go to IS Admin page -> Resources -> Server thread pool, you can find your configuration for Available threads, maximum threads and minimum threads. Check how many running/available threads when this happens. if you still have free memory when it's happening, and you running out of thread, you can increase the max thread setting.

    If you have set to maximum threads and you get these errors then you have to analyze your thread configurations, services and other IS resources and make sure IS will be not exceeding maximum configured threads.

    Go to IS Admin console -> Messaging -> and checkout the maximum threads for your triggers for each of your application/Queue/message. Since these threads you configure here can in turn form child threads in multiples, so its bit risk involved if you are processing heavy volumes of feed. Analyze these properly and try to limit the count.

Leave a Reply
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect