■ root: bash
V <«>
U
- » /etc/init.d/lighttpd start
Starting lighttpd
05/09/14-09 St40211» []
File Edit View Scrollback Bookmarks Settings Help
- » ab2 -n 2OO0 -c 600 http://localhost/index.html > /home/rysiek/default-n2-vl.txt
Completed 200 requests Completed 400 requests Completed 600 requests Completed 800 requests Completed 1000 requests Completed 1200 requests Completed 1400 requests Completed 1600 requests Completed 1800 requests Completed 2000 requests Finished 2000 requests
- » ab2 -n 2000 -c 600 http://localhost/index.html > /home/rysiek/default-n2-v2.txt Completed 200 requests Completed 400 requests Completed 600 requests Completed 800 requests Completed 1000 requests Completed 1200 requests Completed 1400 requests Completed 1600 requests Completed 1800 requests Completed 2000 requests Finished 2000 requests
05/09/14 10 st40211:~ » ab2 -n 6000 -c 600 http://localhost/index.html > /home/rysiek/default-n2-v2.txt
Completed 600 requests
Completed 1200 requests
Completed 1800 requests
Completed 2400 requests
Completed 3000 requests
Completed 3600 requests
Completed 4200 requests
Completed 4800 requests
Completed 5400 requests
Completed 6000 requests
Finished 6000 requests
05/09/14 10 sC40211. - » ab2 -n 2000 -c 600 http://localhost/index.html > /home/rysiek/default-n2-v2.txt
Completed 200 requests
Completed 400 requests
Completed 600 requests
Completed 800 requests
Completed 1000 requests
Completed 1200 requests
Completed 1400 requests
Completed 1600 requests
Completed 1800 requests
Completed 2000 requests
Finished 2000 requests
05/09/14 10 st40211 - » ab2 -n 6000 -c 600 http://localhost/index.html > /home/rysiek/default-n6-vl.txt
Completed 600 requests
Completed 1200 requests
Completed 1800 requests
Completed 2400 requests
Completed 3000 requests
Completed 3600 requests
Completed 4200 requests
Completed 4800 requests
Completed 5400 requests
/ lighttpd.conf - KWrite <3>
File Edit View Tools Settings Help
H |
U |
VA |
O |
I ^ | ||
New |
Open |
Save |
Save As |
Close |
Undo |
Redo |
##
## As lighttpd 75 a single-threaded server, i ts mam resource limit is ## the number of file descriptors, which is set to 1024 by default (on ## most systems) .
##
## If you are running a high-traf fic site you might Mant to increase this ## limit by setting server.max-fds.
##
## Changing this setting requires root permissions on startup. see ## server. username/server.groupname.
##
## By default lighttpd Mould not changę the operat i on system default.
## But setting it to 2048 is a better default for busy servers.
##
server.max-keep-alive-requests = 16 server.max-keep-alive-idle = 5 server.max-connections = 1024 server.max-read-idle = 60 server.max-write-idle = 360 server.max-fds = 2048
server.stat-cache-engine = "simple"
##
## Traffic Shaping
##.................
##
## see /usr/share/doc/Z ighttpd/traffic-shapmg. txt ##
## Values are in ki loby te per second.
##
## Keep 7/7 m ind that a limit bel om 32kB/s might actually limit the ## traffic to 32kB/s. This is caused by the size of the TCP send ## buffer.
##
## per server:
##
#server. kbytes-per-second = 128 ##
## per connection:
##
^connection.kbytes-per-second = 32 ##
#######################################################################
#######################################################################
##
## Fil ename/F 11 e handl ing
##
## files to check for if .../ is requested
## index-file. names = ( "index. php", "index. rb", "index.html”,
U
A
Linę: 1 Col: 1 INS LINĘ Apache Configuration lighttpd.conf
V