The rhel instance uses:
http://www.kernel.org/pub/linux/libs/pam/Linux-PAM-html/sag-pam_limits.html
with the following process limit:
limits_nproc=50 # max number of processes
On 7/20/11 4:38 AM, Remy Maucherat wrote:
On Tue, 2011-07-19 at 13:20 -0700, Scott Stark wrote:
> One problem people are running into in testing as7 openshift express
> cartridge is running out of threads. I need a configuration that has all
> of the subsystem thread pools/usage explicitly declared so that one
> knows that the upper bound on the thread is. The reason for this is that
> the server runs in a constrained environment that has an upper limit on
> the number of process(maps to native threads) the server can create.
> Right now there are no subsystems referring to a thread pool in the
> threads subsystem.
>
> At a minimum, there needs to be a sample standalone.xml configuration
> that is tested that illustrates how to do this if we are not going to do
> this by default.
Can you give details on the max amount of threads ?
The default config uses 46 threads after server startup, so if the
constraint is too low, it will simply kill the ability to process any
requests.