Configuring CloudBees Accelerator on Linux or Solaris

1 minute read

On RHEL 6, if Accelerator services are started from a shell (as opposed to at boot time), you might encounter errors such as

java.lang.OutOfMemoryError: unable to create new native thread

This type of error occurs because RHEL 6 greatly decreased the default maximum number of threads per user.

As a workaround, comment out the nproc line in the /etc/security/limits.d/90-nproc.conf file.

To get the maximum useful information from any core dumps that might occur under Solaris 10 systems (SPARC and x86), run coreadm -G all -I all ` (as superuser) at any time. This reconfigures the machine (persistently, in `/etc/coreadm.conf ) to include the maximum information in core dumps.