Closed ValdikSS closed 2 months ago
I fixed the contact form on the website. Thanks for warning.
I also created a test version of the netatop
module which you can download (Update: removed now).
Could you please test this version?
@glangeveld, from what I could see by diffing 3.2.1 and 3.1, only one lock is added which doesn't seem relevant. I'll try to test it but I can only test it on my main machine which I'm not a fan when it hangs.
UPD: Thu May 16 19:54:00 2024 compiled and loaded the module.
Its May 24, so far so good, @glangeveld.
Thanks for testing! The modification does certainly not only concern the addition of a lock (but even that could have solved an issue). There was a race condition in the garbage collection that has been solved by adding a reference count. I will release a new version as soon as possible.
Hello,
Netatop 3.1 module crashes my server once in several days, with General Protection fault. Take a look at the most recent crash log obtained with netconsole. It crashes in
analyze_tcpv4_packet - sock2task - get_taskinfo
.The most recent crash (spoiler)
``` [206201.363307] general protection fault, probably for non-canonical address 0xbe27f590f0ab0657: 0000 [#1] PREEMPT SMP PTI [206201.363318] CPU: 0 PID: 310615 Comm: eiskaltdcpp-qt Tainted: G W OE 6.6.27-1-lts #1 d5b6011e73704a95088e0244d141560bd5ec914b [206201.363323] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z87 Killer, BIOS P1.90 03/11/2018 [206201.363326] RIP: 0010:kmem_cache_alloc+0x115/0x370 [206201.363334] Code: 38 0f 84 e7 01 00 00 48 85 ff 0f 84 de 01 00 00 41 8b 44 24 28 4d 8b 14 24 49 89 f8 49 89 d1 49 8b 9c 24 b8 00 00 00 48 01 f8 <48> 33 18 48 89 c1 48 89 f8 48 0f c9 48 31 cb 48 8d 8a 00 02 00 00 [206201.363338] RSP: 0018:ffffb5340c80b700 EFLAGS: 00010092 [206201.363342] RAX: be27f590f0ab0657 RBX: be535888bc8ade5e RCX: ffffa04b3e8139ea [206201.363345] RDX: 00000000004bc400 RSI: 0000000000000820 RDI: be27f590f0ab061f [206201.363349] RBP: ffffb5340c80b750 R08: be27f590f0ab061f R09: 00000000004bc400 [206201.363351] R10: 000034e630a11a20 R11: 0000000000000000 R12: ffffa04ac153fa00 [206201.363354] R13: 0000000000000000 R14: 0000000000000820 R15: 0000000000000078 [206201.363357] FS: 000073831ddfb6c0(0000) GS:ffffa04dcf200000(0000) knlGS:0000000000000000 [206201.363361] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [206201.363363] CR2: 000073831ddf7e78 CR3: 000000012c6aa001 CR4: 00000000001706f0 [206201.363366] Call Trace: [206201.363369]And here's another, older one
Another crash (spoiler)
``` [45470.068801] general protection fault, probably for non-canonical address 0xb1700553f83edc8f: 0000 [#1] PREEMPT SMP PTI [45470.068811] CPU: 0 PID: 84945 Comm: eiskaltdcpp-qt Tainted: G OE 6.6.25-1-lts #1 d7280cdf80ca98da2597ab2da5b8ef8d06d3fe7b [45470.068816] Hardware name: To Be Filled By O.E.M. To Be Filled By O.E.M./Z87 Killer, BIOS P1.90 03/11/2018 [45470.068820] RIP: 0010:kmem_cache_alloc+0x115/0x370 [45470.068826] Code: 38 0f 84 e7 01 00 00 48 85 ff 0f 84 de 01 00 00 41 8b 44 24 28 4d 8b 14 24 49 89 f8 49 89 d1 49 8b 9c 24 b8 00 00 00 48 01 f8 <48> 33 18 48 89 c1 48 89 f8 48 0f c9 48 31 cb 48 8d 8a 00 02 00 00 [45470.068831] RSP: 0018:ffffadbe0cf3fa90 EFLAGS: 00010082 [45470.068834] RAX: b1700553f83edc8f RBX: 06b83e4ab7a12ba8 RCX: ffff9f4f3a31c43a [45470.068847] RDX: 00000000002c3e00 RSI: 0000000000000820 RDI: b1700553f83edc57 [45470.068850] RBP: ffffadbe0cf3fae0 R08: b1700553f83edc57 R09: 00000000002c3e00 [45470.068853] R10: 00002e6c70a0d860 R11: 0000000000000001 R12: ffff9f4e84b91c00 [45470.068855] R13: 0000000000000000 R14: 0000000000000820 R15: 0000000000000078 [45470.068858] FS: 0000764c2cbea700(0000) GS:ffff9f518f200000(0000) knlGS:0000000000000000 [45470.068861] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 [45470.068864] CR2: 0000764c4d193c88 CR3: 00000002af58a002 CR4: 00000000001706f0 [45470.068867] Call Trace: [45470.068870]Tested on different 6.6 kernels. The crashes start happen in a day I've installed netatop (5 April), and for some reason I've missed "netatop" string in the stack trace, noticing it only today, after today's crash. The server gets rebooted (and I also have hardware watchdog), so it's either full crash or CPU deadlock.
I'm running ArchLinux, used netatop-dkms (3.1-2) module (netatop-3.1.tar.gz)
The contact form on the website does not work. It returns HTTP 500 upon submitting.