• Hi!
    Hope its correct forum to post.

    I need to emulate slashdotting of a wordpress site in controlled conditions. And examine database calls while it happens. Unfortunately when real slashdotting occurs I have to stop mysqld and the site is served from supercached files.

    What happens is that with allmost all pages cached mysqld is still called and spikes load to hell (225 was last I saw). I examined logs and cannot find any strange of suspicious requests, so its just regular WP functioning.

    So I basically need a tool for a controlled DDoS – so I can opt in for example 3 or 5 calls to a given page at a second. Of course I don’t need multiple IPs or whatever.

    Maybe its something obvious like writing small shell script with lynx or wget but I am not good in shell scripting, unfortunately.

    I don’t care where to run this tool from – my computer or from the linux server, as long as its configurable. I should be able to put URL and inteval to call it.

    Thank you very much in advance!
    NZ

    PS. I think I read all on slashdotting on this site already and followed all advice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • My answer may not be the exact answer you wanted. But, it might help you in the future.

    If you do not want to call mysqld while slashdotting, I assume that comments are closed during that period. In that case, there are a couple of options that I can think of.

    1. Varnish
    2. Nginx + memcached (this video is fun to watch, even though it only shuts down PHP process while testing the caching)

    Both these options do not rely on mysqld. So this might help.

    Thread Starter nelliza111

    (@nelliza111)

    Thank you!

    NZ

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Preparing for slashdotting’ is closed to new replies.