Thank you for your fast reply.
I solved the problem by changing the stuff class
staff:\
:datasize-cur=infinity:\
:datasize-max=infinity:\
:maxproc-max=512:\
:maxproc-cur=512:\
:ignorenologin:\
:requirehome@:\
:tc=default:
#staff:\
# :datasize-cur=1536M:\
# :datasize-max=infinity:\
# :maxproc-max=512:\
# :maxproc-cur=256:\
# :ignorenologin:\
# :requirehome@:\
# :tc=default:
I dont like my solution since it change the limit for all the
application im running. I think your solution is better.
Thanks again.
On 04/25/17 13:36, Caspar Schutijser wrote:
> On Tue, Apr 25, 2017 at 01:12:16PM +0300, G wrote:
>> I should add that intellij run as a root without any problems.
>> I tried change the login.conf default values to
>> "
>> default:\
>> :path=/usr/bin /bin /usr/sbin /sbin /usr/X11R6/bin /usr/local/bin
>> /usr/local/sbin:\
>> :umask=022:\
>> :datasize-max=infinity:\
>> :datasize-cur=768M:\
>> :maxproc-max=infinity:\
>> :maxproc-cur=128:\
>> :openfiles-max=1024:\
>> :openfiles-cur=512:\
>> :stacksize-cur=8M:\
>> :localcipher=blowfish,a:\
>> :tc=auth-defaults:\
>> :tc=auth-ftp-defaults:
>> "
>>
>> but it didnt help at all.
>
> What you could consider for now:
>
> $ ulimit -d 2048000
> $ intellij
>
> I have a ${HOME}/bin/intellij which does that for me. Although now that
> I think about it, it is probably better to put that stuff in
> /usr/local/bin/intellij so users of the intellij port don't need to
> do "ulimit -d" themselves. I will work on something (probably I'll
> borrow the mechanism used by the chromium port) and send a diff to
> ports@. So hopefully soon you won't need to do the "ulimit -d"
> yourself.
>
> Best regards,
> Caspar Schutijser
>