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

[Windows] Stat errors?: Swap usage showing 400%

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: UI
    • Security Level: Public
    • Labels:
      None
    • Environment:
      Windows 2.1.0-717-rel

      Description

      Page File size allocated: 4176MB
      Swap usage as per UI on that server (in the buckets tab) is at around 200MB

      But the Swap usage in percentage on the servers tab keeps increasing (snap shot at 400% attached).
      (Noted this number during rebalance, never came back down after rebalance though)

      The task manager process performance screenshots show that memory usage is at around 80-90%, and there are a few hard faults observed.

      Attaching memcached and erlang' process dumps (from task manager, if this helps):
      https://s3.amazonaws.com/bugdb/MB~/erl.zip
      https://s3.amazonaws.com/bugdb/MB~/memcached.zip

      # Subject Project Status CR V
      For Gerrit Dashboard: &For+MB-8461=message:MB-8461

        Activity

        abhinav Abhinav Dangeti created issue -
        abhinav Abhinav Dangeti made changes -
        Field Original Value New Value
        Description
        Page File size allocated: 4176MB
        Swap usage as per UI on that server (in the buckets tab) is at around 200MB

        But the Swap usage in percentage on the servers tab keeps increasing (snap shot at 400% attached).

        The task manager process performance screenshots show that memory usage is at around 80-90%, and there are a few hard faults observed.

        Attaching memcached and erlang' process dumps (from task manager, if this helps):
        https://s3.amazonaws.com/bugdb/MB~/erl.zip
        https://s3.amazonaws.com/bugdb/MB~/memcached.zip
        Page File size allocated: 4176MB
        Swap usage as per UI on that server (in the buckets tab) is at around 200MB

        But the Swap usage in percentage on the servers tab keeps increasing (snap shot at 400% attached).
        (Noted this number during rebalance, never came back down after rebalance though)

        The task manager process performance screenshots show that memory usage is at around 80-90%, and there are a few hard faults observed.

        Attaching memcached and erlang' process dumps (from task manager, if this helps):
        https://s3.amazonaws.com/bugdb/MB~/erl.zip
        https://s3.amazonaws.com/bugdb/MB~/memcached.zip
        abhinav Abhinav Dangeti made changes -
        Environment Windows 2.1.0 Windows 2.1.0-717-rel
        siri Sriram Melkote made changes -
        Assignee Aleksey Kondratenko [ alkondratenko ] Sriram Melkote [ siri ]
        Hide
        siri Sriram Melkote added a comment - - edited

        On Gerrit:
        http://review.couchbase.org/#/c/26941/

        The fix for 2.1.0 to this is to calculate the current page file extent using commit limit minus physical memory. This multiplied by usage fraction gives accurate estimate of actual page file size (and this is different than what appears under "Page File" of task manager, which is maximum potential usage).

        However, for next minor release, we must replace the Swap Percentage Use indicator with either the ratio of Page File Size to Physical RAM, or just total page file size.

        This is because page file size can be dynamic (and is so by default on Windows) and vary widely in size on identical machines. On Windows, where past maximum memory requirement largely determines the maximum page size. So 10% page file usage on a machine with a big page file may represent a bad memory situation, while it may be perfectly normal elsewhere.

        Show
        siri Sriram Melkote added a comment - - edited On Gerrit: http://review.couchbase.org/#/c/26941/ The fix for 2.1.0 to this is to calculate the current page file extent using commit limit minus physical memory. This multiplied by usage fraction gives accurate estimate of actual page file size (and this is different than what appears under "Page File" of task manager, which is maximum potential usage). However, for next minor release, we must replace the Swap Percentage Use indicator with either the ratio of Page File Size to Physical RAM, or just total page file size. This is because page file size can be dynamic (and is so by default on Windows) and vary widely in size on identical machines. On Windows, where past maximum memory requirement largely determines the maximum page size. So 10% page file usage on a machine with a big page file may represent a bad memory situation, while it may be perfectly normal elsewhere.
        rmayuram Ravi Mayuram made changes -
        Fix Version/s 2.1.0 [ 10418 ]
        Hide
        rmayuram Ravi Mayuram added a comment -

        Deferring to 2.1.1.

        Show
        rmayuram Ravi Mayuram added a comment - Deferring to 2.1.1.
        Hide
        siri Sriram Melkote added a comment -

        Alk has rolled everything back to portsigar, so this bug (though fixed) is no longer applicable.

        Show
        siri Sriram Melkote added a comment - Alk has rolled everything back to portsigar, so this bug (though fixed) is no longer applicable.
        siri Sriram Melkote made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Won't Fix [ 2 ]
        maria Maria McDuff (Inactive) made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            siri Sriram Melkote
            Reporter:
            abhinav Abhinav Dangeti
          • Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Gerrit Reviews

              There are no open Gerrit changes