Create a gist now

Instantly share code, notes, and snippets.

A networking puzzle.

You are trying to make a lot of simulataneous network connections to localhost. You get up to about 2000 HTTP requests per second, when your CPU usage goes up to 100% on all cores.

perf top reports the following:

 31.01%  [kernel]                    [k] inet_csk_bind_conflict
 20.60%  [kernel]                    [k] inet_csk_get_port
  9.82%  [kernel]                    [k] _raw_spin_lock
  4.62%  perf                        [.] 0x0000000000038ba1
  3.90%  [kernel]                    [k] _raw_read_unlock_bh
  3.26%  [kernel]                    [k] _raw_read_lock_bh
  3.19%  [kernel]                    [k] local_bh_enable_ip
  2.08%  chrome                      [.] 0x0000000001c1ecd1
  1.91%  [kernel]                    [k] local_bh_disable
  1.28%  [kernel]                    [k] _raw_spin_unlock
  0.99%  libbfd-2.22-system.so       [.] 0x00000000000b65cc

and here are a few hundred lines of strace output. What's going on? it is running bind() all the time, but it's making outgoing HTTP connections. that makes no sense!! I think this may be a weird erlang thing but I don't understand what it could be at all.

11064 futex(0x7f0f98000310, FUTEX_WAIT_PRIVATE, 4294967295, NULL <unfinished ...>
11063 futex(0x7f0f980002d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL <unfinished ...>
11062 futex(0x7f0f98000290, FUTEX_WAIT_PRIVATE, 4294967295, NULL <unfinished ...>
11061 futex(0x7f0f98000250, FUTEX_WAIT_PRIVATE, 4294967295, NULL <unfinished ...>
11060 futex(0x7f0f98000210, FUTEX_WAIT_PRIVATE, 4294967295, NULL <unfinished ...>
11059 futex(0x7f0f980001d0, FUTEX_WAIT_PRIVATE, 4294967295, NULL <unfinished ...>
11058 futex(0x7f0f98000190, FUTEX_WAIT_PRIVATE, 4294967295, NULL <unfinished ...>
11057 futex(0x8e0984, FUTEX_WAIT_PRIVATE, 3, NULL <unfinished ...>
11056 read(6,  <unfinished ...>
11034 select(0, NULL, NULL, NULL, NULL <unfinished ...>
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... socket resumed> )            = 19
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 close(18 <unfinished ...>
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... close resumed> )             = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 close(16 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... close resumed> )             = 0
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... socket resumed> )            = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16 <unfinished ...>
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 <... close resumed> )             = 0
11069 close(19)                         = 0
11069 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... socket resumed> )            = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... fcntl resumed> )             = 0
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(18 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... close resumed> )             = 0
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 close(19 <unfinished ...>
11070 <... socket resumed> )            = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... socket resumed> )            = 18
11069 <... close resumed> )             = 0
11072 fcntl(18, F_GETFL <unfinished ...>
11071 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 <... socket resumed> )            = 19
11071 close(15 <unfinished ...>
11069 fcntl(19, F_GETFL <unfinished ...>
11071 <... close resumed> )             = 0
11069 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... socket resumed> )            = 15
11069 <... fcntl resumed> )             = 0
11071 fcntl(15, F_GETFL <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 <... fcntl resumed> )             = 0
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 close(18 <unfinished ...>
11070 close(16 <unfinished ...>
11072 <... close resumed> )             = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... close resumed> )             = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... ppoll resumed> )             = 0 (Timeout)
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 close(19 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 <... close resumed> )             = 0
11072 <... socket resumed> )            = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... fcntl resumed> )             = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... socket resumed> )            = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 <... close resumed> )             = 0
11072 <... socket resumed> )            = 18
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 fcntl(18, F_GETFL <unfinished ...>
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(18 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 <... close resumed> )             = 0
11071 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 close(16 <unfinished ...>
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 close(15 <unfinished ...>
11072 <... socket resumed> )            = 18
11070 <... close resumed> )             = 0
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11071 <... close resumed> )             = 0
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 fcntl(15, F_GETFL <unfinished ...>
11070 <... socket resumed> )            = 16
11072 <... fcntl resumed> )             = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 fcntl(16, F_GETFL <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19 <unfinished ...>
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 <... close resumed> )             = 0
11071 close(15)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 <... socket resumed> )            = 19
11071 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... socket resumed> )            = 16
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 fcntl(16, F_GETFL <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... fcntl resumed> )             = 0
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 close(15 <unfinished ...>
11071 close(19 <unfinished ...>
11069 <... close resumed> )             = 0
11071 <... close resumed> )             = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 <... socket resumed> )            = 19
11072 close(18 <unfinished ...>
11071 fcntl(19, F_GETFL <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 <... close resumed> )             = 0
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 close(15)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(19)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11071 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(15)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(19)                         = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11071 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(15)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(19)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11071 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(15)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 close(19 <unfinished ...>
11072 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 <... close resumed> )             = 0
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 close(18 <unfinished ...>
11071 <... socket resumed> )            = 19
11071 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... close resumed> )             = 0
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(15)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11072 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(16)                         = 0
11070 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(19)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... socket resumed> )            = 19
11071 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(18 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 close(16 <unfinished ...>
11072 <... close resumed> )             = 0
11071 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... close resumed> )             = 0
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 close(19 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 <... close resumed> )             = 0
11069 close(15 <unfinished ...>
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... socket resumed> )            = 15
11071 <... socket resumed> )            = 16
11072 fcntl(15, F_GETFL <unfinished ...>
11071 fcntl(16, F_GETFL <unfinished ...>
11072 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11071 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 <... fcntl resumed> )             = 0
11071 <... fcntl resumed> )             = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... socket resumed> )            = 18
11069 <... close resumed> )             = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... fcntl resumed> )             = 0
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 close(16)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11071 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 close(15)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11072 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... close resumed> )             = 0
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 close(19 <unfinished ...>
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 <... close resumed> )             = 0
11070 <... socket resumed> )            = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8 <unfinished ...>
11072 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(15 <unfinished ...>
11070 close(18 <unfinished ...>
11071 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... close resumed> )             = 0
11070 <... close resumed> )             = 0
11069 <... ppoll resumed> )             = 0 (Timeout)
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 close(16 <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 <... close resumed> )             = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... socket resumed> )            = 16
11070 <... socket resumed> )            = 18
11072 fcntl(16, F_GETFL <unfinished ...>
11070 fcntl(18, F_GETFL <unfinished ...>
11072 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11071 <... socket resumed> )            = 19
11072 <... fcntl resumed> )             = 0
11071 fcntl(19, F_GETFL <unfinished ...>
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 <... socket resumed> )            = 15
11069 fcntl(15, F_GETFL <unfinished ...>
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... fcntl resumed> )             = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(19)                         = 0
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 <... socket resumed> )            = 19
11071 fcntl(19, F_GETFL <unfinished ...>
11072 close(16 <unfinished ...>
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 <... close resumed> )             = 0
11071 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... socket resumed> )            = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(15)                         = 0
11069 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11069 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11069 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(15 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 <... close resumed> )             = 0
11071 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(19)                         = 0
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11072 close(16 <unfinished ...>
11071 fcntl(15, F_GETFL <unfinished ...>
11072 <... close resumed> )             = 0
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 <... close resumed> )             = 0
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11072 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... fcntl resumed> )             = 0
11071 <... socket resumed> )            = 16
11072 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(15)                         = 0
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11070 close(18 <unfinished ...>
11072 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... close resumed> )             = 0
11071 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 close(16 <unfinished ...>
11072 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11071 <... close resumed> )             = 0
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 <... socket resumed> )            = 18
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 fcntl(18, F_GETFL <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 <... socket resumed> )            = 15
11072 <... socket resumed> )            = 16
11071 fcntl(15, F_GETFL <unfinished ...>
11072 fcntl(16, F_GETFL <unfinished ...>
11071 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11071 <... fcntl resumed> )             = 0
11072 <... fcntl resumed> )             = 0
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 close(19)                         = 0
11070 <... fcntl resumed> )             = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... ppoll resumed> )             = 0 (Timeout)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18 <unfinished ...>
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11070 <... close resumed> )             = 0
11070 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8 <unfinished ...>
11070 futex(0x7f0f97001d48, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
11071 <... ppoll resumed> )             = 0 (Timeout)
11070 <... futex resumed> )             = 0
11070 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(16 <unfinished ...>
11070 close(18 <unfinished ...>
11072 <... close resumed> )             = 0
11070 <... close resumed> )             = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11070 <... socket resumed> )            = 18
11072 <... fcntl resumed> )             = 0
11070 fcntl(18, F_GETFL <unfinished ...>
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 close(16 <unfinished ...>
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 <... close resumed> )             = 0
11070 close(18 <unfinished ...>
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 <... close resumed> )             = 0
11072 <... socket resumed> )            = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15 <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 <... close resumed> )             = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11069 close(19)                         = 0
11069 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8) = 0 (Timeout)
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 19
11069 fcntl(19, F_GETFL)                = 0x2 (flags O_RDWR)
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 getsockopt(18, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 18
11070 fcntl(18, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11072 close(16 <unfinished ...>
11069 close(19)                         = 0
11072 <... close resumed> )             = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 16
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 <... socket resumed> )            = 18
11069 <... socket resumed> )            = 19
11070 fcntl(18, F_GETFL <unfinished ...>
11069 fcntl(19, F_GETFL <unfinished ...>
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11069 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 fcntl(19, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11070 <... fcntl resumed> )             = 0
11069 <... fcntl resumed> )             = 0
11072 <... fcntl resumed> )             = 0
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 bind(19, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11071 close(15)                         = 0
11071 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 15
11071 fcntl(15, F_GETFL)                = 0x2 (flags O_RDWR)
11071 fcntl(15, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 bind(15, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16 <unfinished ...>
11070 getsockopt(18, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11072 <... close resumed> )             = 0
11070 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 close(18)                         = 0
11072 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11070 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}], 3, {0, 0}, NULL, 8 <unfinished ...>
11072 <... socket resumed> )            = 16
11070 <... ppoll resumed> )             = 0 (Timeout)
11072 fcntl(16, F_GETFL)                = 0x2 (flags O_RDWR)
11072 fcntl(16, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 bind(16, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11071 getsockopt(15, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... socket resumed> )            = 18
11071 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 fcntl(18, F_GETFL <unfinished ...>
11069 getsockopt(19, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 close(15 <unfinished ...>
11070 fcntl(18, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11071 <... close resumed> )             = 0
11070 <... fcntl resumed> )             = 0
11069 close(19 <unfinished ...>
11072 <... bind resumed> )              = -1 EADDRINUSE (Address already in use)
11070 bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... close resumed> )             = 0
11072 getsockopt(16, SOL_SOCKET, SO_LINGER, {onoff=0, linger=0}, [8]) = 0
11072 close(16)                         = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, 
11072 writev(15, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11071 writev(18, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 fcntl(61, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... fcntl resumed> )             = 0
11069 bind(55, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 recvfrom(15,  <unfinished ...>
11070 bind(61, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f8094c658, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... bind resumed> )              = 0
11072 writev(20, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 getsockname(61,  <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(60493), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11072 recvfrom(20,  <unfinished ...>
11070 connect(61, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f808da000, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11070 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=59, events=POLLOUT}, {fd=43, events=POLLOUT}, {fd=54, events=POLLOUT}, {fd=53, events=POLLOUT}, {fd=46, events=POLLOUT}, {fd=51, events=POLLOUT}, {fd=49, events=POLLOUT}, {fd=56, events=POLLOUT}, {fd=58, events=POLLOUT}, {fd=57, events=POLLOUT}, {fd=60, events=POLLOUT}, {fd=15, events=POLLIN|POLLRDNORM}, {fd=20, events=POLLIN|POLLRDNORM}, {fd=61, events=POLLOUT}], 17, {0, 0}, NULL, 8) = 13 ([{fd=59, revents=POLLOUT}, {fd=43, revents=POLLOUT}, {fd=54, revents=POLLOUT}, {fd=53, revents=POLLOUT}, {fd=46, revents=POLLOUT}, {fd=51, revents=POLLOUT}, {fd=49, revents=POLLOUT}, {fd=56, revents=POLLOUT}, {fd=58, revents=POLLOUT}, {fd=57, revents=POLLOUT}, {fd=60, revents=POLLOUT}, {fd=15, revents=POLLIN|POLLRDNORM}, {fd=61, revents=POLLOUT}], left {0, 0})
11072 writev(16, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 getsockopt(43, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... getsockopt resumed> [0], [4]) = 0
11072 recvfrom(16,  <unfinished ...>
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f809dc760, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... socket resumed> )            = 62
11070 fcntl(62, F_GETFL <unfinished ...>
11072 getsockopt(56, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11072 <... getsockopt resumed> [0], [4]) = 0
11070 fcntl(62, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(62, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
11070 getsockname(62, {sa_family=AF_INET, sin_port=htons(52001), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11072 writev(25, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 connect(62, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(46, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 recvfrom(25,  <unfinished ...>
11070 <... getsockopt resumed> [0], [4]) = 0
11072 <... recvfrom resumed> 0x7f0f8098db80, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 getsockopt(58, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11070 <... socket resumed> )            = 63
11072 <... getsockopt resumed> [0], [4]) = 0
11070 fcntl(63, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(63, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 writev(27, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 <... fcntl resumed> )             = 0
11072 <... writev resumed> )            = 175
11070 bind(63, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
11072 recvfrom(27,  <unfinished ...>
11070 getsockname(63,  <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f80a0b5f0, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(53818), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11072 getsockopt(60, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11070 connect(63, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11072 <... getsockopt resumed> [0], [4]) = 0
11070 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(49, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
11072 writev(32, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... socket resumed> )            = 64
11070 fcntl(64, F_GETFL)                = 0x2 (flags O_RDWR)
11069 <... bind resumed> )              = 0
11072 recvfrom(32,  <unfinished ...>
11071 <... writev resumed> )            = 175
11072 <... recvfrom resumed> 0x7f0f809c60e8, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 fcntl(64, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11069 getsockname(55,  <unfinished ...>
11072 recvfrom(15,  <unfinished ...>
11071 recvfrom(18,  <unfinished ...>
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11071 <... recvfrom resumed> 0x7f0f88192f50, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... fcntl resumed> )             = 0
11069 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(58674), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11071 getsockopt(54, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11070 bind(64, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
11072 writev(34, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 getsockname(64,  <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(34533), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11072 recvfrom(34,  <unfinished ...>
11070 connect(64, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f8094c658, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(59, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 connect(55, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11071 <... getsockopt resumed> [0], [4]) = 0
11072 writev(29, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 <... socket resumed> )            = 65
11069 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11070 fcntl(65, F_GETFL <unfinished ...>
11072 <... writev resumed> )            = 175
11071 writev(17, [{"\0\0\0\20", 4}, {"\0\0\6\331\1\1localhost\0", 16}], 2 <unfinished ...>
11072 recvfrom(29,  <unfinished ...>
11071 <... writev resumed> )            = 20
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11069 getsockopt(53, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f808c5e28, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 fcntl(65, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11072 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=64, events=POLLOUT}, {fd=61, events=POLLOUT}, {fd=18, events=POLLIN|POLLRDNORM}, {fd=55, events=POLLOUT}, {fd=62, events=POLLOUT}, {fd=51, events=POLLOUT}, {fd=63, events=POLLOUT}, {fd=16, events=POLLIN|POLLRDNORM}, {fd=25, events=POLLIN|POLLRDNORM}, {fd=57, events=POLLOUT}, {fd=27, events=POLLIN|POLLRDNORM}, {fd=32, events=POLLIN|POLLRDNORM}, {fd=20, events=POLLIN|POLLRDNORM}, {fd=34, events=POLLIN|POLLRDNORM}, {fd=29, events=POLLIN|POLLRDNORM}], 18, {0, 0}, NULL, 8 <unfinished ...>
11070 bind(65, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... ppoll resumed> )             = 12 ([{fd=14, revents=POLLIN|POLLRDNORM}, {fd=64, revents=POLLOUT}, {fd=61, revents=POLLOUT}, {fd=55, revents=POLLOUT}, {fd=62, revents=POLLOUT}, {fd=51, revents=POLLOUT}, {fd=63, revents=POLLOUT}, {fd=16, revents=POLLIN|POLLRDNORM}, {fd=25, revents=POLLIN|POLLRDNORM}, {fd=57, revents=POLLOUT}, {fd=27, revents=POLLIN|POLLRDNORM}, {fd=20, revents=POLLIN|POLLRDNORM}], left {0, 0})
11070 <... bind resumed> )              = 0
11070 getsockname(65,  <unfinished ...>
11072 read(14,  <unfinished ...>
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(49482), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11072 <... read resumed> "\0\0\0\33\0\0\6\331\4\0\0\0\1\177\0\0\1\0\0\0\1localhost\0", 65536) = 31
11070 connect(65, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(51, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 writev(37, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 <... socket resumed> )            = 66
11072 <... writev resumed> )            = 175
11070 fcntl(66, F_GETFL)                = 0x2 (flags O_RDWR)
11072 recvfrom(37,  <unfinished ...>
11070 fcntl(66, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f80a26da8, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... fcntl resumed> )             = 0
11071 getsockopt(57, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11070 bind(66, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 recvfrom(16,  <unfinished ...>
11070 <... bind resumed> )              = 0
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 getsockname(66,  <unfinished ...>
11071 <... getsockopt resumed> [0], [4]) = 0
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(54295), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11069 <... getsockopt resumed> [0], [4]) = 0
11070 connect(66, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11072 writev(39, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11071 writev(23, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11072 <... writev resumed> )            = 175
11070 getsockopt(61, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 recvfrom(39,  <unfinished ...>
11070 <... getsockopt resumed> [0], [4]) = 0
11072 <... recvfrom resumed> 0x7f0f809dc760, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 recvfrom(25,  <unfinished ...>
11070 <... socket resumed> )            = 67
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 fcntl(67, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(67, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(67, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
11072 writev(42, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 getsockname(67,  <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(34394), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11072 recvfrom(42,  <unfinished ...>
11070 connect(67, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f8098db80, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11072 recvfrom(27,  <unfinished ...>
11070 getsockopt(64, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 <... getsockopt resumed> [0], [4]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 <... writev resumed> )            = 175
11070 <... socket resumed> )            = 68
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 recvfrom(23,  <unfinished ...>
11072 writev(44, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 fcntl(68, F_GETFL <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 <... recvfrom resumed> 0x7f0f92251f88, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11072 recvfrom(44,  <unfinished ...>
11070 fcntl(68, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f80a0b5f0, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... fcntl resumed> )             = 0
11069 <... socket resumed> )            = 69
11070 bind(68, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=67, events=POLLOUT}, {fd=66, events=POLLOUT}, {fd=18, events=POLLIN|POLLRDNORM}, {fd=55, events=POLLOUT}, {fd=62, events=POLLOUT}, {fd=65, events=POLLOUT}, {fd=63, events=POLLOUT}, {fd=29, events=POLLIN|POLLRDNORM}, {fd=39, events=POLLIN|POLLRDNORM}, {fd=37, events=POLLIN|POLLRDNORM}, {fd=42, events=POLLIN|POLLRDNORM}, {fd=32, events=POLLIN|POLLRDNORM}, {fd=20, events=POLLIN|POLLRDNORM}, {fd=34, events=POLLIN|POLLRDNORM}, {fd=23, events=POLLIN|POLLRDNORM}, {fd=44, events=POLLIN|POLLRDNORM}], 19, {0, 0}, NULL, 8 <unfinished ...>
11071 writev(35, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11072 <... ppoll resumed> )             = 8 ([{fd=67, revents=POLLOUT}, {fd=66, revents=POLLOUT}, {fd=55, revents=POLLOUT}, {fd=62, revents=POLLOUT}, {fd=65, revents=POLLOUT}, {fd=63, revents=POLLOUT}, {fd=32, revents=POLLIN|POLLRDNORM}, {fd=20, revents=POLLIN|POLLRDNORM}], left {0, 0})
11070 <... bind resumed> )              = 0
11072 recvfrom(20,  <unfinished ...>
11070 getsockname(68,  <unfinished ...>
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(56259), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11070 connect(68, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(62, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 writev(47, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 <... socket resumed> )            = 70
11072 <... writev resumed> )            = 175
11070 fcntl(70, F_GETFL)                = 0x2 (flags O_RDWR)
11072 recvfrom(47,  <unfinished ...>
11070 fcntl(70, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f808da000, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... fcntl resumed> )             = 0
11070 bind(70, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 recvfrom(32,  <unfinished ...>
11070 <... bind resumed> )              = 0
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 getsockname(70,  <unfinished ...>
11069 fcntl(69, F_GETFL <unfinished ...>
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(56814), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11071 <... writev resumed> )            = 175
11070 connect(70, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11072 writev(48, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 getsockopt(63, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 <... writev resumed> )            = 175
11070 <... getsockopt resumed> [0], [4]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 recvfrom(48,  <unfinished ...>
11070 <... socket resumed> )            = 71
11072 <... recvfrom resumed> 0x7f0f809c60e8, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 fcntl(71, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(71, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(71, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
11070 getsockname(71, {sa_family=AF_INET, sin_port=htons(57122), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11070 connect(71, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(67, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 72
11070 fcntl(72, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(72, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=71, events=POLLOUT}, {fd=66, events=POLLOUT}, {fd=18, events=POLLIN|POLLRDNORM}, {fd=55, events=POLLOUT}, {fd=68, events=POLLOUT}, {fd=65, events=POLLOUT}, {fd=70, events=POLLOUT}, {fd=29, events=POLLIN|POLLRDNORM}, {fd=39, events=POLLIN|POLLRDNORM}, {fd=37, events=POLLIN|POLLRDNORM}, {fd=42, events=POLLIN|POLLRDNORM}, {fd=47, events=POLLIN|POLLRDNORM}, {fd=44, events=POLLIN|POLLRDNORM}, {fd=34, events=POLLIN|POLLRDNORM}, {fd=23, events=POLLIN|POLLRDNORM}, {fd=48, events=POLLIN|POLLRDNORM}], 19, {0, 0}, NULL, 8 <unfinished ...>
11070 <... fcntl resumed> )             = 0
11072 <... ppoll resumed> )             = 9 ([{fd=71, revents=POLLOUT}, {fd=66, revents=POLLOUT}, {fd=18, revents=POLLIN|POLLRDNORM}, {fd=55, revents=POLLOUT}, {fd=68, revents=POLLOUT}, {fd=65, revents=POLLOUT}, {fd=70, revents=POLLOUT}, {fd=29, revents=POLLIN|POLLRDNORM}, {fd=23, revents=POLLIN|POLLRDNORM}], left {0, 0})
11070 bind(72, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 recvfrom(29,  <unfinished ...>
11070 <... bind resumed> )              = 0
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 getsockname(72, {sa_family=AF_INET, sin_port=htons(60460), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11070 connect(72, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(66, SOL_SOCKET, SO_ERROR, [0], [4]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 73
11070 fcntl(73, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(73, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(73, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
11070 getsockname(73, {sa_family=AF_INET, sin_port=htons(35095), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11070 connect(73, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11072 writev(56, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11071 recvfrom(35,  <unfinished ...>
11069 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11071 <... recvfrom resumed> 0x7f0f90d930b8, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11069 fcntl(69, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11071 recvfrom(18,  <unfinished ...>
11069 bind(69, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11069 <... bind resumed> )              = 0
11071 recvfrom(23,  <unfinished ...>
11069 getsockname(69, {sa_family=AF_INET, sin_port=htons(34747), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11071 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11069 connect(69, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=71, events=POLLOUT}, {fd=72, events=POLLOUT}, {fd=35, events=POLLIN|POLLRDNORM}, {fd=55, events=POLLOUT}, {fd=68, events=POLLOUT}, {fd=65, events=POLLOUT}, {fd=70, events=POLLOUT}, {fd=48, events=POLLIN|POLLRDNORM}, {fd=39, events=POLLIN|POLLRDNORM}, {fd=37, events=POLLIN|POLLRDNORM}, {fd=42, events=POLLIN|POLLRDNORM}, {fd=47, events=POLLIN|POLLRDNORM}, {fd=44, events=POLLIN|POLLRDNORM}, {fd=34, events=POLLIN|POLLRDNORM}], 17, {0, 0}, NULL, 8 <unfinished ...>
11069 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11071 <... ppoll resumed> )             = 12 ([{fd=71, revents=POLLOUT}, {fd=72, revents=POLLOUT}, {fd=35, revents=POLLIN|POLLRDNORM}, {fd=55, revents=POLLOUT}, {fd=68, revents=POLLOUT}, {fd=65, revents=POLLOUT}, {fd=70, revents=POLLOUT}, {fd=39, revents=POLLIN|POLLRDNORM}, {fd=37, revents=POLLIN|POLLRDNORM}, {fd=42, revents=POLLIN|POLLRDNORM}, {fd=44, revents=POLLIN|POLLRDNORM}, {fd=34, revents=POLLIN|POLLRDNORM}], left {0, 0})
11069 getsockopt(55, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 <... writev resumed> )            = 175
11071 recvfrom(35,  <unfinished ...>
11070 getsockopt(65, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11069 <... getsockopt resumed> [0], [4]) = 0
11072 recvfrom(56,  <unfinished ...>
11071 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 <... getsockopt resumed> [0], [4]) = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=71, events=POLLOUT}, {fd=72, events=POLLOUT}, {fd=34, events=POLLIN|POLLRDNORM}, {fd=69, events=POLLOUT}, {fd=68, events=POLLOUT}, {fd=73, events=POLLOUT}, {fd=70, events=POLLOUT}, {fd=48, events=POLLIN|POLLRDNORM}, {fd=39, events=POLLIN|POLLRDNORM}, {fd=37, events=POLLIN|POLLRDNORM}, {fd=42, events=POLLIN|POLLRDNORM}, {fd=47, events=POLLIN|POLLRDNORM}, {fd=44, events=POLLIN|POLLRDNORM}], 16, {0, 0}, NULL, 8 <unfinished ...>
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 <... socket resumed> )            = 74
11070 <... socket resumed> )            = 75
11070 fcntl(75, F_GETFL)                = 0x2 (flags O_RDWR)
11070 fcntl(75, F_SETFL, O_RDWR|O_NONBLOCK) = 0
11070 bind(75, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... ppoll resumed> )             = 13 ([{fd=71, revents=POLLOUT}, {fd=72, revents=POLLOUT}, {fd=34, revents=POLLIN|POLLRDNORM}, {fd=69, revents=POLLOUT}, {fd=68, revents=POLLOUT}, {fd=73, revents=POLLOUT}, {fd=70, revents=POLLOUT}, {fd=48, revents=POLLIN|POLLRDNORM}, {fd=39, revents=POLLIN|POLLRDNORM}, {fd=37, revents=POLLIN|POLLRDNORM}, {fd=42, revents=POLLIN|POLLRDNORM}, {fd=47, revents=POLLIN|POLLRDNORM}, {fd=44, revents=POLLIN|POLLRDNORM}], left {0, 0})
11070 <... bind resumed> )              = 0
11069 fcntl(74, F_GETFL <unfinished ...>
11070 getsockname(75, {sa_family=AF_INET, sin_port=htons(57374), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11069 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 connect(75, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11069 fcntl(74, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11070 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11069 <... fcntl resumed> )             = 0
11070 getsockopt(71, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 getsockopt(56, SOL_SOCKET, SO_LINGER,  <unfinished ...>
11070 <... getsockopt resumed> [0], [4]) = 0
11069 bind(74, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16) = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=75, events=POLLOUT}, {fd=72, events=POLLOUT}, {fd=34, events=POLLIN|POLLRDNORM}, {fd=69, events=POLLOUT}, {fd=68, events=POLLOUT}, {fd=73, events=POLLOUT}, {fd=70, events=POLLOUT}, {fd=48, events=POLLIN|POLLRDNORM}, {fd=39, events=POLLIN|POLLRDNORM}, {fd=37, events=POLLIN|POLLRDNORM}, {fd=42, events=POLLIN|POLLRDNORM}, {fd=47, events=POLLIN|POLLRDNORM}, {fd=44, events=POLLIN|POLLRDNORM}], 16, {0, 0}, NULL, 8 <unfinished ...>
11072 <... getsockopt resumed> {onoff=0, linger=0}, [8]) = 0
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 76
11070 fcntl(76, F_GETFL <unfinished ...>
11069 getsockname(74,  <unfinished ...>
11072 close(56 <unfinished ...>
11070 <... fcntl resumed> )             = 0x2 (flags O_RDWR)
11070 fcntl(76, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 <... close resumed> )             = 0
11070 <... fcntl resumed> )             = 0
11069 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(40458), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11070 bind(76, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11071 <... ppoll resumed> )             = 13 ([{fd=75, revents=POLLOUT}, {fd=72, revents=POLLOUT}, {fd=34, revents=POLLIN|POLLRDNORM}, {fd=69, revents=POLLOUT}, {fd=68, revents=POLLOUT}, {fd=73, revents=POLLOUT}, {fd=70, revents=POLLOUT}, {fd=48, revents=POLLIN|POLLRDNORM}, {fd=39, revents=POLLIN|POLLRDNORM}, {fd=37, revents=POLLIN|POLLRDNORM}, {fd=42, revents=POLLIN|POLLRDNORM}, {fd=47, revents=POLLIN|POLLRDNORM}, {fd=44, revents=POLLIN|POLLRDNORM}], left {0, 0})
11072 recvfrom(39,  <unfinished ...>
11070 <... bind resumed> )              = 0
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11070 getsockname(76,  <unfinished ...>
11069 connect(74, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16 <unfinished ...>
11070 <... getsockname resumed> {sa_family=AF_INET, sin_port=htons(46526), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11070 connect(76, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11069 <... connect resumed> )           = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(68, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 writev(58, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 <... getsockopt resumed> [0], [4]) = 0
11071 ppoll([{fd=4, events=POLLIN|POLLRDNORM}, {fd=0, events=POLLIN|POLLRDNORM}, {fd=14, events=POLLIN|POLLRDNORM}, {fd=75, events=POLLOUT}, {fd=72, events=POLLOUT}, {fd=34, events=POLLIN|POLLRDNORM}, {fd=69, events=POLLOUT}, {fd=76, events=POLLOUT}, {fd=73, events=POLLOUT}, {fd=70, events=POLLOUT}, {fd=48, events=POLLIN|POLLRDNORM}, {fd=44, events=POLLIN|POLLRDNORM}, {fd=37, events=POLLIN|POLLRDNORM}, {fd=42, events=POLLIN|POLLRDNORM}, {fd=47, events=POLLIN|POLLRDNORM}], 15, {0, 0}, NULL, 8 <unfinished ...>
11072 <... writev resumed> )            = 175
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 getsockopt(69, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11070 <... socket resumed> )            = 56
11070 fcntl(56, F_GETFL)                = 0x2 (flags O_RDWR)
11072 recvfrom(58,  <unfinished ...>
11070 fcntl(56, F_SETFL, O_RDWR|O_NONBLOCK <unfinished ...>
11072 <... recvfrom resumed> 0x7f0f809dc760, 1460, 0, 0, 0) = -1 EAGAIN (Resource temporarily unavailable)
11070 <... fcntl resumed> )             = 0
11072 recvfrom(37,  <unfinished ...>
11070 bind(56, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11072 <... recvfrom resumed> "HTTP/1.1 200 OK\r\nserver: Cowboy\r"..., 1460, 0, NULL, NULL) = 185
11069 <... getsockopt resumed> [0], [4]) = 0
11070 <... bind resumed> )              = 0
11070 getsockname(56, {sa_family=AF_INET, sin_port=htons(43361), sin_addr=inet_addr("0.0.0.0")}, [16]) = 0
11070 connect(56, {sa_family=AF_INET, sin_port=htons(35000), sin_addr=inet_addr("127.0.0.1")}, 16) = -1 EINPROGRESS (Operation now in progress)
11070 getsockopt(70, SOL_SOCKET, SO_ERROR,  <unfinished ...>
11072 writev(60, [{NULL, 0}, {"HEAD / HTTP/1.1\r\nUser-Agent: Moz"..., 175}], 2 <unfinished ...>
11070 <... getsockopt resumed> [0], [4]) = 0
11069 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11071 <... ppoll resumed> )             = 11 ([{fd=75, revents=POLLOUT}, {fd=72, revents=POLLOUT}, {fd=34, revents=POLLIN|POLLRDNORM}, {fd=69, revents=POLLOUT}, {fd=76, revents=POLLOUT}, {fd=73, revents=POLLOUT}, {fd=70, revents=POLLOUT}, {fd=48, revents=POLLIN|POLLRDNORM}, {fd=44, revents=POLLIN|POLLRDNORM}, {fd=42, revents=POLLIN|POLLRDNORM}, {fd=47, revents=POLLIN|POLLRDNORM}], left {0, 0})
11072 <... writev resumed> )            = 175
11070 socket(PF_INET, SOCK_STREAM, IPPROTO_TCP <unfinished ...>
11069 <... socket resumed> )            = 77
11069 fcntl(77, F_GETFL <unfinished ...>
11070 <... socket resumed> )            = 78

@russor
russor commented May 13, 2016

Saw this message through a post on Hacker News --

A hint is here:

bind(18, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("0.0.0.0")}, 16 <unfinished ...>
11069 <... bind resumed> ) = -1 EADDRINUSE (Address already in use)

It looks like you're benchmarking to a cowboy server running on 127.0.0.1:35000? I heard you were running on OS X as well?

Bind before connect is normal(ish?) -- port = 0, and address = 0.0.0.0 means it's asking the system to figure out the source address and source port, but you can set those yourself if wanted or needed.

If you don't bind to a specific port yourself, OS X will use ports between the sysctl's net.inet.ip.portrange.hifirst and net.inet.ip.portrange.hilast, which on my system default to 49152 and 65535, this is 16k worth of ports, which if you're not re-using connections gives you about 8 seconds of 2000 requests / second before you start running out of ports, and your benchmark gets into weird places.

You can change the hifirst (you might need to also change portrange.first?) lower to get some more ports, but if you want significantly more requests / second you're going to need to make some changes:

a) if you really want to benchmark requests / second, enable http persistent connections, so connections are reused
b) if you want to benchmark a connection and then one request and connection close, you need to have more available ports to use -- either listen on more ports or more ip addresses; if you're doing this on localhost, you have a /8 you can use, just add them to the local net interface ifconfig lo0 alias 127.0.0.2, etc.

You're likely also going to need to manage port/ip selection yourself, and you also need to make sure you don't bottleneck on your http client (I would recommend using gen_tcp directly instead of httpc, unless you want to also tune httpc).

I'm not sure how OS X handles localnet, on Linux tcp over loopback cheats and skips most of the tcp stack, on FreeBSD it runs the full stack and this type of testing can easily generate more packets than can be processed, creating additional loopback interfaces can help with that, but I wasn't able to create any additional loopbacks on my OS X system (El Capitan; ifconfig -C doesn't include lo, like it does on FreeBSD)

Hope this helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment