[DOCS-4112] Comment on: "manual/reference/ulimit.txt" Created: 30/Sep/14  Updated: 16/Mar/15  Resolved: 15/Oct/14

Status: Closed
Project: Documentation
Component/s: manual
Affects Version/s: None
Fix Version/s: v1.3.12

Type: Bug Priority: Major - P3
Reporter: Alexander Komyagin Assignee: Michael Paik
Resolution: Done Votes: 0
Labels: collector-298ba4e7
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Location: http://docs.mongodb.org/manual/reference/ulimit/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/536.29.13 (KHTML, like Gecko) Version/6.0.4 Safari/536.29.13
Referrer: http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CCAQFjAA&url=http%3A%2F%2Fdocs.mongodb.org%2Fmanual%2Freference%2Fulimit&ei=8OIqVMyrJIayyASix4LQCg&usg=AFQjCNFeeqicsBvespL-TNvusJRVgMwqPw&bvm=bv.76477589,d.aWw
Screen Resolution: 1440 x 900
repo: docs
source: reference/ulimit


Participants:
Days since reply: 9 years, 18 weeks ago

 Description   

SLES 11 is known to have a 8GB default virtual memory limit. See SERVER-642.

It might be worthwhile making a highlighted note about it, as you must adjust your ulimits or you will have issues with your DB growing past 4GB size.



 Comments   
Comment by Githook User [ 15/Oct/14 ]

Author:

{u'username': u'mpaik', u'name': u'Michael Paik', u'email': u'michael.paik@10gen.com'}

Message: DOCS-4112 - clarify need to change ulimit on SLES/SUSE

Signed-off-by: Sam Kleinman <samk@10gen.com>
Branch: master
https://github.com/mongodb/docs/commit/2a75fbfe6f9974555915681e56762ec6ba974bd9

Comment by Alexander Komyagin [ 30/Sep/14 ]

mongod init script from suse repo has this line in it:

# avoid hitting virtual memory limits with mmaps (bnc#876326)
ulimit -v unlimited

The default soft limit on SUSE is 8GB:

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        1024                 unlimited            bytes
Max resident set          887111680            unlimited            bytes
Max processes             7877                 7877                 processes
Max open files            1024                 8192                 files
Max locked memory         65536                262144               bytes
Max address space         834928640            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       7877                 7877                 signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us

Generated at Thu Feb 08 07:47:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.