• Resolved nicoX

    (@nicox)


    After I ran the Linux benchmarking command ab

    ab -n 50 -c 10 https://dev.site.com/

    to test a dev site on our local server, first time it made apache hang. Second time when I accessed the web-page I got an error page stating “Database error etc.”… leading to that I got a blank page when accessing the back-end wp-admin. Could this command have corrupted the sites database, it sounds unlikely but I don’t see any other alternative. Luckily I made a db and code backup prior installing a new plug-in, after the installation I ran the command. Makes me also think that restarting apache could have picked up something from the past yet now restoring the backup with how it was before the plug-in installation everything runs great.

Viewing 1 replies (of 1 total)
  • Read the “warning label” on ab; it will hammer your server and make it hang. That’s the idea behind ab – it’s a stress test.

    This has nothing to do with WordPress, and ab certainly didn’t corrupt the database. Restarting Apache and mySQL were necessary after you hammered it with ab.

Viewing 1 replies (of 1 total)
  • The topic ‘ab command and WordPress’ is closed to new replies.