RFR [XS] : 8204598 : add more thread-related system settings info to hs_error file on Linux
matthias.baesken at sap.com
Fri Jun 8 08:30:51 UTC 2018
Thanks ! Can I please get a second review ?
> -----Original Message-----
> From: David Holmes [mailto:david.holmes at oracle.com]
> Sent: Freitag, 8. Juni 2018 10:10
> To: Baesken, Matthias <matthias.baesken at sap.com>; 'hotspot-
> dev at openjdk.java.net' <hotspot-dev at openjdk.java.net>
> Cc: Stuefe, Thomas <thomas.stuefe at sap.com>
> Subject: Re: RFR [XS] : 8204598 : add more thread-related system settings
> info to hs_error file on Linux
> Hi Matthias,
> This seems okay.
> Not sure how useful max_map_count may be.
> On 8/06/2018 6:04 PM, Baesken, Matthias wrote:
> > Hi could you please review this small Linux related change ?
> > In linux os::print_os_info , I print additional info about a number of
> system parameters influencing thread creation on Linux.
> > We noticed the influence of these parameters when looking into an
> application creating over 10.000 threads on Linux at the same time; there we
> got an OOM : unable to create new native thread
> > which was caused by a failing pthread_create (error EAGAIN) .
> > The machine had plenty of memory, so we looked into various kernel
> params and in the end noticed that /proc/sys/kernel/pid_max was too low.
> > The other added parameters "threads-max" and "max_map_count" are
> also known to be related to problems when running with high thread
> numbers, so I add them too .
> > Webrev :
> > http://cr.openjdk.java.net/~mbaesken/webrevs/8204598/
> > Bug :
> > https://bugs.openjdk.java.net/browse/JDK-8204598
> > Thanks, Matthias
More information about the hotspot-dev