The -f output with more context(returning to the main thread 30617 and
waiting for another socket connection):
[pid 30670] clock_gettime(CLOCK_REALTIME, {1526142534, 664590192}) = 0
[pid 30670] write(2, "2018/05/13 00:28:54 cmd params c"...,
1492018/05/13 00:28:54 cmd params create -f qcow2
/data/kvm_img/b628579d-ae3d-41f0-887e-895204190c70/new-disk1.qcow2
1024M
) = 149
[pid 30670] stat("/usr/local/sbin/qemu-img", 0xc42005a6b8) = -1 ENOENT
(No such file or directory)
[pid 30670] stat("/usr/local/bin/qemu-img", 0xc42005a788) = -1 ENOENT
(No such file or directory)[pid 30670] stat("/usr/sbin/qemu-img",
0xc42005a858) = -1 ENOENT (No such file or directory)
[pid 30670] stat("/usr/bin/qemu-img", {st_mode=S_IFREG|0755,
st_size=815784, ...}) = 0
[pid 30670] openat(AT_FDCWD, "/dev/null", O_RDONLY|O_CLOEXEC) = 7
[pid 30670] pipe2([8, 9], O_CLOEXEC) = 0
[pid 30670] pipe2([10, 11], O_CLOEXEC) = 0
[pid 30670] close(7) = 0
[pid 30670] close(9) = 0
[pid 30670] close(11) = 0
[pid 30670] close(8) = 0
[pid 30670] close(10) = 0
[pid 30670] write(1, "ret {\"status\":\"error\",\"error\":\"f"...,
79ret {"status":"error","error":"fork/exec /usr/bin/qemu-img: invalid
argument"}
) = 79
[pid 30670] write(6, "{\"status\":\"error\",\"error\":\"fork/"..., 74) = 74
[pid 30670] write(1, "handle over, byebye\n", 20handle over, byebye
) = 20
[pid 30670] epoll_ctl(5, EPOLL_CTL_DEL, 6, 0xc42004ddec) = 0[pid
30670] close(6) = 0
[pid 30670] epoll_wait(5, [], 128, 0) = 0
[pid 30670] epoll_wait(5, <unfinished ...>
[pid 30671] <... sched_yield resumed> ) = 0
[pid 30671] futex(0x9fe610, FUTEX_WAKE, 1) = 0
[pid 30671] clock_gettime(CLOCK_MONOTONIC, {4411908, 247223972}) = 0
[pid 30671] clock_gettime(CLOCK_REALTIME, {1526142534, 671270292}) = 0
[pid 30671] pselect6(0, NULL, NULL, NULL, {0, 20000}, NULL) = 0 (Timeout)
[pid 30671] clock_gettime(CLOCK_MONOTONIC, {4411908, 247815618}) = 0
[pid 30671] futex(0x9fe6d8, FUTEX_WAIT, 0, {60, 0}
Still seems no fork though...