Uploaded image for project: 'Couchbase Server'
  1. Couchbase Server
  2. MB-7296

memcached.log file max size is 10*100MB but could be 200MB instead to be consistent with other log files under logs folder

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 3.0
    • Component/s: ns_server
    • Security Level: Public
    • Labels:

      Description

      got collect info from a customer and saw this

      drwxr-xr-x@ 16 farshid staff 544B Nov 30 11:53 .
      drwxr-xr-x 5 farshid staff 170B Nov 30 11:53 ..
      rw------@ 1 farshid staff 1.1M Nov 30 2012 couchbase.log
      rw------@ 1 farshid staff 1.1K Nov 30 2012 ddocs.log
      rw------@ 1 farshid staff 87M Nov 30 2012 diag.log
      rw------@ 1 farshid staff 809M Nov 30 2012 memcached.log
      rw------@ 1 farshid staff 40M Nov 30 2012 ns_server.couchdb.log
      rw------@ 1 farshid staff 188M Nov 30 2012 ns_server.debug.log
      rw------@ 1 farshid staff 8.3M Nov 30 2012 ns_server.error.log
      rw------@ 1 farshid staff 55M Nov 30 2012 ns_server.info.log
      rw------@ 1 farshid staff 223B Nov 30 2012 ns_server.mapreduce_errors.log
      rw------@ 1 farshid staff 192M Nov 30 2012 ns_server.stats.log
      rw------@ 1 farshid staff 746K Nov 30 2012 ns_server.views.log
      rw------@ 1 farshid staff 7.5K Nov 30 2012 ns_server.xdcr.log
      rw------@ 1 farshid staff 213B Nov 30 2012 ns_server.xdcr_errors.log
      rw------@ 1 farshid staff 735K Nov 30 2012 stats.log

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

        Activity

        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        according to https://github.com/couchbase/ns_server/blob/master/doc/log-files-setup.txt
        >>All files are set to rotate after 10M. And there's limit of 20 files
        >>per log. So in total thats 200M per log.

        this file size was bigger than 200MB per log that is mentioned here but not more than 10*100MB = 1GB that you mentioned.

        Show
        farshid Farshid Ghods (Inactive) added a comment - according to https://github.com/couchbase/ns_server/blob/master/doc/log-files-setup.txt >>All files are set to rotate after 10M. And there's limit of 20 files >>per log. So in total thats 200M per log. this file size was bigger than 200MB per log that is mentioned here but not more than 10*100MB = 1GB that you mentioned.
        Hide
        alkondratenko Aleksey Kondratenko (Inactive) added a comment -

        Well 200 megs is for ns_server's logs. I'm fine to lower it to 200 megs for memcached as well

        Show
        alkondratenko Aleksey Kondratenko (Inactive) added a comment - Well 200 megs is for ns_server's logs. I'm fine to lower it to 200 megs for memcached as well
        Hide
        farshid Farshid Ghods (Inactive) added a comment -

        its up to ep-engine and bucket engine team to decide . as long as this is bounded that is a non-major bug

        Show
        farshid Farshid Ghods (Inactive) added a comment - its up to ep-engine and bucket engine team to decide . as long as this is bounded that is a non-major bug
        Hide
        mikew Mike Wiederhold added a comment -

        Alk,

        I have discussed this with the rest of the ep-engine team and we are okay with you making these changes to the log file size. My understanding is that all of the changes related to this ticket are on the ns_server side. If I am incorrect please let me know.

        Show
        mikew Mike Wiederhold added a comment - Alk, I have discussed this with the rest of the ep-engine team and we are okay with you making these changes to the log file size. My understanding is that all of the changes related to this ticket are on the ns_server side. If I am incorrect please let me know.
        Show
        artem Artem Stemkovski added a comment - http://review.couchbase.org/28986

          People

          • Assignee:
            thuan Thuan Nguyen
            Reporter:
            farshid Farshid Ghods (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes