test load PHP, MySQL, Linux server

Posted on 2011-10-23
Last Modified: 2012-06-27

I'm wondering which tools I can use to test load some PHP/MySQL programs running on a Linux system (Centos). Open sourced or paid ones. I have one site in particular ( and it seems to slow down with more than 20 members. Not all the time but sometimes. I'm thinking that I can do some call stack trace using Eclipse debugger but I use another IDE which uses a different debugger. I suppose I can set up another environment specifically for Eclipse though.

But are there some good tools I can use just to install on my Centos server and then see how many users this site can handle?

I'd like to load test other sites too that are hosted on shared hosting servers (if possible).

Question by:Victor Kimura
    LVL 76

    Assisted Solution

    Add slow query check on the mysql server to make sure it is not the issue.
    use phpmyadmin to see whether there are adjustments you can make to improve the performance of your mysql.

    There are tools i.e.curl that lets you generate request to the PHP pages and such.

    Check the specs of your server and then compare that to the settings of apache/mysql to make sure you are not allocating more memory in the applications than your system has.
    LVL 25

    Accepted Solution

    LVL 107

    Expert Comment

    by:Ray Paseur
    Where is this hosted?  Is it on a shared server?

    Author Comment

    by:Victor Kimura
    It's on westhost. It's a business plan VPS but it's an older plan which they no longer have posted.

    Author Comment

    by:Victor Kimura
    Hi arnold,

    "...Check the specs of your server and then compare that to the settings of apache/mysql to make sure you are not allocating more memory in the applications than your system has..."

    How do I do this? What am looking for? How do I check the specs? Commands?

    Where do I check if I'm allocating more memory to the applications than my system has?

    Thank you,
    LVL 76

    Assisted Solution

    Can you install phpmyadmin on your system?  it is a web based tool to manage mysql and provides performance statistics and performance improving suggestion by using the output from show status among other parameters.
    The settings for mysql dealing with temp db, etc. deals with how much resources mysql can use.  At times the configuration does not match actual use i.e. you think there will be 50 simulteneous connection but there are more, or the queries you have require more memory buffer than you allocated etc.

    top -n
    cat /proc/meminfo

    Author Closing Comment

    by:Victor Kimura
    Okay, thank you. Will test out those commands.

    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now