Up to Main Index Up to Journal for May, 2012
JOURNAL FOR TUESDAY 8TH MAY, 2012
______________________________________________________________________________
SUBJECT: Millions of bots later...
DATE: Tue May 8 21:16:27 BST 2012
After spending a lot of my bank holiday weekend and sometime this evening
working on the network code - and throwing millions of my little bots at the
server - I think things are more stable. Resources are being deallocated, idle
timeouts are working and to some extent DOS prevention is working.
At the moment I have a little test script called 'robot' that takes 2
parameters. '-n' is the number of bots to run and '-t' is the number of
minutes to run for. As I'm still using the four test rooms[1] running the
following is interesting if you also login using telnet:
./robot -n 100 -t 10
Each bot will run around in a square executing 'S,E,N,W' at random speeds with
random pauses and randomly dump it's connection, reconnect and start again.
Going to leave it running overnight with:
./robot -n10 -t 600
Fingers crossed!
--
Diddymus
[1] April 27th journal entry: ../4/27.html
Up to Main Index Up to Journal for May, 2012