testing rsyslog v8 (master from git from last week) and while it
seems to be working when it's working when I tried to kill it using sudo
kill $pid (i.e. sending default signal TERM) it does not quit, instead
starts using 100% CPU and strace shows the following.
This repeats many times per second, I assume it's in a loop causing the
high CPU usage (see the timing info for two iterations):
16205 23:12:37.056799 gettimeofday( <unfinished ...>
11108 23:12:37.056974 gettimeofday( <unfinished ...>
16205 23:12:37.057011 <... gettimeofday resumed> {1386630757, 56969},
NULL) = 0
11108 23:12:37.057074 <... gettimeofday resumed> {1386630757, 57008},
NULL) = 0
16205 23:12:37.057109 gettimeofday( <unfinished ...>
11108 23:12:37.057135 gettimeofday( <unfinished ...>
16205 23:12:37.057160 <... gettimeofday resumed> {1386630757, 57135},
NULL) = 0
11108 23:12:37.057191 <... gettimeofday resumed> {1386630757, 57158},
NULL) = 0
Less often but still few times a second (consequtive selects,
gettimeofday fitlered out of this for brevity):
11104 23:12:37.060788 select(0, NULL, NULL, NULL, {0, 2230} <unfinished ...>
...gettimeofday filtered out...
11104 23:12:37.621813 <... select resumed> ) = 0 (Timeout)
...gettimeofday filtered out...
11104 23:12:37.687161 select(0, NULL, NULL, NULL, {0, 10000} <unfinished
...>
...gettimeofday filtered out...
11104 23:12:37.721318 <... select resumed> ) = 0 (Timeout)
And yet less often (gettimeofday and select filtered out for brevity):
11108 23:12:38.321006 futex(0x69cdc0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
11108 23:12:38.321084 <... futex resumed> ) = 0
11104 23:12:38.330784 futex(0x69cdc0, FUTEX_WAIT_PRIVATE, 2, NULL) = -1
EAGAIN (Resource temporarily unavailable)
11104 23:12:38.331031 futex(0x69cdc0, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
11104 23:12:38.331084 <... futex resumed> ) = 0
That's all that's showing up (i.e. it's not sending or receiving any
data, these are all the system calls that it's making), it's been
running like that for 10 - 15 minutes...
Any ideas what's going on?
erik
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com/professional-services/
What's up with rsyslog? Follow https://twitter.com/rgerhards
NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of
sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE
THAT.