sorry: looks like that "ulimit -n 200000" does NOT works...

On Sunday, November 11, 2012 9:14:50 AM UTC-2, Maximiliano Guzenski wrote:
>
> I put on /etc/security/limits.conf  (and restart):
>
> ubuntu          hard    nofile           500000
> ubuntu          soft    nofile           450000
>
> why did it not affect "cat /proc/<pid>/limits" ?
>
>
>
> On Sunday, November 11, 2012 9:11:12 AM UTC-2, Maximiliano Guzenski wrote:
>>
>> looks like that "ulimit -n 200000" does works:
>>
>> cat /proc/3475/limits
>> Limit                     Soft Limit           Hard Limit           Units 
>>     
>> Max cpu time              unlimited            unlimited           
>>  seconds   
>> Max file size             unlimited            unlimited            bytes 
>>     
>> Max data size             unlimited            unlimited            bytes 
>>     
>> Max stack size            8388608              unlimited            bytes 
>>     
>> Max core file size        0                    unlimited            bytes 
>>     
>> Max resident set          unlimited            unlimited            bytes 
>>     
>> Max processes             13098                13098               
>>  processes 
>> Max open files            1024                 4096                 files 
>>     
>> Max locked memory         65536                65536                bytes 
>>     
>> Max address space         unlimited            unlimited            bytes 
>>     
>> Max file locks            unlimited            unlimited            locks 
>>     
>> Max pending signals       13098                13098               
>>  signals   
>> Max msgqueue size         819200               819200               bytes 
>>     
>> Max nice priority         0                    0                    
>> Max realtime priority     0                    0                    
>> Max realtime timeout      unlimited            unlimited            us 
>>
>> what can I do?
>>
>> On Saturday, November 10, 2012 11:48:58 PM UTC-2, mscdex wrote:
>>>
>>> On Nov 10, 7:33 pm, Maximiliano Guzenski <[email protected]> 
>>> wrote: 
>>> > I already setted "ulimit -n 200000" on linux, but it didn't fix this 
>>> issue. 
>>> > I changed /etc/limits.conf as well. 
>>>
>>> You can double check the values being used by finding your app's 
>>> process id and then `cat /proc/<pid>/limits` 
>>>
>>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to