Hi Max
your application is probably causing some memory corruption,
you said you have 4 threads, are you calling pfring_recv() on the same socket?

Alfredo

On 24 Sep 2014, at 13:11, max <[email protected]> wrote:

> After about 22s after start thread with pfring_open,pfring_loop  , I have 
> this message from kernel.
> 
> 
> [ 1112.091103] BUG: soft lockup - CPU#0 stuck for 22s! [PCAP_test9:5021]
> [ 1112.091106] Modules linked in: igb(O) pf_ring(O) bnep rfcomm bluetooth 
> pci_stub vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) nfsd auth_rpcgss 
> oid_registry nfs_acl nfs lockd fscache sunrpc fuse parport_pc ppdev lp 
> parport snd_hda_
> codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec 
> x86_pkg_temp_thermal intel_powerclamp snd_hwdep coretemp kvm_intel kvm 
> crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel nvidia(PO) 
> snd_pcm snd_page_alloc nouveau
> aesni_intel eeepc_wmi mxm_wmi asus_wmi aes_x86_64 ttm snd_seq lrw 
> sparse_keymap snd_seq_device drm_kms_helper drm rfkill gf128mul snd_timer 
> iTCO_wdt iTCO_vendor_support mei_me video lpc_ich glue_helper mei mfd_core 
> ablk_helper pcspkr pro
> cessor i2c_algo_bit i2c_i801 button evdev sb_edac i2c_core cryptd thermal_sys 
> snd edac_core soundcore wmi ext4 crc16 mbcache jbd2 sg sr_mod sd_mod cdrom 
> crc_t10dif crct10dif_common xhci_hcd ehci_pci ahci ehci_hcd libahci 
> firewire_ohci li
> bata firewire_core usbcore crc_itu_t usb_common scsi_mod r8169 mii dca [last 
> unloaded: pf_ring]
> [ 1112.091144] CPU: 0 PID: 5021 Comm: PCAP_test9 Tainted: P    B      O 
> 3.13-1-amd64 #1 Debian 3.13.10-1
> [ 1112.091145] Hardware name: System manufacturer System Product Name/P9X79-E 
> WS, BIOS 1602 02/19/2014
> [ 1112.091146] task: ffff88080a736800 ti: ffff88076b216000 task.ti: 
> ffff88076b216000
> [ 1112.091147] RIP: 0033:[<00007febf6b16afe>] [<00007febf6b16afe>] 
> 0x7febf6b16afe
> [ 1112.091150] RSP: 002b:00007febec08b650  EFLAGS: 00000246
> [ 1112.091151] RAX: 00007febf6d7c400 RBX: ffffffff814aeb79 RCX: 
> 00007febec08b688
> [ 1112.091152] RDX: 00007febec08b684 RSI: 0000000778c18000 RDI: 
> 00007feae4010b20
> [ 1112.091152] RBP: 00007febec08b6f0 R08: 00007febec08b68c R09: 
> 0000000000000040
> [ 1112.091153] R10: 00007febf6d2c3e0 R11: 00007febf6d7c000 R12: 
> 00000000000f4240
> [ 1112.091154] R13: 0000000000000000 R14: ffffffff8107f6f5 R15: 
> 0000000002040808
> [ 1112.091155] FS:  00007febec08c700(0000) GS:ffff88082fc00000(0000) 
> knlGS:0000000000000000
> [ 1112.091156] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> [ 1112.091156] CR2: 00007feae4038000 CR3: 0000000807a51000 CR4: 
> 00000000001407f0
> [ 1112.091157]
> 
> 5021  - it is my thread ID
> 
> [1]
> Application with GUI + pfring = problem ?
> "zcount"  works without any extra messages , in my application always is this 
> message.
> 
> [2]
> Before and after message "BUG: soft lockup - CPU#0 stuck for 22s!"
> pfring functions works ok, no dropped packages etc...
> 
> [3]
> I always start 4 threads , but message "BUG: soft lockup - CPU#0 stuck for 
> 22s!"  is show only for first thread .
> 
> 
> 
> Anyone have any idea or suggestion ?
> 
> 
> max
> 
> 
> 
> 
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to