Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 02 Feb 2019 21:55:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 235439] sync(8) hanged in D+ state after more swap space was added
Message-ID:  <bug-235439-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D235439

            Bug ID: 235439
           Summary: sync(8) hanged in D+ state after more swap space was
                    added
           Product: Base System
           Version: 11.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: yuri@freebsd.org

I ran out of swap state, so I added more swap (md98 none swap
sw,file=3D/thedisk/swap,late 0 0), swapon -aL. At this time these swap_pager
messages appeared:
> Feb  2 09:00:00 yv newsyslog[23791]: logfile turned over due to size>100K
> Feb  2 09:03:09 yv kernel: pid 23931 (chrome), uid 1001: exited on signal=
 10
> Feb  2 09:03:34 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1049391, size: 8192
> Feb  2 09:03:34 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1049444, size: 8192
> Feb  2 09:04:03 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1048721, size: 4096
> Feb  2 09:04:03 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1063141, size: 8192
> Feb  2 09:04:03 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1049652, size: 4096
> Feb  2 09:04:38 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1048880, size: 16384
> Feb  2 09:04:38 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1049638, size: 4096
> Feb  2 09:04:38 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1062692, size: 12288
> Feb  2 09:04:38 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1068865, size: 8192
> Feb  2 09:04:41 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1078142, size: 45056
> Feb  2 09:04:46 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1049896, size: 4096
> Feb  2 09:04:51 yv kernel: swap_pager: indefinite wait buffer: bufobj: 0,=
 blkno: 1079764, size: 61440
> Feb  2 09:28:20 yv kernel: Limiting closed port RST response from 295 to =
200 packets/sec
> Feb  2 10:31:41 yv kernel: Limiting closed port RST response from 234 to =
200 packets/sec


Soon after, I manually ran sync(8) and sync froze in D+ state:
> $ ps ax | grep sync
>    22  -  DL       28:57.73 [syncer]
> 40832  7  D+        0:00.08 sync
> 88531  9  S+        0:00.00 grep sync


Please feel free to close it if you think this isn't actionable. But I thou=
ght
I should report this, because now this system needs to be rebooted to get r=
id
of that process with pid=3D40832.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-235439-227>