New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[dev.icinga.com #11807] Command Pipe thread 100% CPU Usage #4225
Comments
Updated by gbeutner on 2016-05-18 13:51:08 +00:00
|
Updated by gbeutner on 2016-05-18 13:55:03 +00:00
Applied in changeset 78705e7. |
Updated by mfrosch on 2016-05-18 17:29:11 +00:00
Running on v2.4.8-413-g4af6bde a single "check now" command will cause the CommandListener Thread got haywire, 100% CPU usage.
this=0x7f7a80036ee8, f=..., a=...) at /usr/include/boost/bind/bind.hpp:313
this=0x7f7a80036ed8) at /usr/include/boost/bind/bind_template.hpp:20
No locals.
ts = {tv_sec = 2, tv_nsec = 500000000}
No locals.
now = 1463592450.8741579
... |
Updated by mfrosch on 2016-05-18 17:29:19 +00:00
|
Updated by gbeutner on 2016-05-19 05:05:44 +00:00
That's not the latest commit. Please test with 78705e7 or later. |
Updated by mfrosch on 2016-05-19 07:45:37 +00:00
Had to trigger Jenkins, seems to work fine now. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/11807
Created by mfrosch on 2016-05-18 13:29:01 +00:00
Assignee: mfrosch
Status: Resolved (closed on 2016-05-19 07:45:37 +00:00)
Target Version: 2.4.9
Last Update: 2016-05-19 07:45:37 +00:00 (in Redmine)
Seems that the CommandPipe Thread is running a busy loop after submitting a few commands:
No locals.
No locals.
rc =
PRETTY_FUNCTION = "size_t icinga::Socket::Read(void*, size_t)"
buffer = "[1463577735] SCHEDULE_FORCED_SVC_CHECK;muria;https cert horde.lazyfrosch.de;1463577735\n", '\000' <repeats 8104 times>
rc =
fd =
fifo = {px = 0x2b0640000960}
sock = {px = 0x2b0640000bb0}
src = {Buffer = 0x2b0640000e40 "[1463577735] SCHEDULE_FORCED_SVC_CHECK;muria;https cert horde.lazyfrosch.de;1463577735\n", Size = 0, MustRead = true, Eof = false}
statbuf = {st_dev = 15, st_ino = 19188, st_nlink = 1, st_mode = 4528, st_uid = 108, st_gid = 33, __pad0 = 0, st_rdev = 0, st_size = 0, st_blksize = 4096, st_blocks = 0, st_atim = {tv_sec = 1463574270, tv_nsec = 832464975}, st_mtim = {tv_sec = 1463574270,
tv_nsec = 372488893}, st_ctim = {tv_sec = 1463574373, tv_nsec = 83147659}, __glibc_reserved = {0, 0, 0}}
fifo_ok =
PRETTY_FUNCTION = "void icinga::ExternalCommandListener::CommandPipeThread(const icinga::String&)"
mode =
No symbol table info available.
__res =
pd = 0x2b062df50700
now =
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {47305540830976, -2871906052433176024, 0, 47304928968800, 47305534523840, 47305540830976, -8203118426899801560, -8203055373650290136}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {
prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call =
pagesize_m1 =
sp =
freesize =
PRETTY_FUNCTION = "start_thread"
Changesets
2016-05-18 13:52:29 +00:00 by gbeutner 78705e7
2016-05-19 07:50:55 +00:00 by gbeutner 3746374
The text was updated successfully, but these errors were encountered: