From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: Kernel warnings from tcp.c Date: Wed, 29 Aug 2018 12:35:40 -0700 Message-ID: <20180829123540.09c167b6@xeon-e3> References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org To: Adam Mitchell Return-path: Received: from mail-pg1-f180.google.com ([209.85.215.180]:37190 "EHLO mail-pg1-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727392AbeH2XeJ (ORCPT ); Wed, 29 Aug 2018 19:34:09 -0400 Received: by mail-pg1-f180.google.com with SMTP id 2-v6so2241494pgo.4 for ; Wed, 29 Aug 2018 12:35:48 -0700 (PDT) In-Reply-To: Sender: netdev-owner@vger.kernel.org List-ID: On Wed, 29 Aug 2018 14:38:38 -0400 Adam Mitchell wrote: > 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: binfmt_misc nf_conntrack_netlink > nfnetlink_queue tcp_diag inet_diag isofs ip6table_mangle ip6table_raw > ip6table_nat nf_nat_ipv6 iptable_security xt_CT iptable_raw > iptable_nat nf_nat_ipv4 nf_nat iptable_mangle xt_pkttype xt_NFLOG > nfnetlink_log xt_u32 xt_multiport xt_set xt_conntrack > ip_set_hash_netport ip_set_hash_ipport ip_set_hash_net ip_set_hash_ip > ip_set nfnetlink nf_conntrack_proto_gre nf_conntrack_ipv6 > nf_defrag_ipv6 ip6table_filter ip6_tables xt_LOG nf_conntrack_tftp > nf_conntrack_ftp nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack > iptable_filter zfs(PO) zunicode(PO) zavl(PO) icp(PO) sb_edac > intel_powerclamp crct10dif_pclmul crc32_pclmul ghash_clmulni_intel > pcbc aesni_intel crypto_simd glue_helper cryptd cirrus snd_seq > zcommon(PO) ttm intel_rapl_perf snd_seq_device > [726780.848696] drm_kms_helper znvpair(PO) snd_pcm snd_timer spl(O) > drm snd soundcore syscopyarea sysfillrect pcspkr sysimgblt input_leds > fb_sys_fops i2c_piix4 ip_tables xfs libcrc32c ata_generic pata_acpi > ata_piix xen_blkfront crc32c_intel libata ena(O) serio_raw floppy > sunrpc > [726780.863916] CPU: 15 PID: 52245 Comm: mysqld Tainted: P W O > 4.16.13-1.el7.elrepo.x86_64 #1 > Sorry, you have a tainted kernel with modules that are not upstream therefore don't expect any support from kernel community