[3.14] siege

bonjour,
la commande siege fonctionne correctement chez vous?
aprés la directive -c 50 par exemple, au bout d’une bonne minute
je suis obligé de faire Ctrl C pour lire les résultats

c’est un outil de test de charge html

siege -d 10 -c 50

A+
JB1 ou je m’assois dessus
:030

Que dirais-tu d’un titre de topic du genre:

[mono]siege (test de charge serveur web) ne me rend pas la main[/mono]

Aussi, les numéros de version sont typiquement indiqués après le nom du logiciel, càd: [mono]siege 3.14[/mono].

Or, pour un topic ayant ce titre, on s’attendrait (sans être sûr) à ce que son contenu soit l’annonce d’une nouvelle version de siege, ce qui n’est pas le propos de ton topic.

Salut,

[quote]siege:
Installé : (aucun)
Candidat : 3.0.5-1
Table de version :
3.0.5-1 0
500 ftp.fr.debian.org/debian/ testing/main amd64 Packages
500 ftp.fr.debian.org/debian/ unstable/main amd64 Packages
2.70-3 0
500 ftp.fr.debian.org/debian/ stable/main amd64 Packages
[/quote]

Où trouver la 3.14 :laughing:

Au 115, vu que 3.14115 selon une interprétation extensive…

Bon, d’accord mais demain c’est la fête du travail.

bonjour,
-pour zbf:

** SIEGE 3.0.5
** Preparing 50 concurrent users for battle.

le résultat aprés le Ctrl C:

root@alpha30:~# siege  -d 10 -c 50 localhost
** SIEGE 3.0.5
** Preparing 50 concurrent users for battle.
The server is now under siege...
^C
Lifting the server siege...      done.

Transactions:		        2776 hits
Availability:		      100.00 %
Elapsed time:		      278.61 secs
Data transferred:	        1.84 MB
Response time:		        0.00 secs
Transaction rate:	        9.96 trans/sec
Throughput:		        0.01 MB/sec
Concurrency:		        0.01
Successful transactions:        2776
Failed transactions:	           0
Longest transaction:	        0.04
Shortest transaction:	        0.00
 
FILE: /var/log/siege.log
You can disable this annoying message by editing
the .siegerc file in your home directory; change
the directive 'show-logfile' to false.
root@alpha30:~# tail -100 /var/log/siege.log
2014-04-30 08:53:20,    421,      41.22,           0,       0.00,       10.21,        0.00,        0.01,     421,       0
2014-04-30 08:59:55,   2776,     278.61,           1,       0.00,        9.96,        0.00,        0.01,    2776,       0
root@alpha30:~# 

pour le gersois:
la 3.14 c’est l’os Debian!!!
Bon app
A+
JB1
:030

Re,

En écrivant en style télégraphique tu ne peux t’étonner que nous ne comprenions pas to charabia :013 :arrow_right:

@jb1, ma remarque concernait exclusivement le TITRE de ce topic, as-tu bien lu ?

Une politique, et une seule, quand le titre est insuffisamment explicite …
:text-nocomment:

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