Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4018540
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:59:43+00:00 2026-05-20T09:59:43+00:00

I have 2 scheduler jobs, that run different scheduler programs. Each of scheduler program

  • 0

I have 2 scheduler jobs, that run different scheduler programs. Each of scheduler program run the same procedure but with different arguments.

There is a dbms_lock.sleep(N); in a procedure.

I’ve noticed that when 1 scheduler jobs is going to sleep – another one sleeps too. Until first one wakes up.

In the scheduler logs I’ve found, that both scheduler jons have different session id, but the same Slave PID.

Can this be an issue? If so – how to run the jobs with different slave pids?

UPD:

Updated MAX_JOB_SLAVE_PROCESSES to 20. Now slave pids are different, but dehaviour have not changed.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T09:59:44+00:00Added an answer on May 20, 2026 at 9:59 am

    If you are on a *nix platform, the PID points towards the shadow *nix process that is executing the code in question. Generally with dedicated servers, each session will have its own shadow process. In shared server you’d have a pool of *nix processes and the sessions pick an available one from the pool. If none are available, and the maximum number of shared server processes have already been started, then the session waits.

    A similar situation applies for DBMS_JOB, with the maximum set by JOB_QUEUE_PROCESSES, and DBMS_SCHEDULER (MAX_JOB_SLAVE_PROCESSES). It may choose to start less.

    Note: While it is executing DBMS_LOCK.SLEEP, it is still in a code path and still ‘running’. Just not doing anything useful.

    PS. Not sure how PID works on Windows, which operates as threads within a single process rather than as multiple distinct processes.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a method that is invoked by a scheduler every minute to get
I have found that I often have to implement some sort of a scheduler
I have an ASP.NET forms app that allows users to run some management reports.
I'm writing a script in Perl that needs to run at the same time
I have a 'long' python script that takes roughly 45[min] to run. I use
I'm trying to run the Fair Scheduler, but it's not assigning Map tasks to
I am working on a windows service application that is supposed to run jobs
We have a very large number of SSIS jobs that are scheduled every evening/early
I'm having some issues with jenkins and gerrit. We have some jobs that verifies
I have a method which is actually a scheduler which runs a process in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.