Results 1 to 24 of 24
Thread: vps for magento site
-
01-18-2011, 03:12 PM #1Newbie
- Join Date
- Nov 2010
- Posts
- 20
vps for magento site
hi,
I need to host my magento site (2-3k hits day) in another server. My current 100tb dedicated is very slow..
can you guys suggest me a hosting company with a decent support, good services and also with good prices ($30 - $40) ?
thanks a lot
-
01-18-2011, 03:19 PM #2Web Hosting Evangelist
- Join Date
- Jun 2010
- Posts
- 474
You have 0 logic, you are on dedicated saying it is slow, and you want to move to a VPS and think it will be faster? Lol.
I would pay this 30$ to a sys admin to get your server optimized, because I doubt it would run any fast on VPS.
-
01-18-2011, 03:33 PM #3Web Hosting Master
- Join Date
- Sep 2009
- Posts
- 1,976
Which hosting plan do you have with them?
█LVPSHosting.com|Virtual Private Servers|Dedicated Servers|
█Managed Hosting Solution|24/7/365 Support
█Datacentar and servers location: Holland, Europe
-
01-18-2011, 03:39 PM #4Web Hosting Evangelist
- Join Date
- Jan 2010
- Posts
- 482
You need a proper Magento specialist who can optimize the server and add some technology to make your site fast.
You need to up your budget above $50 USD and can you use UK location?Fast & Reliable Unmanaged VPS w/SolusVM ★★ Sandy Bridge E3-1270 @ 3.40Ghz pr Core
OpenVZ | XEN | KVM | VPS Reseller Hosting Program | Semi-managed VPS
Manchester, UK | Fremont, US | Falkenstein, DE | Native IPv6 | OpenVZ w/VSwap | TUN/PPTP Enabled
www.nordicvps.com/wht
-
01-18-2011, 03:42 PM #5Web Hosting Master
- Join Date
- Feb 2004
- Location
- Sacramento CA
- Posts
- 3,513
From a quick look they start at around $99/mo (excluding specials etc...) You would have to find a VPS that allocated two full 2Ghz cores JUST to your VPS (and 2GB ram, etc...) and then you're still in a shared environment.
Keep in mind that Magento is pretty resource heavy, I agree you should look to optimizations first and see where that takes you.
-
01-18-2011, 03:43 PM #6Junior Guru
- Join Date
- Oct 2005
- Posts
- 180
-
01-18-2011, 04:31 PM #7Newbie
- Join Date
- Nov 2010
- Posts
- 20
thank you all for the replies...
I host 10 sites on the same ded. server and 100tb (hosting company) told me that the cause for the whole server to be slow is a problem in my video site's code.. I'm planing to fix this soon, but it can take 1-3 months.
I can't afford to have my ecommerce site (the magento one..) slow for that much time, that's the reason Im looking for a vps..
My current server specs:
Intel Quad Core Xeon 3220 - 4 x 2.40GHz
* 2 x 500GB HDD
* 8GB RAM
* 1 GigE (1000Mbit) dedicated port
* 100TB monthly transfer
* Unmetered Bandwidth (324TB) + $399/mo
-
01-18-2011, 04:35 PM #8Newbie
- Join Date
- Nov 2010
- Posts
- 20
-
01-18-2011, 04:42 PM #9Web Hosting Master
- Join Date
- Jan 2010
- Location
- San Francisco
- Posts
- 1,800
It appears your ecom site is the most important, so you should be looking to somehow getting that troublesome video site off your dedi, instead of looking for a VPS to handle your ecom site.
-
01-18-2011, 05:04 PM #10Newbie
- Join Date
- Nov 2010
- Posts
- 20
because the video site is the one that sends traffic to all others. It requires a good server and a lot of bandwidth +- 30TB month
I could find only one company that had this much bandwidth - 100tb
my ecommerce site is jus starting.. its still small and doesn't require much bandwidth, so the price for hosting it should not be too high
-
01-18-2011, 05:25 PM #11Web Hosting Evangelist
- Join Date
- Jan 2010
- Posts
- 482
Fast & Reliable Unmanaged VPS w/SolusVM ★★ Sandy Bridge E3-1270 @ 3.40Ghz pr Core
OpenVZ | XEN | KVM | VPS Reseller Hosting Program | Semi-managed VPS
Manchester, UK | Fremont, US | Falkenstein, DE | Native IPv6 | OpenVZ w/VSwap | TUN/PPTP Enabled
www.nordicvps.com/wht
-
01-18-2011, 05:29 PM #12Web Hosting Master
- Join Date
- Mar 2009
- Location
- NL
- Posts
- 594
Magento runs fine on a VPS, disk speed is important though. We have many clients who migrated from a dedicated/shared hosting to our cloud. Because of the disk speeds (SAN) they all have a much quicker site now.
Good luck with your search! Go with a provider which is known to have good disks speeds (iops/seeks, not throughput).YISP - High Bandwidth dedicated servers and colocation in YISP-AS(Amsterdam)!
Website: http://www.yisp.nl
Contact: info "(AT)" yisp.nl
-
01-19-2011, 02:20 PM #13Newbie
- Join Date
- Nov 2010
- Posts
- 20
-
01-19-2011, 07:01 PM #14
for the video site, are you running out of disk i/o, or cpu?
Could you paste the results of the following? (please wait 10 seconds to get full output):
iostat -x 10 2
If you're seeing a high utilization %, then this could help dramatically if it's the video site slowing you down:
blockdev --setra 1024 /dev/sda
Hopefully we can get to the bottom of this for you.
Looking forward to your reply,
GabeIOFLOOD.com -- We Love Servers
Phoenix, AZ Dedicated Servers in under an hour
★ Ryzen 9: 7950x3D ★ Dual E5-2680v4 Xeon ★
Contact Us: sales@ioflood.com ★
-
01-20-2011, 02:14 PM #15Newbie
- Join Date
- Nov 2010
- Posts
- 20
hi,
thank you for your help..
I ran the "iostat -x 10 2 " and it came back as the attachment shows. Does it say anything to you?
thank you again
-
01-20-2011, 08:49 PM #16
Hi, yes. In the last column (util%), it shows very little utilization currently (3.34%) in the second row, that shows the 10 second average for when you ran the test. The running average since the system booted was at 11.57% however, so I'm thinking you ran this when the disk was not under heavy stress, since the current utilization is so much lower than the average utilization. That said, 11% average utilization is not particularly high, so it should be fine. I do see that only SDA is being used, SDB is completely idle. If you do have disk performance problems at some point in the future, you could help that out dramatically by moving some of your often requested files or possibly move your mysql database onto the second drive.
As to the other stats, up near the top it shows the cpu use. You've only got about 65% idle cpu, which would be perfectly fine if this command were run during peak times. However, I suspect that it's not. If during peak times, idle cpu gets really low like 20% or less, then that would account for your performance problems. Right now, the i/o wait % is only 1.21%, meaning that the disks aren't holding back your other programs. However, if that value got higher, say, 20% or more during peak times, then I would think that your disks are causing the performance bottleneck.
From just the information you've shown so far, it's possible that you're running out of apache slots during peak times, *or* you're running out of processing power during peak times.
What settings do you have in your httpd.conf for things like maxclients, keepalivetimeout, timeout, maxrequestsperchild, and maxkeepaliverequests? The best settings for keepalivetimeout is 1, but the default is much higher, and accounts for a major reason why webservers respond slowly during peak periods, even if nothing is using up a lot of cpu. Maxrequestsperchild I usually put at 100, and maxkeepaliverequests at 20, again, the defaults are much higher and suboptimal. Maxclients is something you should tweak, but not until you know how much ram is in the system and also how much ram each apache slot is using (which varies a lot system to system)
If you could run "top -n 1" and paste the results here, it would give me a better idea of how many maxclients would be appropriate for your server. Having an optimal value here can also avoid issues where the server is not maxing out on any resources but is still running slowly.
Hopefully we'll get to the bottom of this soon
Thanks,
GabeIOFLOOD.com -- We Love Servers
Phoenix, AZ Dedicated Servers in under an hour
★ Ryzen 9: 7950x3D ★ Dual E5-2680v4 Xeon ★
Contact Us: sales@ioflood.com ★
-
01-21-2011, 02:12 PM #17Newbie
- Join Date
- Nov 2010
- Posts
- 20
thank you very much!
Ill run "iostat -x 10 2" again in peak times and try to read the results. Yesterday my videos site was having problems and did not receive much traffic, the results will be different..
again, thank you for your help. Ill paste the results here soon
-
01-21-2011, 03:33 PM #18Newbie
- Join Date
- Nov 2010
- Posts
- 20
hi Gabe,
I ran the iostat test again today with a number of users next to the maximum (the server goes down everytime we reach more than 274 users on my videos site). I didn't come very different from yesterday.
I also ran the "top -n 1"
the other pic is a print screen of what I think is the maxkeepalive settings.
thank you!
-
01-21-2011, 04:09 PM #19
Hi,
A few things I noticed here.
First off, if this is during peak times, then the server doesn't look overloaded. 7% disk utilization is very low, and 68% idle cpu is also very good. You're also not in danger of running out of ram any time soon, as your "top" shows 7gb out of 8gb ram is just being used for caching, which essentially means that almost all of your ram is free.
If you are seeing slow site performance during load levels similar to what you're seeing here, you're almost certainly running out of apache slots. If you have cpanel, log in to whm, and click on "apache configuration" and then click "global configuration". You should see the following options:
MaxClients
MaxRequestsPerChild
ServerLimit
KeepAlive
KeepAliveTimeout
MaxKeepAliveRequests
TimeOut
Whatever they're currently set to, I would change it to the following:
MaxRequestsPerChild -- set to 100
Maxclients -- set to 100 more than its currently set to
ServerLimit -- make sure this is at least as high as MaxClients
KeepAlive -- on
KeepAliveTimeout -- set to 1
MaxKeepAliveRequests -- set to 20
TimeOut -- set to 30
Looking at the way php is loading in "top", showing "php <defunct>" that means it's loading php as a cgi. To make that go a lot faster, you would want to load it as an fcgi instead. However, since you're not running out of cpu time, we can leave this alone for the time being as it doesn't appear to be your bottleneck.IOFLOOD.com -- We Love Servers
Phoenix, AZ Dedicated Servers in under an hour
★ Ryzen 9: 7950x3D ★ Dual E5-2680v4 Xeon ★
Contact Us: sales@ioflood.com ★
-
01-31-2011, 05:16 PM #20Newbie
- Join Date
- Nov 2010
- Posts
- 20
thank you very very much for your help.
I tested my server over and over during the last week and after the changes that you suggested its working 10x better!
can't thank you enough.. tell me if I can help you with anything
-
01-31-2011, 06:56 PM #21IOFLOOD.com -- We Love Servers
Phoenix, AZ Dedicated Servers in under an hour
★ Ryzen 9: 7950x3D ★ Dual E5-2680v4 Xeon ★
Contact Us: sales@ioflood.com ★
-
02-01-2011, 03:38 PM #22Newbie
- Join Date
- Nov 2010
- Posts
- 20
just in case you have nothing better to do
these are my current settings, do they seem right to you?
current settings:
sslciphersuit -- ALL:!ADH:+HIGH:+MEDIUM:-LOW:-SSLv2:-EXP
traceEnable -- on
ServerSignature -- off
ServerTokens -- full
FileETag -- all
Directory '/'Options -- execCGI/FollowSymLinks/Includes/IncludesNOEXEC/Indexes/SymlinksIfOwnerMatch (all on) MultiViews (off)
StartServers -- 5
MinSpareServers -- 5
MaxSpareServers -- 10
ServerLimit -- 256
Maxclients -- 250
MaxRequestsPerChild -- 100
KeepAlive -- on
KeepAliveTimeout -- 1
MaxKeepAliveRequests -- 20
Timeout -- 30
-
02-01-2011, 05:45 PM #23
Without taking a direct look at your server, those seem like reasonable values. The exact best value for maxclients will vary depending how much ram each apache client is taking up, as well as how much of the system's ram is available for apache. Anywhere from 50 to 500 max clients could be appropriate depending on this, so it's hard to give a good one size fits all answer there.
But in general, they look like reasonable values.IOFLOOD.com -- We Love Servers
Phoenix, AZ Dedicated Servers in under an hour
★ Ryzen 9: 7950x3D ★ Dual E5-2680v4 Xeon ★
Contact Us: sales@ioflood.com ★
-
02-02-2011, 11:00 AM #24Newbie
- Join Date
- Nov 2010
- Posts
- 20
you helped a lot!
thank you
Similar Threads
-
Best Magento VPS
By Hackboy in forum VPS HostingReplies: 9Last Post: 03-26-2011, 05:36 AM -
Dedicated or VPS for Magento?
By Leonids in forum VPS HostingReplies: 8Last Post: 12-05-2009, 01:56 PM -
Need help with a magento hosted site...
By chris83 in forum Web HostingReplies: 20Last Post: 12-02-2009, 04:49 PM -
Magento Hosting - Magento Optimized Servers, Free Dedicated IP & SSL on Select Plans
By eLief in forum Shared Hosting OffersReplies: 0Last Post: 04-21-2009, 08:12 PM -
eCommerce Site "Magento and Joomla" Need Host
By indifferent in forum Web HostingReplies: 11Last Post: 12-13-2008, 07:58 AM