← Back to team overview

kernel-packages team mailing list archive

[Bug 1319038] [NEW] tight loop in rpc_async_schedule and xs_tcp_setup_socket

 

Public bug reported:

I have a runaway kworker process on my box this morning:

$ top -b -n 1 | grep kworker/1:2
 1403 root      20   0       0      0      0 R 100.0  0.0 472:39.22 kworker/1:2

To debug, I performed the following:

# echo workqueue:workqueue_queue_work > /sys/kernel/debug/tracing/set_event
# cat /sys/kernel/debug/tracing/trace_pipe >/tmp/out.txt

And this reveals to me:

     kworker/1:2-1403  [001] d.s. 28777.162387: workqueue_queue_work: work struct=ffff88021f630788 function=rpc_async_schedule [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
     kworker/1:2-1403  [001] d... 28777.162387: workqueue_queue_work: work struct=ffff8807d8511de0 function=xs_tcp_setup_socket [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
     kworker/1:2-1403  [001] d.s. 28777.162390: workqueue_queue_work: work struct=ffff88021f630788 function=rpc_async_schedule [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
     kworker/1:2-1403  [001] d... 28777.162390: workqueue_queue_work: work struct=ffff8807d8511de0 function=xs_tcp_setup_socket [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
     kworker/1:2-1403  [001] d.s. 28777.162393: workqueue_queue_work: work struct=ffff88021f630788 function=rpc_async_schedule [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
     kworker/1:2-1403  [001] d... 28777.162393: workqueue_queue_work: work struct=ffff8807d8511de0 function=xs_tcp_setup_socket [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1

This cycle seems to be repeating indefinitely in a tight loop.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-24-generic 3.13.0-24.47
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
Date: Tue May 13 08:26:10 2014
HibernationDevice: RESUME=UUID=21e3db75-a4a7-4ded-baa2-b89e143f107f
InstallationDate: Installed on 2014-05-12 (1 days ago)
InstallationMedia: Mythbuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
IwConfig:
 eth0      no wireless extensions.
 
 eth1      no wireless extensions.
 
 lo        no wireless extensions.
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 astdrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=2e2a5b15-f468-4daa-998d-13a68dadc74b ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.13.0-24-generic N/A
 linux-backports-modules-3.13.0-24-generic  N/A
 linux-firmware                             1.127
RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
 
dmi.bios.date: 10/07/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.40
dmi.board.name: E3C224
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.40:bd10/07/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnE3C224:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug third-party-packages trusty

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1319038

Title:
  tight loop in rpc_async_schedule and xs_tcp_setup_socket

Status in “linux” package in Ubuntu:
  New

Bug description:
  I have a runaway kworker process on my box this morning:

  $ top -b -n 1 | grep kworker/1:2
   1403 root      20   0       0      0      0 R 100.0  0.0 472:39.22 kworker/1:2

  To debug, I performed the following:

  # echo workqueue:workqueue_queue_work > /sys/kernel/debug/tracing/set_event
  # cat /sys/kernel/debug/tracing/trace_pipe >/tmp/out.txt

  And this reveals to me:

       kworker/1:2-1403  [001] d.s. 28777.162387: workqueue_queue_work: work struct=ffff88021f630788 function=rpc_async_schedule [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
       kworker/1:2-1403  [001] d... 28777.162387: workqueue_queue_work: work struct=ffff8807d8511de0 function=xs_tcp_setup_socket [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
       kworker/1:2-1403  [001] d.s. 28777.162390: workqueue_queue_work: work struct=ffff88021f630788 function=rpc_async_schedule [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
       kworker/1:2-1403  [001] d... 28777.162390: workqueue_queue_work: work struct=ffff8807d8511de0 function=xs_tcp_setup_socket [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
       kworker/1:2-1403  [001] d.s. 28777.162393: workqueue_queue_work: work struct=ffff88021f630788 function=rpc_async_schedule [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1
       kworker/1:2-1403  [001] d... 28777.162393: workqueue_queue_work: work struct=ffff8807d8511de0 function=xs_tcp_setup_socket [sunrpc] workqueue=ffff8807fb77c800 req_cpu=256 cpu=1

  This cycle seems to be repeating indefinitely in a tight loop.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.13.0-24-generic 3.13.0-24.47
  ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
  Date: Tue May 13 08:26:10 2014
  HibernationDevice: RESUME=UUID=21e3db75-a4a7-4ded-baa2-b89e143f107f
  InstallationDate: Installed on 2014-05-12 (1 days ago)
  InstallationMedia: Mythbuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
  IwConfig:
   eth0      no wireless extensions.
   
   eth1      no wireless extensions.
   
   lo        no wireless extensions.
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcFB: 0 astdrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-24-generic root=UUID=2e2a5b15-f468-4daa-998d-13a68dadc74b ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.13.0-24-generic N/A
   linux-backports-modules-3.13.0-24-generic  N/A
   linux-firmware                             1.127
  RfKill: Error: [Errno 2] No such file or directory: 'rfkill'
  SourcePackage: linux
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:
   
  dmi.bios.date: 10/07/2013
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.40
  dmi.board.name: E3C224
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.40:bd10/07/2013:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnE3C224:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1319038/+subscriptions


Follow ups

References