Skip to content

Instantly share code, notes, and snippets.

@xse
Created October 19, 2019 14:45
Show Gist options
  • Save xse/18b527375ece61f0f6fc3c9b249e4a25 to your computer and use it in GitHub Desktop.
Save xse/18b527375ece61f0f6fc3c9b249e4a25 to your computer and use it in GitHub Desktop.
130 xse@krkrkr ~ % strace -f -c kcgi/regress/test-fcgi-bigfile :(
strace: Process 8569 attached
strace: Process 8570 attached
strace: Process 8571 attached
strace: Process 8572 attached
strace: Process 8573 attached
child.c:1197: RFC violation: REMOTE_ADDR not set
child.c:1223: RFC violation: SERVER_PORT not set
wrappers.c:289: poll: POLLHUP
wrappers.c:289: poll: POLLHUP
wrappers.c:289: poll: POLLHUP
ssh_sandbox_violation_control: unexpected system call (control) (arch:0xc000003e,syscall:219 @ 0x7f9245ad79b7)
ssh_sandbox_violation_worker: unexpected system call (worker) (arch:0xc000003e,syscall:219 @ 0x7f9245ad79b7)
fcgi.c:689: fullreadfd: hangup (terminating)
wrappers.c:182: child status 1
wrappers.c:182: child status 1
% time seconds usecs/call calls errors syscall
------ ----------- ----------- --------- --------- ----------------
59.44 0.026522 6630 4 wait4
12.42 0.005544 4 1213 3 poll
11.39 0.005084 3 1376 1 write
6.49 0.002897 3 834 read
2.73 0.001217 1 695 rt_sigaction
1.48 0.000662 3 206 mremap
0.88 0.000394 3 114 mmap
0.63 0.000283 14 19 sendto
0.59 0.000262 7 36 mprotect
0.52 0.000232 3 64 close
0.51 0.000229 45 5 clone
0.50 0.000224 6 36 1 openat
0.36 0.000160 12 13 futex
0.32 0.000141 15 9 munmap
0.27 0.000120 9 13 brk
0.25 0.000111 3 35 fstat
0.23 0.000103 34 3 restart_syscall
0.23 0.000102 14 7 4 connect
0.16 0.000072 14 5 recvmsg
0.14 0.000061 5 11 socket
0.08 0.000037 37 1 madvise
0.05 0.000023 0 24 rt_sigprocmask
0.04 0.000019 0 21 fcntl
0.04 0.000018 9 2 kill
0.03 0.000015 3 4 getsockname
0.03 0.000012 4 3 setsockopt
0.02 0.000010 10 1 getpeername
0.02 0.000010 2 4 socketpair
0.02 0.000010 5 2 getsockopt
0.01 0.000006 6 1 recvfrom
0.01 0.000006 6 1 sendmsg
0.01 0.000006 2 3 bind
0.01 0.000006 1 6 set_robust_list
0.01 0.000005 0 10 lseek
0.01 0.000005 2 2 1 arch_prctl
0.01 0.000004 4 1 stat
0.01 0.000004 4 1 set_tid_address
0.01 0.000004 0 5 prlimit64
0.01 0.000003 3 1 uname
0.00 0.000000 0 1 1 access
0.00 0.000000 0 1 dup2
0.00 0.000000 0 2 getpid
0.00 0.000000 0 2 accept
0.00 0.000000 0 2 listen
0.00 0.000000 0 1 execve
0.00 0.000000 0 2 unlink
0.00 0.000000 0 2 umask
0.00 0.000000 0 4 prctl
------ ----------- ----------- --------- --------- ----------------
100.00 0.044623 4808 11 total
1 xse@krkrkr ~ %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment