Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to set a webapp to run on a certain number of cores/ or all of them, on the server(depending on configuration). The webapp will be running on any one of the following application server's.

Apache Tomcat
webspere 7.0 or higher
Jboss 4 or higher
share|improve this question
I would expect this to be a function of the various operating systems, not of the JEE servers themselves. Maybe, maybe some JVMs might have options to support it on some OSes, but that's just a guess. There are a bunch of web search results about limiting processes to cores, and they seem to be OS-specific. – dbreaux Aug 2 '12 at 14:56
This is probably what you are looking for:… – Tim Funk Oct 1 '12 at 13:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.