Details
-
Bug
-
Resolution: Fixed
-
Major
-
6.6.0
-
Untriaged
-
1
-
Unknown
Description
Came across this while verifying MB-38890:
[nonroot@node1-mad-hatter-testing-centos7 bin]$ ./couchbase-server --s
|
./couchbase-server: illegal option -- -
|
|
The maximum number of processes for the couchbase user is set too low (4096).
|
It must be at least 10000.
|
|
Normally this can be increased by adding the following lines to
|
/etc/security/limits.conf:
|
|
couchbase soft nproc <value>
|
couchbase hard nproc <value>
|
|
Where <value> is greater than 10000. The procedure may be totally
|
different if you're running so called "non-root/non-sudo install" or
|
if you've built Couchbase Server from source.
|
|
|
The maximum number of open files for the couchbase user is set too low (1024).
|
It must be at least 70000.
|
|
Normally this can be increased by adding the following lines to
|
/etc/security/limits.conf:
|
|
couchbase soft nofile <value>
|
couchbase hard nofile <value>
|
|
Where <value> is greater than 70000. The procedure may be totally
|
different if you're running so called "non-root/non-sudo install" or
|
if you've built Couchbase Server from source.
|
|
Erlang/OTP 20 [erts-9.3.3.9] [source-e321575] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:16] [kernel-poll:false]
|
|
Eshell V9.3.3.9 (abort with ^G)
|
(babysitter_of_ns_1@cb.local)1>
|
Expected: ./couchbase-server: illegal option – - and exit gracefully