Skip to content

Instantly share code, notes, and snippets.

@tfoote
Created April 28, 2015 07:11
Show Gist options
  • Save tfoote/807399caba8fd1d8601c to your computer and use it in GitHub Desktop.
Save tfoote/807399caba8fd1d8601c to your computer and use it in GitHub Desktop.
Strace of locking docker instance
jenkins+ 1336 0.0 0.0 18744 608 ? S 00:48 0:00 /usr/bin/daemon --name=jenkins-slave --inherit --output=/var/log/jenkins-slav
jenkins+ 1337 0.5 1.5 6750752 240036 ? Sl 00:48 2:07 \_ /usr/bin/java -jar /home/jenkins-slave/swarm-client-1.17-jar-with-depende
jenkins+ 6884 0.0 0.0 4440 652 ? S 05:03 0:00 \_ /bin/sh -xe /tmp/hudson6273066534692357934.sh
jenkins+ 6888 0.1 0.0 33604 9176 ? S 05:03 0:11 | \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__nodelet__ubun
jenkins+ 6891 0.0 0.0 26744 6484 ? S 05:03 0:00 | \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__nodelet__ubun
jenkins+ 6892 0.0 0.0 156872 11036 ? Sl 05:03 0:00 | \_ docker pull ubuntu:vivid
jenkins+ 15418 0.0 0.0 4440 652 ? S 05:33 0:00 \_ /bin/sh -xe /tmp/hudson6039537090141182541.sh
jenkins+ 15422 0.1 0.0 33320 8908 ? S 05:33 0:06 | \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__topic_tools__
jenkins+ 15476 0.0 0.0 26740 6480 ? S 05:33 0:00 | \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__topic_tools__
jenkins+ 15477 0.0 0.0 115892 9192 ? Sl 05:33 0:00 | \_ docker pull ubuntu:vivid
jenkins+ 23372 0.0 0.0 4440 652 ? S 05:36 0:00 \_ /bin/sh -xe /tmp/hudson6649440224082550829.sh
jenkins+ 23377 0.1 0.0 33320 8648 ? S 05:36 0:06 | \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__diagnostic_up
jenkins+ 23380 0.0 0.0 26664 6472 ? S 05:36 0:00 | \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__diagnostic_up
jenkins+ 23381 0.0 0.0 107696 9008 ? Sl 05:36 0:00 | \_ docker pull ubuntu:vivid
jenkins+ 5077 0.0 0.0 4440 656 ? S 05:44 0:00 \_ /bin/sh -xe /tmp/hudson6492229352316809502.sh
jenkins+ 5081 0.1 0.0 33296 8640 ? S 05:44 0:05 \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__web_video_ser
jenkins+ 5084 0.0 0.0 26740 6480 ? S 05:44 0:00 \_ python3 -u /home/jenkins-slave/workspace/Jbin_uV64__web_video_ser
jenkins+ 5085 0.0 0.0 107696 8952 ? Sl 05:44 0:00 \_ docker pull ubuntu:vivid
newrelic 1373 0.0 0.0 16932 636 ? Ss 00:48 0:00 /usr/sbin/nrsysmond -c /etc/newrelic/nrsysmond.cfg -p /var/run/newrelic/nrsys
newrelic 1374 0.0 0.0 251476 5744 ? Sl 00:48 0:16 \_ /usr/sbin/nrsysmond -c /etc/newrelic/nrsysmond.cfg -p /var/run/newrelic/n
root 1486 0.0 0.0 14536 916 tty1 Ss+ 00:48 0:00 /sbin/getty -8 38400 tty1
root 1487 0.0 0.0 12784 840 ttyS0 Ss+ 00:48 0:00 /sbin/getty -8 38400 ttyS0
ntp 1767 0.0 0.0 31440 2064 ? Ss 00:48 0:02 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 106:112
root@ip-172-31-18-10:~# strace -p 6892
Process 6892 attached
epoll_wait(4, ^CProcess 6892 detached
<detached ...>
root@ip-172-31-18-10:~# strace -p 15477
Process 15477 attached
epoll_wait(4, ^CProcess 15477 detached
<detached ...>
root@ip-172-31-18-10:~# strace -p 23381
Process 23381 attached
epoll_wait(4, ^CProcess 23381 detached
<detached ...>
root@ip-172-31-18-10:~# strace -p 5085
Process 5085 attached
epoll_wait(4, ^CProcess 5085 detached
<detached ...>
root@ip-172-31-18-10:~# strace -p 5085 -f
Process 5085 attached with 4 threads
[pid 5087] futex(0x12fda20, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 5088] futex(0xc208020b58, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 5086] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 5085] epoll_wait(4, ^CProcess 5085 detached
<detached ...>
Process 5086 detached
Process 5087 detached
Process 5088 detached
root@ip-172-31-18-10:~# strace -p 23381 -f
Process 23381 attached with 4 threads
[pid 23383] futex(0x12fda20, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 23382] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 23384] futex(0xc208020b58, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 23381] epoll_wait(4, ^CProcess 23381 detached
<detached ...>
Process 23382 detached
Process 23383 detached
Process 23384 detached
root@ip-172-31-18-10:~# strace -p 15477 -f
Process 15477 attached with 5 threads
[pid 15481] futex(0xc208020ed8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 15479] futex(0x12fda20, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 15478] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 15480] futex(0xc208020b58, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 15477] epoll_wait(4, ^CProcess 15477 detached
<detached ...>
Process 15478 detached
Process 15479 detached
Process 15480 detached
Process 15481 detached
root@ip-172-31-18-10:~# strace -p 6892 -f
Process 6892 attached with 10 threads
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6900] futex(0xc20810a0d8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6898] futex(0xc208021958, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6897] futex(0xc2080215d8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6896] futex(0xc208021258, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6894] futex(0x12fda20, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 6892] epoll_wait(4, <unfinished ...>
[pid 6895] futex(0xc208020ed8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6899] futex(0xc208021cd8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] <... restart_syscall resumed> ) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21578, 736381786}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21578, 736462209}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430203640, 303468190}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1 <unfinished ...>
[pid 6901] <... futex resumed> ) = 0
[pid 6893] <... futex resumed> ) = 1
[pid 6901] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] <... clock_gettime resumed> {21578, 736740355}) = 0
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21578, 737044492}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {21578, 737439994}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430203640, 304465909}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21578, 737823441}) = 0
[pid 6901] epoll_wait(4, <unfinished ...>
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 6893] <... clock_gettime resumed> {1430203640, 304861901}) = 0
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21578, 738273719}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21638, 738611510}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21638, 738714144}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430203700, 305745618}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21638, 739167362}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21698, 739503659}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21698, 739608026}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430203760, 306635739}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1) = 1
[pid 6901] <... futex resumed> ) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {21698, 739910097}) = 0
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21698, 740140224}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {21698, 740586911}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430203760, 307613463}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21698, 740962771}) = 0
[pid 6901] epoll_wait(4, <unfinished ...>
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 6893] <... clock_gettime resumed> {1430203760, 308005856}) = 0
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21698, 741405113}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21758, 741748447}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21758, 741853699}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430203820, 308885715}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21758, 742270008}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21818, 742607138}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21818, 742708342}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430203880, 309739111}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1) = 1
[pid 6901] <... futex resumed> ) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {21818, 743011041}) = 0
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21818, 743238437}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {21818, 743689695}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430203880, 310718339}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21818, 744069502}) = 0
[pid 6901] epoll_wait(4, <unfinished ...>
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 6893] <... clock_gettime resumed> {1430203880, 311111531}) = 0
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21818, 744507511}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21878, 744855250}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21878, 744963429}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430203940, 311998676}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21878, 745425859}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21938, 745755732}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21938, 745841566}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204000, 312860267}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1 <unfinished ...>
[pid 6901] <... futex resumed> ) = 0
[pid 6893] <... futex resumed> ) = 1
[pid 6901] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] <... clock_gettime resumed> {21938, 746117104}) = 0
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21938, 746387531}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {21938, 746796565}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430204000, 313823688}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21938, 747164412}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] epoll_wait(4, <unfinished ...>
[pid 6893] <... clock_gettime resumed> {1430204000, 314178256}) = 0
[pid 6901] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21938, 747571786}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21998, 747910608}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21998, 747963889}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204060, 314956155}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {21998, 748420500}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22058, 748791336}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22058, 748887828}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204120, 315917432}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1 <unfinished ...>
[pid 6901] <... futex resumed> ) = 0
[pid 6893] <... futex resumed> ) = 1
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {22058, 749167682}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22058, 749509946}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {22058, 749845244}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430204120, 316871764}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22058, 750225709}) = 0
[pid 6901] epoll_wait(4, <unfinished ...>
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 6893] <... clock_gettime resumed> {1430204120, 317265975}) = 0
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22058, 750669383}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22118, 750994437}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22118, 751099147}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204180, 318134810}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22118, 751553784}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22178, 751918819}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22178, 752026874}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204240, 319052988}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1 <unfinished ...>
[pid 6901] <... futex resumed> ) = 0
[pid 6893] <... futex resumed> ) = 1
[pid 6901] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] <... clock_gettime resumed> {22178, 752329438}) = 0
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22178, 752642787}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {22178, 753010508}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430204240, 320035070}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22178, 753391071}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] <... clock_gettime resumed> {1430204240, 320447599}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22178, 753861025}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22238, 754232613}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22238, 754338711}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204300, 321375567}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22238, 754801501}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22298, 755190754}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22298, 755296792}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204360, 322335122}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1 <unfinished ...>
[pid 6901] <... futex resumed> ) = 0
[pid 6893] <... futex resumed> ) = 1
[pid 6901] clock_gettime(CLOCK_MONOTONIC, <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] <... clock_gettime resumed> {22298, 755617627}) = 0
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22298, 755932914}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {22298, 756332682}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430204360, 323359224}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22298, 756714083}) = 0
[pid 6901] epoll_wait(4, <unfinished ...>
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 6893] <... clock_gettime resumed> {1430204360, 323751411}) = 0
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22298, 757156884}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}^CProcess 6892 detached
Process 6893 detached
<detached ...>
Process 6894 detached
Process 6895 detached
Process 6896 detached
Process 6897 detached
Process 6898 detached
Process 6899 detached
Process 6900 detached
Process 6901 detached
root@ip-172-31-18-10:~# strace -p 6892 -f
Process 6892 attached with 10 threads
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6900] futex(0xc20810a0d8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6899] futex(0xc208021cd8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6898] futex(0xc208021958, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6897] futex(0xc2080215d8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6894] futex(0x12fda20, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6896] futex(0xc208021258, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6895] futex(0xc208020ed8, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] restart_syscall(<... resuming interrupted call ...> <unfinished ...>
[pid 6892] epoll_wait(4, <unfinished ...>
[pid 6893] <... restart_syscall resumed> ) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22418, 757836698}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22418, 757946264}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204480, 324979638}) = 0
[pid 6893] futex(0xc20810a458, FUTEX_WAKE, 1) = 1
[pid 6901] <... futex resumed> ) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {22418, 758258629}) = 0
[pid 6893] <... select resumed> ) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22418, 758476507}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6901] clock_gettime(CLOCK_MONOTONIC, {22418, 758931641}) = 0
[pid 6901] clock_gettime(CLOCK_REALTIME, {1430204480, 325954777}) = 0
[pid 6901] epoll_wait(4, {}, 128, 0) = 0
[pid 6901] futex(0x12eb440, FUTEX_WAKE, 1) = 1
[pid 6893] <... futex resumed> ) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22418, 759315315}) = 0
[pid 6901] epoll_wait(4, <unfinished ...>
[pid 6893] clock_gettime(CLOCK_REALTIME, <unfinished ...>
[pid 6901] <... epoll_wait resumed> {}, 128, 0) = 0
[pid 6893] <... clock_gettime resumed> {1430204480, 326347839}) = 0
[pid 6901] futex(0xc20810a458, FUTEX_WAIT, 0, NULL <unfinished ...>
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22418, 759764855}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0}
) = -1 ETIMEDOUT (Connection timed out)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22478, 760131805}) = 0
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22478, 760233112}) = 0
[pid 6893] clock_gettime(CLOCK_REALTIME, {1430204540, 327266266}) = 0
[pid 6893] select(0, NULL, NULL, NULL, {0, 20}) = 0 (Timeout)
[pid 6893] clock_gettime(CLOCK_MONOTONIC, {22478, 760680820}) = 0
[pid 6893] futex(0x12eb440, FUTEX_WAIT, 0, {60, 0} <unfinished ...>
[pid 6892] <... epoll_wait resumed> 7ffff91f4cf8, 128, -1) = -1 EINTR (Interrupted system call)
[pid 6892] --- SIGTERM {si_signo=SIGTERM, si_code=SI_USER, si_pid=1337, si_uid=1001} ---
[pid 6892] exit_group(2) = ?
[pid 6893] +++ exited with 2 +++
[pid 6901] +++ exited with 2 +++
[pid 6900] +++ exited with 2 +++
[pid 6899] +++ exited with 2 +++
[pid 6898] +++ exited with 2 +++
[pid 6897] +++ exited with 2 +++
[pid 6896] +++ exited with 2 +++
[pid 6895] +++ exited with 2 +++
[pid 6894] +++ exited with 2 +++
+++ exited with 2 +++
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment