bonsoir,
un peu de son dans la gamelle,
je crois qu’il y a un bug au siege
root@alpha30:~# strace siege -d 1 -c 5 localhost
execve("/usr/bin/siege", ["siege", "-d", "1", "-c", "5", "localhost"], [/* 18 vars */]) = 0
brk(0) = 0x7ffeadcd2000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffeac8a2000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=183625, ...}) = 0
mmap(NULL, 183625, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7ffeac875000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libpthread.so.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320n\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=137354, ...}) = 0
mmap(NULL, 2213008, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffeac468000
mprotect(0x7ffeac480000, 2093056, PROT_NONE) = 0
mmap(0x7ffeac67f000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7ffeac67f000
mmap(0x7ffeac681000, 13456, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffeac681000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\320\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=14664, ...}) = 0
mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffeac264000
mprotect(0x7ffeac267000, 2093056, PROT_NONE) = 0
mmap(0x7ffeac466000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7ffeac466000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260<\1\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=387816, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffeac874000
mmap(NULL, 2483120, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffeac005000
mprotect(0x7ffeac05a000, 2097152, PROT_NONE) = 0
mmap(0x7ffeac25a000, 40960, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x55000) = 0x7ffeac25a000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0@\"\7\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0644, st_size=2023616, ...}) = 0
mmap(NULL, 4133912, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffeabc13000
mprotect(0x7ffeabdd8000, 2093056, PROT_NONE) = 0
mmap(0x7ffeabfd7000, 172032, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c4000) = 0x7ffeabfd7000
mmap(0x7ffeac001000, 13336, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffeac001000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/x86_64-linux-gnu/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P\34\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1729984, ...}) = 0
mmap(NULL, 3836480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7ffeab86a000
mprotect(0x7ffeaba0a000, 2093056, PROT_NONE) = 0
mmap(0x7ffeabc09000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19f000) = 0x7ffeabc09000
mmap(0x7ffeabc0f000, 14912, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7ffeabc0f000
close(3) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffeac873000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffeac872000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffeac871000
arch_prctl(ARCH_SET_FS, 0x7ffeac872700) = 0
mprotect(0x7ffeabc09000, 16384, PROT_READ) = 0
mprotect(0x7ffeac466000, 4096, PROT_READ) = 0
mprotect(0x7ffeabfd7000, 110592, PROT_READ) = 0
mprotect(0x7ffeac25a000, 12288, PROT_READ) = 0
mprotect(0x7ffeac67f000, 4096, PROT_READ) = 0
mprotect(0x7ffeacac6000, 8192, PROT_READ) = 0
mprotect(0x7ffeac8a4000, 4096, PROT_READ) = 0
munmap(0x7ffeac875000, 183625) = 0
set_tid_address(0x7ffeac8729d0) = 3076
set_robust_list(0x7ffeac8729e0, 0x18) = 0
rt_sigaction(SIGRTMIN, {0x7ffeac46e9b0, [], SA_RESTORER|SA_SIGINFO, 0x7ffeac477880}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7ffeac46ea40, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7ffeac477880}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
brk(0) = 0x7ffeadcd2000
brk(0x7ffeadcf3000) = 0x7ffeadcf3000
rt_sigprocmask(SIG_BLOCK, [HUP INT ALRM TERM], NULL, 8) = 0
stat("/root/.siegerc", 0x7fff122ce1a0) = -1 ENOENT (No such file or directory)
open("/etc/siege/siegerc", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=14441, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7ffeac8a1000
read(3, "# Updated by Siege 3.0.5, Novemb"..., 4096) = 4096
read(3, " size. To run siege with persist"..., 4096) = 4096
read(3, "ee\n# to make it more interesting"..., 4096) = 4096
read(3, " req -nodes -new -days 365 -newk"..., 4096) = 2153
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7ffeac8a1000, 4096) = 0
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ffeab069000
mprotect(0x7ffeab069000, 4096, PROT_NONE) = 0
clone(child_stack=0x7ffeab868ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7ffeab8699d0, tls=0x7ffeab869700, child_tidptr=0x7ffeab8699d0) = 3077
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ffeaa868000
mprotect(0x7ffeaa868000, 4096, PROT_NONE) = 0
clone(child_stack=0x7ffeab067ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7ffeab0689d0, tls=0x7ffeab068700, child_tidptr=0x7ffeab0689d0) = 3078
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ffeaa067000
mprotect(0x7ffeaa067000, 4096, PROT_NONE) = 0
clone(child_stack=0x7ffeaa866ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7ffeaa8679d0, tls=0x7ffeaa867700, child_tidptr=0x7ffeaa8679d0) = 3079
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ffea9866000
mprotect(0x7ffea9866000, 4096, PROT_NONE) = 0
clone(child_stack=0x7ffeaa065ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7ffeaa0669d0, tls=0x7ffeaa066700, child_tidptr=0x7ffeaa0669d0) = 3080
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ffea9065000
mprotect(0x7ffea9065000, 4096, PROT_NONE) = 0
clone(child_stack=0x7ffea9864ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7ffea98659d0, tls=0x7ffea9865700, child_tidptr=0x7ffea98659d0) = 3081
write(2, "** ", 3** ) = 3
write(2, "SIEGE 3.0.5\n", 12SIEGE 3.0.5
) = 12
write(2, "** Preparing 5 concurrent users "..., 44** Preparing 5 concurrent users for battle.
) = 44
write(2, "The server is now under siege...", 32The server is now under siege...) = 32
times({tms_utime=0, tms_stime=0, tms_cutime=0, tms_cstime=0}) = 1721596940
mmap(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x7ffea8864000
mprotect(0x7ffea8864000, 4096, PROT_NONE) = 0
clone(child_stack=0x7ffea9063ff0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7ffea90649d0, tls=0x7ffea9064700, child_tidptr=0x7ffea90649d0) = 3082
open("/dev/urandom", O_RDONLY) = 3
read(3, "\376\rt\34", 4) = 4
close(3) = 0
futex(0x7ffeadcd2294, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7ffeadcd2268, 10) = 5
open("/dev/urandom", O_RDONLY) = 3
read(3, "\225U \376", 4) = 4
close(3) = 0
open("/dev/urandom", O_RDONLY) = 4
read(4, "\274\376W\250", 4) = 4
close(4) = 0
futex(0x7ffeadcd2294, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7ffeadcd2268, 16) = 3
futex(0x7ffeadcd2268, FUTEX_WAKE_PRIVATE, 1) = 1
open("/dev/urandom", O_RDONLY) = 5
read(5, "\vT\321\212", 4) = 4
close(5) = 0
futex(0x7ffeadcd2294, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7ffeadcd2268, 20) = 2
futex(0x7ffeadcd2268, FUTEX_WAKE_PRIVATE, 1) = 1
open("/dev/urandom", O_RDONLY) = 4
read(4, "\6%\357\277", 4) = 4
close(4) = 0
futex(0x7ffeadcd2294, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 0x7ffeadcd2268, 22) = 1
futex(0x7ffeadcd22f4, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, {1398873605, 113477000}, ffffffff) = 0
futex(0x7ffeadcd2268, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7ffeab8699d0, FUTEX_WAIT, 3077, NULL^C <unfinished ...>
Lifting the server siege...root@alpha30:~#
pour ceux qui auront le courage de lir,
le futex…Wait, NULL CTRL C…
le Ĉ c’est moi
A+
plus
JB1