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

memcached file logger should flush it's buffered logs periodically

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Blocker
    • 2.0-beta
    • 2.0-beta
    • couchbase-bucket
    • Security Level: Public
    • None

    Description

      Could be caused by buffering inside libz but on old node I'm seeing zero sized log file. And that seems to be case on all other nodes I've seen.

      [root@orange-2903 log]# lsof -np 2057 | grep log
      memcached 2057 couchbase mem REG 253,0 235494 1201898 /opt/couchbase/lib/memcached/file_logger.so
      memcached 2057 couchbase 3w REG 253,0 0 1210879 /opt/couchbase/var/lib/couchbase/log/memcached.log.3.gz
      [root@orange-2903 log]# ls -l /opt/couchbase/var/lib/couchbase/log/memcached.log.3.gz
      rw-rr- 1 couchbase couchbase 0 Aug 17 18:55 /opt/couchbase/var/lib/couchbase/log/memcached.log.3.gz
      [root@orange-2903 log]#

      That kind of sucks

      Attachments

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

        Activity

          People

            trond Trond Norbye
            alkondratenko Aleksey Kondratenko (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty