Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I recently upgraded my VPS(OpenVZ VT) to 2GB of RAM. Despite the configuration changes i make to the LAMP stack the websites loading times take up to 5-10 seconds to fully load. I use prefork with apc enabled on Centos 6.3. I have installed the zpanel to add control to vhosts and i currently host a few wordpress and other sites. I would like to use it as a shared hosting enviroment. Below i provide my conf files:

Apache(/etc/httpd/conf/httpd.conf):

<IfModule prefork.c>
StartServers       2
MinSpareServers    2
MaxSpareServers    5
ServerLimit   50
MaxClients        50
MaxRequestsPerChild 200
</IfModule> 

MySQL(/etc/my.cnf):

# Fine Tuning
max_allowed_packet = 32M
thread_cache_size = 128
thread_stack = 192K
max_connections = 1000
table_cache = 1024
query_cache_size = 256M
query_cache_limit = 128M
query_cache_type=1
key_buffer = 64M
# End Fine Tuning

And just to clarify even more my question i would like to add that Google page speed insights suggest that my main issue is server repsonse.

My uptime output is load average: 0.36, 0.17, 0.11

Server version: Apache 2.2.15 MySQL version: 5.1

Though i am not experiencing any RAM issues, would it be better if i switch to Worker MPM?

Any performance improvement suggestions to make websites load faster? I would appreciate any help. Thanks.

share|improve this question

closed as unclear what you're asking by Dennis Kaarsemaker, Jacob, Andrew, 84104, Falcon Momot Jul 16 '13 at 23:14

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Ok, i think that the added information clarifies better my question. Can the status change to normal and not "on hold" please? –  Evan Sap Jul 17 '13 at 6:09
    
Your update really doesn't clarify anything. Since you are probably running type of web app, you are going to need to look at your application. –  Zoredache Jul 17 '13 at 9:53

1 Answer 1

Your question is quite bad for a variety of reasons

  1. You don't define what "slow" is
  2. You don't give any detail about what the server is running
  3. You don't give any performance measurements
  4. You're using a control panel, do you actually know what you're doing?

And most importantly:

You're using a VPS. There's no way you can properly troubleshoot this, as your VPS provider may simply be overloading his servers. Ask them why your server is so slow.

share|improve this answer
    
1. Slow like a site takes more than five-ten seconds to load. 2. Centos 6.3 (OpenVZ) standard LAMP stack, APC enabled. 3. I will provide measurements soon. 4. I use a control panel to provide shared hosting service and to ease the process of editing and creating configuration files for every vhost. –  Evan Sap Jul 16 '13 at 23:08

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