Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm looking for some advice on how to troubleshoot performance problems.

Here's the situation:

  • Windows Server 2008 host, Ubuntu 9.04 Server guest on VMWare Player 3.
  • Host hardware is a Celeron 2GHz with 2GB RAM; Guest has 256MB RAM.
  • The server is used as a LAMP testing server. Installed is:
    • Apache with PHP
    • MySQL
    • SFTP
    • Samba
    • No GUI/DE
  • As it is a testing server just for myself, it generally just has to handle single HTTP requests at a time.
  • I'm relatively new to Linux

The server often takes 5secs+ to respond to requests. Where can I start looking for the problem?

Edit: The host is not doing anything else at the moment, and CPU usage is low.

Edit2: I've upped the RAM to 512MB, and also tried running it on a different host - same result.

share|improve this question
2GB for W2K8, a hypervisor and a VM is cutting it close. Is this the first VM you've used on this machine or is it a new 'build'? Did you install the vmtools? have you tried running it with more/less memory assigned? – Chopper3 Jul 22 '10 at 15:00
No, I've used this machine for other VMs before, including a Win2003 with SQL Server that had 768MB RAM, and performance was decent, if not spectacular. According to Webmin this one is only using about 100MB of the 256, but I'll try adjusting. VMWare tools is installed, yes. – avesse Jul 22 '10 at 15:48

256MB of ram for the guest is quite short, but it highly depends on your web application.

It may be hard to spot (even using free -m) because PHP is only running for a few seconds, meaning it will take the memory he needs only for those seconds and then frees them up.

Try increasing the memory.

share|improve this answer
Upped RAM to 512MB (see edit above), with no improvement. – avesse Jul 23 '10 at 13:16

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.