Project

General

Profile

Actions

Bug #10362

closed

dynflow_executor_monitor taking up 100% CPU

Added by Matthew Ceroni over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I recently installed the latest version of Katello which comes with Foreman version 1.9.0. When the system is idle (no sync or content view creations in process) the process dynflow_executor_monitor constantly takes up 100% CPU.

I verified there is no activity in the /var/log/foreman/* logs. In addition I verified there was no recent output in /usr/share/foreman/tmp/pids where the dynflow_executor.output and log file is located.

I then did a strace on the monitor PID and it appears to be constantly spinning on stating the dynflow_executor.pid file, opening it, reading it and then closing it. It then attempts to send SIG_0 to the dynflow_executor process (so checking whether the process exists).

Attached is the output from a strace run.

stat("/usr/share/foreman/tmp/pids/dynflow_executor.pid", {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
open("/usr/share/foreman/tmp/pids/dynflow_executor.pid", O_RDONLY) = 5
fstat(5, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
fstat(5, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
ioctl(5, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff8da280e0) = -1 ENOTTY (Inappropriate ioctl for device)
read(5, "27794\n", 8192) = 6
close(5) = 0

I also noted that there are two dynflow_executor processes running, with multiple threads for each one.


Files

dynflow_executor_monitor.strace dynflow_executor_monitor.strace 8.94 KB Matthew Ceroni, 05/04/2015 01:41 PM
Actions

Also available in: Atom PDF