How To Limit Cpanel Hosting Accounts By Cpu/memory
Oct 31, 2007
I know bluehost.com "sort of" does this. If you use more then x % of the total CPU or memory of the server, then your account will be limited automatically.
(A page is displayed saying that the page you're trying to view can't be displayed because it is using too much resources.)
I know bluehost.com "sort of" does this. If you use more then x % of the total CPU or memory of the server, then your account will be limited automatically.
(A page is displayed saying that the page you're trying to view can't be displayed because it is using too much resources.)
If I have a two sites that, combined, get about 125,000 page views monthly (that comes out to about 4,000 page views daily). The sites are powered by Wordpress, and it is being used as a CMS, it's not a blog. There are a number of plug-ins in use, on each site, about 10 or so. Each site also has a vBulletin forum in use, although there are rarely more than 10 concurrent connections, if even that many (total of 400 members, only 150 of which are active -- combined stats for both sites).
Currently the PHP memory limit is set to 16M. I'm wondering how high it could or SHOULD go? Granted, I would not want to ask for more than what is available. Would the site speed improve if it was upped to say 128M? Let's pretend that I have a 512MB VPS SLM (no burst). It would have Linux+Apache+Plesk.
Is that enough of a VPS? Would I need to go to 640MB, 768MB, or even 1GB of RAM? Budget is an issue, so "yeah sure, go larger" is not an easy decision. It's also stupid to buy what's not actually needed. Maybe 256MB-384MB would be good enough?
Now then, what if I wanted to use this on a Windows IIS6 system instead? Let's say that I decided to add an ASP.NET wiki or blog to one of the sites. Clearly, that would demand more RAM, and I think Windows itself likes to eat more RAM. The Windows box would also have either Plesk 8.6 or Plesk 9. What's the difference in base RAM use that should be accounted for?
Virtuozzo is desired for either solution, be it Linux or Windows. My current situation is shared, Windows 2003 Plesk, for these particular sites, and these two specific sites are loading really slow sometimes. Other times I get partial loads, error 500, or pure "unavailable" issues. Other sites, same machine, just fine.
Even the vBulletin forums on the same domains load okay and fast, but the Wordpress sites crawl. It is IIS6, so use of WP-Cache/etc is pretty much impossible. I tried another cache, and it works -- but only for maybe 2 hours at a time, then something happens to it, and the cache quits. It's enabled, but it just stops functioning properly.
My shortlist of the moment includes KickassVPS, FutureHosting, and EuroVPS, for whatever new VPS plan that needs to be gotten. I've been watching the VPS offers threads for the past two weeks. I'm leaning hard to FutureHosting, for this one project, because of the Seattle NOC, since one of the site admins is close geographically, and he always has trouble with the current site's location (other side of the globe, for him).
I'm hoping some of the WHT experts have some good answers for this. I've been researching this for a while, both on WHT and off, but I can't seem to get a clear answer from reading alone.
I see so many hosts advertising packages where they limit the number of email accounts based on the package. Is this possible to do? Can anyone explain how to do this in cPanel, for example?
what tools are available for Fedora 4 that allow an admin to set limits on how much memory and cpu usage clients can use. I have plesk 8 but I can't seem to find anything related to it in there, and I set up webmin as well,
How can I limit my dedicated server's resources ? For example, one of reseller provider's limits :
Quote:
Resellers may not use more than 2% CPU daily, 3% memory daily, run more than 10 simultaneous processes per user, allow any process to run for longer than 30 seconds CPU time, run any process that consumes more than 20% of available CPU at any time, or run any process that consumes more than 16 MB of memory. Databases are limited to 16 max user connections with a max query time of 8 seconds. Cron jobs must not execute more than once every 15 minutes and will be niced to 15 or greater.
why, or when this happened, but all of a sudden the PHP Memory Limit for all of my domains is 64M? I used to have it set to 128. How to change this setting so that all domains have the ability to go to 128M ?
I am trying to increase the PHP memory limit for all Plesk hosted sites.
I've updated the 'memory_limit' setting in /etc/php.ini
Then I ran
Code: /usr/local/psa/admin/sbin/httpdmng --reconfigure-all /usr/local/psa/admin/sbin/httpdmng --reconfigure-server Checking a phpinfo() page on hosted sites I see that this setting has not been effective.
Checking some /var/www/vhosts/system/domain.com/etc/php.ini also shows the old setting, and I can see that these files have not been updated.
I note that all these domain php.ini files have been modified earlier today, all at the same time, so presumably some process did regenerate them earlier. All these files hae the "DO NOT MODIFY ..." heading
I realise that I can go the the domain in Plesk GUI and save the PHP settings to force an update, but is there anyway to force the regeneration of all of these files via CLI?
I have a VPS. And have had an issue both when it was 1Gig and now I recently downgraded it to 768m, because I am moving some sites to a dedicated.
However, the part I am having trouble grasping is that when I look at graphs from Munin, it will typically always show 200-400MB free memory (and free -m and top agrees with munin), but Munin shows 'committed' memory that is above the total Ram on the VPS and once the 'committed' ram exceeds the VPS limit, processes start failing.
So, why is 'committed' memory exceeding the RAM on my VPS, when Munin, free -m and top all show there is free memory available?
Code: root@server [~]# free -m total used free shared buffers cached Mem: 768 449 318 0 0 0 -/+ buffers/cache: 449 318 Swap: 0 0 0 Here's a graph that munin produces that shows the 'committed' memory exceeding the total memory. [url]
I currently have hosting with Site5 (started back before all the overselling), and although my sites are very low in traffic and don't take up much space, I am running up against their 25,000 per site inode limit, due to my hosting a Gallery2 photo album on one of the sites (as I understand, the base install of Gallery2 uses 14,000 inodes alone. Due to how my album is integrated with the rest of the site, it would require hours and hours to switch to something besides Gallery2). All the sites together have used 17 GB of bandwidth so far this month, although much of that has been me uploading stuff to one of the sites to set it up.
Here are my sites:
- Site#1 is a family site, with family photos and a Wordpress blog. Very low traffic (a handful of visits a day), but lots of photos. Inodes not a problem for now (I'm at about 13,000), as unlike one of the other sites, I was able to switch to Zenphoto from Gallery2 pretty easily.
- Site#2 is the newest and fastest growing. It is a site for a small community of people who play a particular online computer game. It runs Drupal, and has about 60 members now, but 5-10 have been joining a day. Most online at one time has been 10. I get anywhere from 30-60 visits a day, but growing. The site uses about 150 MB of storage right now, and this will grow. No photo albums here.
- Site#3 (running Joomla and Gallery2) is for my own gaming group of 8 people that play the above computer game together each week online. Low traffic, but this is the site with the inode problem, as I post screenshots in Gallery2 after each session. Around 25,000 inodes, and 6.5 GB of storage used on the server.
- Site#4 is my wedding site, running on Wordpress. It only gets a handful of visits each day, and will get almost none after the wedding in mid September. No photo album here.
- Site#5 is my fiance's site (running Joomla), which she has pretty much not touched in a year and I doubt anyone visits, but I'm too much of a coward to take down.
With that in mind, I'm wondering what my best solution would be: - Switch to a VPS, and if so, what kind and who? - Switch to a different shared host with a higher inode limit - Stay with Site5 and take the time to farm out the photo album somewhere off the site, or to another program like Zenphoto with a lower footprint.
I'm a tech-geek wannabe and willing to learn. I'm paying about $10 a month (I think) and could probably go as high as $30 or so.
I have a dedicated server currently hosted over by Aplus.NET
I have a 3000 GB Monthly Transfer limit and we have been going over this limit for the past few months. This has resulted in a large sum of overage fees.
I am looking to go to another hosting company that is just as good as Aplus.NET, if not better... with a better traffic rate. A friend told me about Choopa.com and I wanted to know how good of a company they were. What are some other top reliable hosting companies with premium servers and that specialize in unmetered bandwidth?
I know that after you have been running a site for a while you will have some "clutter" after a while. For example, email boxes that are not used might be taking up a lot of space because they are getting spammed.
In the past WHM gave us the chance to check the hosting accounts daily cpu, memory and mysql usage in server status, but on the new WHM/CPANEL releases we noticed that this values are not so precise as they were.
Anyone know how can be found the average use of cpu/memory/mysql of each hosting account letting the hosting companies understand who uses more resources?
The first thing i'm thinking of is cpanel but there's many others If you're runing a server with 5000gb traffic/bandwidth per month When you're creating hosting accounts, could you allow 5000gb in each new account you're creating?
Like if you had unmetered, you'd put unmetered in every new account Considering no account would ever reach any way near their monthly allowance.
I am the IT Director for a Furniture Manufacturing Company. I would like to establish relationships with Web Hosting Professionals that can provide me with multiple hosting accounts. Each must be on a different subnet. They do not require dedicated IP's. These accounts will be used to back link to a master domain. I can assure you that there will be no spamming or other unscrupulous activity on these accounts. Our company has been in business since 1862. I welcome this community to give me feedback thoughts ideas etc..
I just tried westhost. Very nice folks, good reviews, worth a shot. I signed up for a regular hosting account that allows multiple domains. That didn't work for email. An email user has access to email under that users name for all domains attached to the account. so you can't have info@abc.com, info@def.com, etc. One info@ per account. I did find a hack for it, but it wouldn't work with web mail.
So now I need to find a host that separates mail by domain WITH webmail.
This is getting so tiresome. I have a VPS with "the planet", but so many things just don't work out of the box. I've been fighting with them about PHP not sending mail for months. DNS problems everytime I setup a new domain. There has to be an easier way!
15 domains, everything needs to work. I don't want to manage anything. No resellers. The company I host with will own the data center.