NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/56550: swapctl: SWAP_STATS different to SWAP_NSWAP (1 != 3)



I'm not sure I can do that because the error only happens intermittently.  If I start the system with 1 swapfile, then add e.g. 3 more, then *sometimes* I get that  1 != 4 message from "sysctl -l"   And, oddly, I can keep trying "sysctl -l" and it works, and then, suddenly, I will get one that says  1 != 4 again.

I do not know how to reliably 'trigger' this.   And, it is 'transitory' in that I would guess I get maybe one 1 != 4 every 50 successful "sysctl -l" operations.

I will try to get this to happen more frequently so I can catch it with ktrace.  (which options do you suggest?  I'm thinking "ktrace -d -p <shell-pid>" )

Thanks for looking at this,
-Mike


On Sun, Dec 26, 2021 at 1:55 PM Taylor R Campbell <riastradh%netbsd.org@localhost> wrote:
The following reply was made to PR bin/56550; it has been noted by GNATS.

From: Taylor R Campbell <riastradh%NetBSD.org@localhost>
To: mac%culver.net@localhost
Cc: gnats-bugs%NetBSD.org@localhost
Subject: Re: kern/56550: swapctl: SWAP_STATS different to SWAP_NSWAP (1 != 3)
Date: Sun, 26 Dec 2021 21:53:51 +0000

 Can you share ktrace output, from a working swapctl run and a
 nonworking swapctl run?



Home | Main Index | Thread Index | Old Index