Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756957Ab3H3T4l (ORCPT ); Fri, 30 Aug 2013 15:56:41 -0400 Received: from dcvr.yhbt.net ([64.71.152.64]:51479 "EHLO dcvr.yhbt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752987Ab3H3T4j (ORCPT ); Fri, 30 Aug 2013 15:56:39 -0400 Date: Fri, 30 Aug 2013 19:56:38 +0000 From: Eric Wong To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org Subject: ipv4: warnings on sk_wmem_queued Message-ID: <20130830195638.GA27393@dcvr.yhbt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 11107 Lines: 139 I noticed these warnings on stock 3.10.9 running stress tests on cmogstored.git (git://bogomips.org/cmogstored.git) doing standard HTTP server stuff between lo and tmpfs: HTTP PUT requests hit: read(socket) + pwrite() HTTP GET requests hit: send(MSG_MORE) + sendfile() HTTP/1.1 persistent connections used for all GETs (using ab), but not PUTs since I was lazy at curl scripting. PUT requests are concurrent 100M uploads, GET responses range from 110 bytes to 1GB I'm doing a bunch of these requests in parallel with ab and curl so I can't tell which caused the warning. No errors bubbled up cmogstored. This is fairly new hardware: Haswell E3-1230 v3 @ 3.30GHz on NO_HZ_{FULL,_ALL}=y, PREEMPT=y sysctl: tcp_low_latency=1, tcp_slow_start_after_idle=0 sockopts: TCP_NODELAY, SO_KEEPALIVE, SO_REUSEADDR No changes to socket buffers anywhere, no TFO. I was going to reboot into 3.10.10 before I looked at dmesg. These warnings happened after ~8 hours of stress tests, and those stress tests are still running. Aug 30 06:03:54 localhost kernel: ------------[ cut here ]------------ Aug 30 06:03:54 localhost kernel: WARNING: at net/core/stream.c:200 sk_stream_kill_queues+0x131/0x140() Aug 30 06:03:54 localhost kernel: Modules linked in: fuse ufs minix ntfs vfat msdos fat libcrc32c reiserfs ext2 dm_mod binfmt_misc w83627ehf hwmon_vid lm63 loop snd_hda_codec_realtek coretemp kvm_intel kvm crc32c_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd radeon cfbfillrect cfbimgblt cfbcopyarea sg ttm snd_hda_intel drm_kms_helper microcode snd_hda_codec drm snd_hwdep snd_pcm agpgart e1000e igb snd_page_alloc snd_timer snd sr_mod evdev firewire_core firmware_class i2c_algo_bit crc_itu_t ptp ehci_pci dca i2c_i801 cdrom pps_core ehci_hcd xhci_hcd fan video backlight thermal acpi_cpufreq mperf freq_table button processor [last unloaded: firewire_ohci] Aug 30 06:03:54 localhost kernel: CPU: 5 PID: 8390 Comm: cmogstored Tainted: G W 3.10.9meltdown2 #11 Aug 30 06:03:54 localhost kernel: Hardware name: Supermicro X10SAE/X10SAE, BIOS 1.00 05/03/2013 Aug 30 06:03:54 localhost kernel: 0000000000000009 ffff88083dd43a38 ffffffff814244c6 ffff88083dd43a78 Aug 30 06:03:54 localhost kernel: ffffffff81034720 0000000000000000 ffff8803addf2080 ffff8803addf21d8 Aug 30 06:03:54 localhost kernel: 0000000000000000 0000000000000000 00000000000002d1 ffff88083dd43a88 Aug 30 06:03:54 localhost kernel: Call Trace: Aug 30 06:03:54 localhost kernel: [] dump_stack+0x19/0x1b Aug 30 06:03:54 localhost kernel: [] warn_slowpath_common+0x70/0xa0 Aug 30 06:03:54 localhost kernel: [] warn_slowpath_null+0x1a/0x20 Aug 30 06:03:54 localhost kernel: [] sk_stream_kill_queues+0x131/0x140 Aug 30 06:03:54 localhost kernel: [] inet_csk_destroy_sock+0x5a/0x140 Aug 30 06:03:54 localhost kernel: [] tcp_done+0x67/0x90 Aug 30 06:03:54 localhost kernel: [] tcp_time_wait+0x74/0x1c0 Aug 30 06:03:54 localhost kernel: [] tcp_fin+0x114/0x1f0 Aug 30 06:03:54 localhost kernel: [] tcp_data_queue+0x708/0xcb0 Aug 30 06:03:54 localhost kernel: [] tcp_rcv_state_process+0x6d7/0xc80 Aug 30 06:03:54 localhost kernel: [] ? tcp_rcv_established+0x166/0x790 Aug 30 06:03:54 localhost kernel: [] tcp_v4_do_rcv+0xcf/0x380 Aug 30 06:03:54 localhost kernel: [] tcp_v4_rcv+0x691/0x800 Aug 30 06:03:54 localhost kernel: [] ? sched_clock_cpu+0xc5/0x120 Aug 30 06:03:54 localhost kernel: [] ip_local_deliver_finish+0xbe/0x220 Aug 30 06:03:54 localhost kernel: [] ip_local_deliver+0x38/0x90 Aug 30 06:03:54 localhost kernel: [] ip_rcv_finish+0x109/0x310 Aug 30 06:03:54 localhost kernel: [] ip_rcv+0x1d1/0x300 Aug 30 06:03:54 localhost kernel: [] ? run_posix_cpu_timers+0x3d/0x830 Aug 30 06:03:54 localhost kernel: [] __netif_receive_skb_core+0x4a2/0x610 Aug 30 06:03:54 localhost kernel: [] __netif_receive_skb+0x21/0x70 Aug 30 06:03:54 localhost kernel: [] process_backlog+0x9c/0x170 Aug 30 06:03:54 localhost kernel: [] net_rx_action+0xbc/0x200 Aug 30 06:03:54 localhost kernel: [] __do_softirq+0xe0/0x280 Aug 30 06:03:54 localhost kernel: [] call_softirq+0x1c/0x30 Aug 30 06:03:54 localhost kernel: [] do_softirq+0x55/0x90 Aug 30 06:03:54 localhost kernel: [] local_bh_enable+0xa7/0xb0 Aug 30 06:03:54 localhost kernel: [] ip_finish_output+0x224/0x390 Aug 30 06:03:54 localhost kernel: [] ip_output+0x4e/0x90 Aug 30 06:03:54 localhost kernel: [] ip_local_out+0x29/0x30 Aug 30 06:03:54 localhost kernel: [] ip_queue_xmit+0x153/0x3c0 Aug 30 06:03:54 localhost kernel: [] tcp_transmit_skb+0x3c5/0x820 Aug 30 06:03:54 localhost kernel: [] tcp_write_xmit+0x191/0xaa0 Aug 30 06:03:54 localhost kernel: [] ? __kmalloc_reserve.isra.49+0x3c/0xa0 Aug 30 06:03:54 localhost kernel: [] __tcp_push_pending_frames+0x32/0xa0 Aug 30 06:03:54 localhost kernel: [] tcp_send_fin+0x6f/0x190 Aug 30 06:03:54 localhost kernel: [] tcp_close+0x378/0x410 Aug 30 06:03:54 localhost kernel: [] inet_release+0x5a/0xa0 Aug 30 06:03:54 localhost kernel: [] sock_release+0x28/0x90 Aug 30 06:03:54 localhost kernel: [] sock_close+0x12/0x20 Aug 30 06:03:54 localhost kernel: [] __fput+0xaf/0x240 Aug 30 06:03:54 localhost kernel: [] ____fput+0xe/0x10 Aug 30 06:03:54 localhost kernel: [] task_work_run+0xa7/0xe0 Aug 30 06:03:54 localhost kernel: [] do_notify_resume+0x9c/0xb0 Aug 30 06:03:54 localhost kernel: [] int_signal+0x12/0x17 Aug 30 06:03:54 localhost kernel: ---[ end trace 1a0bb0997c6a8dcf ]--- Aug 30 06:03:54 localhost kernel: ------------[ cut here ]------------ Aug 30 06:03:54 localhost kernel: WARNING: at net/ipv4/af_inet.c:155 inet_sock_destruct+0x191/0x1e0() Aug 30 06:03:54 localhost kernel: Modules linked in: fuse ufs minix ntfs vfat msdos fat libcrc32c reiserfs ext2 dm_mod binfmt_misc w83627ehf hwmon_vid lm63 loop snd_hda_codec_realtek coretemp kvm_intel kvm crc32c_intel aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd radeon cfbfillrect cfbimgblt cfbcopyarea sg ttm snd_hda_intel drm_kms_helper microcode snd_hda_codec drm snd_hwdep snd_pcm agpgart e1000e igb snd_page_alloc snd_timer snd sr_mod evdev firewire_core firmware_class i2c_algo_bit crc_itu_t ptp ehci_pci dca i2c_i801 cdrom pps_core ehci_hcd xhci_hcd fan video backlight thermal acpi_cpufreq mperf freq_table button processor [last unloaded: firewire_ohci] Aug 30 06:03:54 localhost kernel: CPU: 5 PID: 8390 Comm: cmogstored Tainted: G W 3.10.9meltdown2 #11 Aug 30 06:03:54 localhost kernel: Hardware name: Supermicro X10SAE/X10SAE, BIOS 1.00 05/03/2013 Aug 30 06:03:54 localhost kernel: 0000000000000009 ffff88083dd43bf8 ffffffff814244c6 ffff88083dd43c38 Aug 30 06:03:54 localhost kernel: ffffffff81034720 ffff8807e84147b0 ffff8803addf2080 ffff8803addf21d8 Aug 30 06:03:54 localhost kernel: ffff8803addf2080 ffff8805dd8150ac 0000000000004c1d ffff88083dd43c48 Aug 30 06:03:54 localhost kernel: Call Trace: Aug 30 06:03:54 localhost kernel: [] dump_stack+0x19/0x1b Aug 30 06:03:54 localhost kernel: [] warn_slowpath_common+0x70/0xa0 Aug 30 06:03:54 localhost kernel: [] warn_slowpath_null+0x1a/0x20 Aug 30 06:03:54 localhost kernel: [] inet_sock_destruct+0x191/0x1e0 Aug 30 06:03:54 localhost kernel: [] __sk_free+0x1d/0x110 Aug 30 06:03:54 localhost kernel: [] sk_free+0x21/0x30 Aug 30 06:03:54 localhost kernel: [] tcp_v4_rcv+0x6b7/0x800 Aug 30 06:03:54 localhost kernel: [] ? sched_clock_cpu+0xc5/0x120 Aug 30 06:03:54 localhost kernel: [] ip_local_deliver_finish+0xbe/0x220 Aug 30 06:03:54 localhost kernel: [] ip_local_deliver+0x38/0x90 Aug 30 06:03:54 localhost kernel: [] ip_rcv_finish+0x109/0x310 Aug 30 06:03:54 localhost kernel: [] ip_rcv+0x1d1/0x300 Aug 30 06:03:54 localhost kernel: [] ? run_posix_cpu_timers+0x3d/0x830 Aug 30 06:03:54 localhost kernel: [] __netif_receive_skb_core+0x4a2/0x610 Aug 30 06:03:54 localhost kernel: [] __netif_receive_skb+0x21/0x70 Aug 30 06:03:54 localhost kernel: [] process_backlog+0x9c/0x170 Aug 30 06:03:54 localhost kernel: [] net_rx_action+0xbc/0x200 Aug 30 06:03:54 localhost kernel: [] __do_softirq+0xe0/0x280 Aug 30 06:03:54 localhost kernel: [] call_softirq+0x1c/0x30 Aug 30 06:03:54 localhost kernel: [] do_softirq+0x55/0x90 Aug 30 06:03:54 localhost kernel: [] local_bh_enable+0xa7/0xb0 Aug 30 06:03:54 localhost kernel: [] ip_finish_output+0x224/0x390 Aug 30 06:03:54 localhost kernel: [] ip_output+0x4e/0x90 Aug 30 06:03:54 localhost kernel: [] ip_local_out+0x29/0x30 Aug 30 06:03:54 localhost kernel: [] ip_queue_xmit+0x153/0x3c0 Aug 30 06:03:54 localhost kernel: [] tcp_transmit_skb+0x3c5/0x820 Aug 30 06:03:54 localhost kernel: [] tcp_write_xmit+0x191/0xaa0 Aug 30 06:03:54 localhost kernel: [] ? __kmalloc_reserve.isra.49+0x3c/0xa0 Aug 30 06:03:54 localhost kernel: [] __tcp_push_pending_frames+0x32/0xa0 Aug 30 06:03:54 localhost kernel: [] tcp_send_fin+0x6f/0x190 Aug 30 06:03:54 localhost kernel: [] tcp_close+0x378/0x410 Aug 30 06:03:54 localhost kernel: [] inet_release+0x5a/0xa0 Aug 30 06:03:54 localhost kernel: [] sock_release+0x28/0x90 Aug 30 06:03:54 localhost kernel: [] sock_close+0x12/0x20 Aug 30 06:03:54 localhost kernel: [] __fput+0xaf/0x240 Aug 30 06:03:54 localhost kernel: [] ____fput+0xe/0x10 Aug 30 06:03:54 localhost kernel: [] task_work_run+0xa7/0xe0 Aug 30 06:03:54 localhost kernel: [] do_notify_resume+0x9c/0xb0 Aug 30 06:03:54 localhost kernel: [] int_signal+0x12/0x17 Aug 30 06:03:54 localhost kernel: ---[ end trace 1a0bb0997c6a8dd0 ]--- Thanks for reading! -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/