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

I have a VPS running a 64-Bit Windows 2008 server with: 1.9 GB of Ram [that RAM is dedicated to this VPS - not shared] Currently I have 30 websites (all running the my custom ecommerce app) running on this VPS. However if access 10-20 sites at the same time the server will max out and I will see various out of memory errors. Should I set a memory limit for each site in the site's app pool? Like Max memory available?

I wondering why I'm suffering this performance issue. Last month I had about 50 (all running the my custom ecommerce app) with a shared hosting company. This was one of those hosts that allowed unlimited sites. I never had a memory issue and I'm sure my VPS has more resources available than a shared box with hundreds of other sites.

This is my vps company: http://kickassvps.com/services/windows%5Fvps/plans.php

I would like to go the dedicated server route, however I cannot afford more than $70 a month right now.

share|improve this question

1 Answer 1

I'm sure my VPS has more resources available than a shared box with hundreds of other sites.

Don't be so sure. VPSes are also shared on that same physical machine with others. The amount of RAM may not be dedicated and if the other VPSes on the same server are also busy - with CPU, RAM or Disk Throughput, then your VPS may be suffering. The shared server may have had a lot more ram, and other other sites may not be as busy as your sites.

With 30 sites, and a custom E-Commerce app, it is hard to say how much RAM you are going to need because it varies greatly with how busy the sites are, how large the databases are, etc. Have you done analysis on your VPS to see what is using the RAM and where it can be optimized?

You can set max memory for your sites but if you get a busier site it will absolutely limit how much traffic it will be able to handle. I don't want to question your business model, but it seems with 30 e-commerce sites you should be able to buy a dedicated server to properly support those sites.

share|improve this answer

Your Answer

 
discard

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