sudo apt-get install apache2-utils -y

>> vi

a@a:~$ sudo easy_install gevent

sudo apt-get install libev-dev -y
sudo easy_install gevent
sudo pip install bjoern
sudo pip install eventlet

————————— Too Many Open Files —————————
a@a:~$ python

> ulimit

> ab -n 100000 -c 2000 -k http://localhost:9000/
This is ApacheBench, Version 2.3 <$Revision: 655654 $>
Copyright 1996 Adam Twiss, Zeus Technology Ltd,
Licensed to The Apache Software Foundation,

Benchmarking localhost (be patient)
socket: Too many open files (24)

>> httperf –hog –client=0/1 –server=localhost –port=8080 –uri=/index.html –rate=10000 –send-buffer=4096 –recv-buffer=16384 –num-conns=1000000 –num-calls=1

About Gugulethu Ncube

IT enthusiast getting things done.