Kernel warnings from tcp.c

2018-08-29 Thread Adam Mitchell
Anyone with experience in tcp.c have an idea what's causing this on our busy database server? Comes from this macro at line 2278: WARN_ON(sock_owned_by_user(sk)); [726780.788201] WARNING: CPU: 15 PID: 52245 at net/ipv4/tcp.c:2278 tcp_close+0x40f/0x430 [726780.794947] Modules linked in: bin

WARNING from tcp.c

2018-08-28 Thread Adam Mitchell
Can anyone help me understand why a busy database server gets these kernel warnings? It comes from this WARN_ON macro, apparently because the socket is still owned by the user process. Why would that happen? WARN_ON(sock_owned_by_user(sk)); [726780.788201] WARNING: CPU: 15 PID: 52245 at n

net/ipv4/tcp.c:2278 WARN_ON(sock_owned_by_user(sk))

2018-08-15 Thread Adam Mitchell
After moving a busy mysql database to AWS (and changing distro, kernel, etc), we see the following kernel warning every few days (on several hosts): WARNING: CPU: 33 PID: 75361 at net/ipv4/tcp.c:2278 tcp_close+0x40f/0x430 This is coming from the following section of tcp_close(): /* Now