Uploaded image for project: 'Couchbase Documentation'
  1. Couchbase Documentation
  2. DOC-9838

Non root install: 7.0.2 fails with:open files for the couchbase user is set too low (70000)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Critical
    • 7.0.0, 7.0.1, 7.0.2
    • 7.0.0, 7.0.1, 7.0.2, 7.2.3, 7.2.4
    • tools
    • None
    • 1

    Description

      https://docs.couchbase.com/server/current/install/non-root.html

      Followed the above documentation to install 7.0.4-7220. could able to install but while starting server, we see below error:

      [username@cluster-g3 cb-install]$ cd ..
      [username@cluster-g3 tmp]$ cd ./cb-install/opt/couchbase/bin
      [username@cluster-g3 bin]$ ./couchbase-server --start
       
      The maximum number of open files for the couchbase user is set too low (70000).
      It must be at least 200000.
       
      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 200000. 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 non root user is set to 70000 as mentioned in the document. Either documentation to be updated or above error message to be fixed.

      After setting it to 200000, could able to start the server.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              ray.offiah Ray Offiah
              girish.benakappa Girish Benakappa
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty