Details
Description
For not root installs Couchbase server is launched via /bin/couchbase-server -- -noinput -detached. This script should warn if the open file descriptor limit is less than is specified in the init.d script. Currently it checks if ulimit is greater than 10240.
The couchbase-server script is not running as root and can't set the hard ulimit. It has historically simply warned if the limit is less than a given value; I propose for 3.1.2 we preserve that behavior.
http://src.couchbase.org/source/xref/3.1.0/ns_server/couchbase-server.sh.in#54
(With apologies to Patrick Varley, who's ticket I modified to put in 3.1.2. Patrick - if you still think we should try and raise the soft limit to 40960 and fail if we get an error in couchbase-server, then let's talk.)
Attachments
Issue Links
- blocks
-
MB-16413 3.1.2 Minor Release
- Closed
For Gerrit Dashboard: MB-16404 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
56168,3 | MB-16404: Increase the limit for testing ulimit on startup | rel-3.0.0++ | ns_server | Status: MERGED | +2 | +1 |
56173,1 | MB-16404: Fix warning text for number of open files | rel-3.0.0++ | ns_server | Status: ABANDONED | 0 | +1 |
56178,1 | Merge remote-tracking branch 'gerrit/rel-3.0.0++' | rel-3.0.0++ | ns_server | Status: ABANDONED | 0 | 0 |
56179,1 | Merge remote-tracking branch 'gerrit/rel-3.0.0++' | sherlock | ns_server | Status: MERGED | +2 | +1 |
56180,1 | Merge remote-tracking branch 'gerrit/sherlock' | master | ns_server | Status: MERGED | +2 | +1 |