Link to home
Start Free TrialLog in
Avatar of soyglobal
soyglobal

asked on

what is the better linux distro for wordpress 3.0

Hi, i have ubuntu 8 on a proxmox virtual machine and 4 gb ram with a wordpress 3 multisite with less 100 visits at same time.
I have problems with the speed of the webserver (you can test it www.diario-mallorca.es) and i looking for a better setup, for it have planned change the linux distro and all need settings, but i don't know what linux is better for my usage.

In 1 month the webserver will have 30.000 visits daily

Thanks
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

I use http://www.uptrends.com/aspx/free-html-site-page-load-check-tool.aspx to check load times.  Checking from Madrid, it took 4 seconds for the first response and that is kind of slow.  I suspect it's taking that long to get the info from your database to start generating your page.  I think you should move your site to the fastest hosting you can afford.  If you are hosting this on your own server, I suspect you are at the slow end of the network.
Avatar of Kerem ERSOY
Kerem ERSOY

Hi,

I'll be suggesting you to direct to Centos or RHEL if you're willing to pay support. The CentOS is an enterprise grade OS and would support virtually any host hardware with SCSI, SAS RAID arrays. IT is optimized for Server CPU's and and will directly come with Logical Volume Manager which would help you if you're out of disk space and you add another disk it will directly add it to the logical volume and you'll expanf your filesystem easily. Furthermore it directly support php and Wordpress through available repositories.

When it come to the speed I've tried to access your server and it took more than 4 seconds (Worse than what DaveBaldwin had tested) I'll suggest you to a VP hosted server with more RAM, better CPU and powerful IO.

Cheers,
K.
Avatar of soyglobal

ASKER

Thanks to both, the problem is on the server, is a openvz virtual machine with turnkey linux (ubuntu hardy), 4gb ram, 1 cpu socket and 1 Cores/Socket; on the time of the test the cpu usage is 16% and memory 3,5 gb of 4 gb.
The memory and cpu usage is:
mysql 150mb and 11% cpu
apache 88mb x 20 process and 0,2% cpu

On the same physical server i have a centos with 1gb ram and the test give first request downloaded on 0,5 seconds

due this diferent results is my question about the better so for apache +wordpress+mysql big (2 tables with more than 3 million records)
With centos what config of kvm suggest?
The physical server is Intel Xeon i7 W3520 4x 2x 2.66+ GHz with 12 gb ram, and only has 3 virtual machines

Many thanks for the help
Hi,

Centos (RHEL) is optimized to run enterprise class applications  engineers and scalability by RedHAT. Ubuntu is a Desktop OS. So if you're doing a serious business you should go for CentOS. In fact it was what I was trying to say in my first post.

when it comes to configuration please keep in mind that MySQL does not work good with treads. This might be a bottleneck in the future. So one core should be enough for MySQL so you might want to buy extra priority for that CPU.

Then you'll have tour Apache and PHP son maybe 2-4 cores would be fine for them and you'll need another for accesing the system and doing daily jobs or running predefined jobs

so 4-6 CPU's would be ideal and you should have some memory may be 8-16 G for your MySQL cache another 2 would be good for apache and at least  another 2 for the OSç

for the disk space pick something for your needs.

Cheers,
K
"wordpress+mysql big (2 tables with more than 3 million records)" ??  Queries on tables that large can take a while even on a fast system.  Is your Wordpress page running queries on these big tables to get the info to create the page?
Then when you have 3M hists you'll need to upgrade all your system. I don't think a VPS is appropriate for this kind of traffic.
You'll need a customized MySQL server and some load balancing.
KeremE: not is the same 3M hits that a table with 3M records
The 2 tables not are of wordpress, is of other app and don't do queries on this tables (logs and events)

I have running this in other server (centos over vmware) and work fine, but here i don't know what is failing

thanks
If the pages that do use that MySQL server with the large tables is very busy with lots of hits, then it can still slow down your Wordpress site because it is shared access.
Let me put it a different way.  My Wordpress blog is running on Ubuntu on shared hosting and the entire page loads in about 3 seconds.  There is something other than the distro you're running that is slowing down your page.  That's what you need to focus on and fix.
ASKER CERTIFIED SOLUTION
Avatar of soyglobal
soyglobal

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@KeremE: problems of performance never are solved with more machine

I was talikng of a site with 3 Million hits. As you would remeber what I was suggesting was some memory and CPU calculations over the same VPS server.
Also there was no enough evidence for us experts to ask you about plugins. First of all we were not aware that you'd been using plugins at all. Later on you've  told the page reloading was different on different distros. So in fact you comments were misleading indeed.

You can't find the answer you look for if you are unable to define the aspects of your problem and this is what exactly happened in the end.

Cheers,
K.