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

  • Home
  • SEARCH
  • 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 400023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T16:54:13+00:00 2026-05-12T16:54:13+00:00

Number of tasks (threads) submitted is also not huge in this test scenario.

  • 0

Number of tasks (threads) submitted is also not huge in this test scenario.

  • 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-12T16:54:14+00:00Added an answer on May 12, 2026 at 4:54 pm

    You’ll need to provide code samples of how you instantiate and call submit on the pool (IP should be a non-issue here as we don’t need details of the internals of your Callable classes or anything like that).

    Based on the information that you’ve given, you’re almost certainly shutting down the executor service somewhere before submitting the callable to it. Check if you make any calls to shutdown or shutdownNow, and if so ensure that you’re not adding tasks after this point.

    Beyond that, you may want to register your own implementation of java.util.concurrent.RejectedExecutionHandler in order to aid in debugging; its rejectedExecution message will be called whenever the executor is unable to accept a task, so you could put some rudimentary state-inspection logic there to help you find the cause.

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

Sidebar

Related Questions

This somehow simple task is not so simple. I can get the number of
My program creates some threads for some tasks. My code is like this: Dictionary<int,
My Rails application has a number of tasks which are offloaded into background processes,
A number of team members update a central ASP.NET dev Website project, not a
I have a number of asynchronous tasks to run in parallel. All the tasks
In my ASP.NET MVC application I have a number of threads that wait for
Situation: I am writing a program in C that maintains a number of threads.
I have an app with about 15 threads. Most do mundane tasks and sleep
OK, as I understand it, the .NET Threadpool maintains a number of background threads
My goal is to write a program that handles an arbitrary number of tasks

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.