Hi ,
I am getting below in K8s POD logs . I need to perform some test for which I need open files to be increased . How can I do that ? I have tried steps to modify limits.conf and its not working and not reflecting
kubectl logs cb-rate360-adc-0000
Starting Couchbase Server – Web UI available at http://:8091
and logs available in /opt/couchbase/var/lib/couchbase/logs
chown: changing ownership of ‘var/lib/couchbase/inbox/…data’: Read-only file system
chown: changing ownership of ‘var/lib/couchbase/inbox/chain.pem’: Read-only file system
chown: changing ownership of ‘var/lib/couchbase/inbox/pkey.key’: Read-only file system
chown: changing ownership of ‘var/lib/couchbase/inbox/…2020_01_07_05_51_02.962614939/pkey.key’: Read-only file system
chown: changing ownership of ‘var/lib/couchbase/inbox/…2020_01_07_05_51_02.962614939/chain.pem’: Read-only file system
chown: changing ownership of ‘var/lib/couchbase/inbox/…2020_01_07_05_51_02.962614939’: Read-only file system
chown: changing ownership of ‘var/lib/couchbase/inbox’: Read-only file system
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
couchbase hard nofile
Where 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.
2020-01-07 05:51:16 cb_dist: Starting cb_dist with config ~p
2020-01-07 05:51:16 cb_dist: Initial protos: ~p, required protos: ~p
[inet_tcp_dist,inet6_tcp_dist]
[inet_tcp_dist]
2020-01-07 05:51:16 cb_dist: Starting ~p listener on ~p…
inet_tcp_dist
21200
2020-01-07 05:51:16 cb_dist: Starting ~p listener on ~p…
inet6_tcp_dist
21200