- From: Nanuk Krinner <
>
- To:
- Subject: [chef] Re: Chef-expander not working / search problem
- Date: Tue, 11 Sep 2012 22:14:43 +0200
Hi all,
When I follow the chef-expander and the chef-expander worker process
with strace, I get the following output:
-----------------------------------------------
# strace -p<chef-expander pid>
restart_syscall(<... resuming interrupted call ...>) = -1 ETIMEDOUT
(Connection timed out)
futex(0x603d98, FUTEX_WAKE_PRIVATE, 1) = 0
wait4(20349, 0x7fff7cb0c52c, WNOHANG, NULL) = 0
futex(0x603d34, FUTEX_WAIT_BITSET_PRIVATE, 19547, {2782149, 248024819},
ffffffff) = -1 ETIMEDOUT (Connection timed out)
futex(0x603d98, FUTEX_WAKE_PRIVATE, 1) = 0
wait4(20349, 0x7fff7cb0c52c, WNOHANG, NULL) = 0
futex(0x603d34, FUTEX_WAIT_BITSET_PRIVATE, 19549, {2782150, 248305174},
ffffffff) = -1 ETIMEDOUT (Connection timed out)
[...]
-------------------------------------------------
For the chef-expander worker I get the following:
-------------------------------------------------
# strace -p<chef-expander worker pid>
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
getppid() = 20344
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 1 (in [10], left {0, 82382})
read(10, "\1\0\1\0\0\0\26\0002\0\v\tvnode-812\0\0\0\0\0\0\0\1\316",
16384) = 30
rt_sigprocmask(SIG_SETMASK, ~[INT KILL SEGV TERM STOP VTALRM RTMIN
RT_1], NULL, 8) = 0
read(10, 0x7fff7cb07d70, 16384) = -1 EAGAIN (Resource
temporarily unavailable)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
getppid()
[...]
---------------------------------------------------
I don't really understand the output, but I get the impression something
is wrong here. How does it look on a working system?
On very rare occasions I get something like this in the chef-expander
worker strace output:
----------------------------------------------------
getppid() = 20344
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [10], [], {0, 90000}) = 1 (out [10], left {0, 89997})
writev(10, [{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-0\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-1\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-2\1\0\0\0\0\316", 27}], 3) = 81
select(11, [8 10], [], [], {0, 90000}) = 0 (Timeout)
select(11, [8 10], [10], [], {0, 90000}) = 1 (out [10], left {0, 89995})
writev(10, [{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-3\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-4\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-5\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-6\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-7\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-8\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\23\0002\0\n\0\1\7vnode-9\1\0\0\0\0\316", 27},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-10\1\0\0\0\0\316", 28},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-11\1\0\0\0\0\316", 28},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-12\1\0\0\0\0\316", 28},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-13\1\0\0\0\0\316", 28},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-14\1\0\0\0\0\316", 28},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-15\1\0\0\0\0\316", 28},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-16\1\0\0\0\0\316", 28},
{"\1\0\1\0\0\0\24\0002\0\n\0\1\10vnode-17\1\0\0\0\0\316", 28}], 15) = 413
[...]
-------------------------------------------------------
Is this how it looks when chef-expander does what it should?
Thanks in advance.
Regards,
Nanuk
Archive powered by MHonArc 2.6.16.