Jobs not automatically started. High waits on enq: JS - queue lock

(Doc ID 1928894.1)

Last updated on MAY 10, 2018

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.


Scheduler Jobs not starting at their schedule time.

Only if reset the Job_Queue_processes parameter to 0 and then with a value it would work for some time and start to hang again.

The AWR is showing high waits on enq: JS - queue lock as below:

Top 5 Timed Foreground Events

Event                                Waits Time(s) Avg wait (ms) % DB time Wait Class
enq: JS - queue lock             60   3,565             59419        41.12 Other

 The Hang Analysis show the CJQ0 process wait on:

Chain 1:
   Oracle session identified by:
               instance: 5 (cdp1p.cdp1p5)
                  os id: 7584
             process id: 52, oracle@wlm1l093 (CJQ0)



short stack: ksedsts()+461<-ksdxfstk()+32<-ksdxcb()+1876<-sspuser()+112<-__sighandler()<-semtimedop()+10<-skgpwwait()+160<-ksliwat()+1865<-kslwaitctx()+163<-ksqcmi()+6145<-ksqcnv()+566<-ksqcov()+41<-jsksCleanupQMemory()+485


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms