Le 31/01/2017 à 21:24, Ryan Moriarty a écrit :
I'm having difficulty with asynchronous jobs not completing. Many jobs
finish normally, but most show "Running" into perpetuity. I see no pattern
in services that finish and services that continue running indefinitely. I
have five invoker threads that appear to always be sleeping. We're using a
single-server config. This is my thread pool config:

  <thread-pool send-to-pool="pool"
                      purge-job-days="4"
                      failed-retry-min="3"
                      ttl="18000000"
                      wait-millis="750"
                      jobs="10"
                      min-threads="5"
                      max-threads="15"
                      poll-enabled="true"
                      poll-db-millis="20000">
             <run-from-pool name="pool"/>

I saw a message that suggested I would be out of heap space, but my max
heap size is 5280M, and we have only ~100 concurrent users, so that doesn't
seem like an issue. Could it be a deadlock? How would I resolve that? Any
suggestions are welcome.

Ryan Moriarty
Software Developer
Able Aerospace Services


Hi Ryan,

Which OFBiz version are you using?

With jobs=10, don't you ever get "Unable to queue job" exceptions?

And why did you change the default setting at large?

Jacques

Reply via email to