Re: Machine slows down to a crawl, spends much of its time spinning

2024-12-18 Thread Vitaliy Makkoveev
Please compile and run kernel with WITNESS option. When the slowdown starts please break into ddb and provide at least "show all locks" output. > On 19 Dec 2024, at 00:28, Paul de Weerd wrote: > > On my AMD Ryzen machine, I am currently seeing an issue where the > machine has suddenly become inc

Re: Inactive Wireguard connections never time out

2024-12-18 Thread Lloyd
> One more thing about this part, the way wg is designed, one endpoint > can change its ip, and when it sends anything over the tunnel the > remote peer will update its idea of your clients ip+port. Then X > seconds later, the remote endpoint can change its ip+port and as soon > as it sends any pac

Machine slows down to a crawl, spends much of its time spinning

2024-12-18 Thread Paul de Weerd
On my AMD Ryzen machine, I am currently seeing an issue where the machine has suddenly become incredibly slow. So slow, that it logged 'smr: dispatch took 9.92s' and 'smr: dispatch took 24.40s'. I had two xterms open with `top` and `systat -s1 vm` running, and they show the machine is spe

Re: Inactive Wireguard connections never time out

2024-12-18 Thread Stuart Henderson
On 2024/12/18 19:51, Lloyd wrote: > A potential workaround to this is to have a cron job which monitors the > latest handshake time and restarts the interface if it ages beyond a > reasonable value (say 5 minutes). I believe keepalives are required to > be enabled for this to work properly. Resta