Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12527

Add a stat to track internal pages that are skipped to queue for eviction.

    • 5
    • 2024-03-19 - PacificOcean, 2024-04-02 - GreatMugshot, 나비 (nabi) - 2024-04-16

      split-stress-test on rhel8-ppc

      Host: rhel81-ppc-16.pic.build.10gen.cc
      Project: wiredtiger
      Commit: 4fb0b3ff

      Task Logs:

      split-stress-test task_log

      Logs:

      [1708591356:403285][23295:0x7fff8f64f170], eviction-server: [WT_VERB_DEFAULT][ERROR]: int __evict_server(WT_SESSION_IMPL *, _Bool *), 496: Cache stuck for too long, giving up: Connection timed out
      
      

      logs

      split-stress-test task_log

      Logs:

      transaction state dump
      current ID: 103443412
      last running ID: 103443411
      metadata_pinned ID: 95837970
      oldest ID: 95837970
      durable timestamp: (0, 0)
      oldest timestamp: (0, 0)
      pinned timestamp: (0, 0)
      stable timestamp: (0, 0)
      has_durable_timestamp: no
      has_oldest_timestamp: no
      has_pinned_timestamp: no
      has_stable_timestamp: no
      oldest_is_pinned: no
      stable_is_pinned: no
      checkpoint running: no
      checkpoint generation: 1
      checkpoint pinned ID: 0
      checkpoint txn ID: 0
      session count: 38
      Transaction state of active sessions:
      ID: 0, pinned ID: 95837970, metadata pinned ID: 0, name: WT_CURSOR.insert
      transaction id: 0, mod count: 0, snap min: 95837970, snap max: 95837996, snapshot count: 6, commit_timestamp: (0, 0), durable_timestamp: (0, 0), first_commit_timestamp: (0, 0), prepare_timestamp: (0, 0), pinned_durable_timestamp: (0, 0), read_timestamp: (0, 0), checkpoint LSN: [0][0], full checkpoint: false, rollback reason: , flags: 0x00102008, isolation: WT_ISO_SNAPSHOT
      ID: 0, pinned ID: 103443399, metadata pinned ID: 0, name: WT_CURSOR.insert
      transaction id: 0, mod count: 0, snap min: 103443399, snap max: 103443399, snapshot count: 0, commit_timestamp: (0, 0), durable_timestamp: (0, 0), first_commit_timestamp: (0, 0), prepare_timestamp: (0, 0), pinned_durable_timestamp: (0, 0), read_timestamp: (0, 0), checkpoint LSN: [0][0], full checkpoint: false, rollback reason: , flags: 0x00102008, isolation: WT_ISO_SNAPSHOT
      ID: 103443411, pinned ID: 103443410, metadata pinned ID: 0, name: WT_CURSOR.insert
      transaction id: 103443411, mod count: 0, snap min: 103443410, snap max: 103443410, snapshot count: 0, commit_timestamp: (0, 0), durable_timestamp: (0, 0), first_commit_timestamp: (0, 0), prepare_timestamp: (0, 0), pinned_durable_timestamp: (0, 0), read_timestamp: (0, 0), checkpoint LSN: [0][0], full checkpoint: false, rollback reason: , flags: 0x0010200c, isolation: WT_ISO_SNAPSHOT
      ID: 0, pinned ID: 103443410, metadata pinned ID: 0, name: WT_CURSOR.insert
      transaction id: 0, mod count: 0, snap min: 103443410, snap max: 103443410, snapshot count: 0, commit_timestamp: (0, 0), durable_timestamp: (0, 0), first_commit_timestamp: (0, 0), prepare_timestamp: (0, 0), pinned_durable_timestamp: (0, 0), read_timestamp: (0, 0), checkpoint LSN: [0][0], full checkpoint: false, rollback reason: , flags: 0x00102008, isolation: WT_ISO_SNAPSHOT
      ID: 0, pinned ID: 103443410, metadata pinned ID: 0, name: WT_CURSOR.insert
      transaction id: 0, mod count: 0, snap min: 103443410, snap max: 103443410, snapshot count: 0, commit_timestamp: (0, 0), durable_timestamp: (0, 0), first_commit_timestamp: (0, 0), prepare_timestamp: (0, 0), pinned_durable_timestamp: (0, 0), read_timestamp: (0, 0), checkpoint LSN: [0][0], full checkpoint: false, rollback reason: , flags: 0x00102008, isolation: WT_ISO_SNAPSHOT
      =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
      cache dump
      cache full: no
      cache clean check: yes (95.000%)
      cache dirty check: no (0.000%)
      cache updates check: no (0.000%)
      file:test2(<live>):
      internal: 10195 pages, 29974.10 KB, 0/10195 clean/dirty pages, 0.00/29974.10 clean / dirty KB, 31.14 KB max page, 31.14 KB max dirty page
      leaf: 0 pages
      file:test1(<live>):
      internal: 10310 pages, 30013.71 KB, 0/10310 clean/dirty pages, 0.00/30013.71 clean / dirty KB, 31.15 KB max page, 31.15 KB max dirty page
      leaf: 0 pages
      file:test0(<live>):
      internal: 10321 pages, 30085.21 KB, 0/10321 clean/dirty pages, 0.00/30085.21 clean / dirty KB, 31.15 KB max page, 31.15 KB max dirty page
      leaf: 0 pages
      file:WiredTigerHS.wt(<live>) eviction disabled at open:
      internal: 1 pages, 0.39 KB, 1/0 clean/dirty pages, 0.39/0.00 clean / dirty KB, 0.39 KB max page, 0.00 KB max dirty page
      leaf: 0 pages
      file:WiredTiger.wt(<live>):
      internal: 1 pages, 0.68 KB, 1/0 clean/dirty pages, 0.68/0.00 clean / dirty KB, 0.68 KB max page, 0.00 KB max dirty page
      leaf: 0 pages
      cache dump: total found: 95.00 MB vs tracked inuse 87.96 MB
      total dirty bytes: 87.96 MB vs tracked dirty 87.96 MB
      

      logs

      split-stress-test task_log

      Logs:

      [1708591356:435071][23295:0x7fff8f64f170], eviction-server: [WT_VERB_DEFAULT][ERROR]: int __wt_evict_thread_run(WT_SESSION_IMPL *, WT_THREAD *), 350: cache eviction thread error: Connection timed out
      [1708591356:435095][23295:0x7fff8f64f170], eviction-server: [WT_VERB_DEFAULT][ERROR]: int __wt_evict_thread_run(WT_SESSION_IMPL *, WT_THREAD *), 350: the process must exit and restart: WT_PANIC: WiredTiger library panic
      [1708591356:435119][23295:0x7fff8f64f170], eviction-server: [WT_VERB_DEFAULT][ERROR]: void __wt_abort(WT_SESSION_IMPL *), 28: aborting WiredTiger library
      

      logs

        1. Screenshot 2024-03-06 at 10.51.09 pm.png
          350 kB
          Ravi Giri
        2. Screenshot 2024-03-18 at 11.14.54 pm.png
          242 kB
          Ravi Giri

            Assignee:
            ravi.giri@mongodb.com Ravi Giri
            Reporter:
            Xgen-BuildBaron-User xgen-buildbaron-user
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: