spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chan Chor Pang <>
Subject Re: java.lang.OutOfMemoryError: unable to create new native thread
Date Mon, 31 Oct 2016 01:15:50 GMT
not sure for ubuntu, but i think you can just create the file by yourself
the syntax will be the same as /etc/security/limits.conf

nproc.conf not only limit java process but all process by the same user

so even the jvm process does nothing,  if the corresponding user is busy 
in other way
the jvm process will still not able to create new thread.

btw the default limit for centos is 1024

On 10/31/16 9:51 AM, kant kodali wrote:
> On Sun, Oct 30, 2016 at 5:22 PM, Chan Chor Pang 
> < <>> wrote:
>     /etc/security/limits.d/90-nproc.conf
> Hi,
> I am using Ubuntu 16.04 LTS. I have this directory 
> /etc/security/limits.d/ but I don't have any files underneath it. This 
> error happens after running for 4 to 5 hours. I wonder if this is a GC 
> issue? And I am thinking if I should use CMS. I have also posted this 
> on SO since I havent got much response for this question 
> Thanks,
> kant

陳 楚鵬

TEL:011-206-9235 FAX:011-206-9236

東京都港区芝5丁目29番20号 クロスオフィス三田
TEL:03-6809-6502 FAX:03-6809-6504

愛知県名古屋市中区丸の内3丁目17番24号 NAYUTA BLD

View raw message