Memory/CPU Usage Limit Tools

Jul 28, 2007

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,

View 2 Replies


ADVERTISEMENT

How To Limit Resources ? (cpu, Memory Usage)

Sep 6, 2007

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.

From where or how can I configure these limits?

View 2 Replies View Related

Memory Usage :: Put More Content Into Memory?

Jul 16, 2009

I just got a new server Dual E5520 with 6GB RAM, SAS 15k rpm raid10. It's running well. However, the memory usage is just around 2.5GB, even when I have more traffic. Here is the kernel info

Quote:

# uname -a
Linux server2.[url]2.6.18-128.1.10.el5 #1 SMP Thu May 7 10:35:59 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux

Any idea that we can put more content into memory?

View 11 Replies View Related

How To Limit Memory For VE On Openvz

Oct 30, 2008

How to limit memory for VE on openvz

Boys how to limit the memory Guaranteed of one VE in MB example:
128MB
256MB
512MB
1024MB
2048MB

How to set this to the VE?

View 12 Replies View Related

User_beancounters Memory Limit

Nov 6, 2008

in the user_beancounters below Which is responsible for memory limit? And Which the unit(bytes, kb, Mb, Gb)?
# cat /Proc/user_beancounters
Version: 2.5
uid resource held maxheld barrier limit failcnt
100: kmemsize 2780345 5144991 11055923 11377049 0
lockedpages 0 0 256 256 0
privvmpages 33433 68587 262144 262144 40404
shmpages 640 656 21504 21504 0
dummy 0 0 0 0 0
numproc 41 70 240 240 0
physpages 17144 46756 0 2147483647 0
vmguarpages 0 0 33792 2147483647 0
oomguarpages 17144 46756 536870912 2147483647 0
numtcpsock 27 35 360 360 0
numflock 6 8 188 206 0
numpty 1 2 16 16 0
numsiginfo 0 28 256 256 0
tcpsndbuf 207948 270556 1720320 2703360 0
tcprcvbuf 204424 1665268 1720320 2703360 0
othersockbuf 19424 57300 1126080 2097152 0
dgramrcvbuf 0 261888 262144 262144 2605
numothersock 21 51 360 360 0
dcachesize 0 0 3409920 3624960 0
numfile 927 1748 9312 9312 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
dummy 0 0 0 0 0
numiptent 47 47 128 128 0

View 2 Replies View Related

VPS For Wordpress - PHP Memory Limit

Dec 25, 2008

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.

View 7 Replies View Related

How To Limit Accounts By Cpu/Ram Usage

Sep 22, 2008

some web hosting company limit cpu/Ram and if any account do high load it will suspended some time automaticly and unsusprnded after some time auto

View 0 Replies View Related

Can I Limit Apache's Cpu Usage

Feb 2, 2007

I have a server running Apache 2 with php 5 as an apache module. There are 2 PHP scripts that get about 500k hits a day. These scripts have to parse data out of a remote webpage and display it on an image. They used to make loads go up to 40-50, but I have added a cache which only updates every 4 hours. This helped a lot, but loads are still around 10 when the script updates, and it slows down the server. Memory usage is fine.
The server is an AMD Athlon 64 2800+ with 1 gb of ram and an 80GB SATA hard drive.

Here's `top` when the cache had just been cleared.

Quote:

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
28004 named 16 0 121m 11m 3796 S 12.3 1.3 0:00.96 apache2
28003 named 15 0 121m 11m 3740 S 12.0 1.3 0:01.00 apache2
5316 tarball 15 0 43032 29m 2320 S 11.3 3.1 326:08.68 ircd
27998 named 16 0 121m 11m 3808 S 11.3 1.3 0:00.51 apache2
27989 named 15 0 121m 11m 3800 S 10.3 1.3 0:01.14 apache2
28007 named 16 0 121m 11m 3776 R 8.0 1.2 0:00.24 apache2
28008 named 15 0 121m 11m 3776 S 7.0 1.2 0:00.22 apache2
27979 named 16 0 121m 11m 3752 R 6.0 1.3 0:02.06 apache2
27983 named 16 0 121m 11m 3748 R 6.0 1.3 0:01.94 apache2
27985 named 15 0 121m 11m 3748 S 6.0 1.3 0:01.05 apache2
27992 named 16 0 121m 11m 3792 S 5.0 1.3 0:00.33 apache2
27980 named 15 0 121m 11m 3796 R 2.3 1.3 0:03.24 apache2
28009 named 15 0 121m 11m 3796 S 1.7 1.3 0:00.82 apache2
27715 root 15 0 5192 1164 844 R 0.3 0.1 0:00.94 top
27960 named 15 0 121m 11m 3808 S 0.3 1.3 0:01.42 apache2
27984 named 15 0 121m 11m 3804 S 0.3 1.3 0:01.94 apache2
27987 named 15 0 121m 11m 3796 S 0.3 1.3 0:01.04 apache2
28006 named 15 0 121m 10m 3292 S 0.3 1.2 0:00.50 apache2

Idle CPU usage usually goes anywhere from 30%-0%. Is there any way to limit apache from using more than 75% cpu, or any other ways to drop cpu usage?

View 10 Replies View Related

Limit Apache Usage And

Oct 23, 2007

i have one centos dedicated server and cpanel i will going to apache status is very request link and 2 site are very high in the list and my apache worked very hard and going to down any hours of your seems i must how control it?

View 7 Replies View Related

How To Limit Bandwidth Usage Per User Per Day

Nov 24, 2007

I run 10+ sites on my dedicated server.In last 7 days one of them used over 1.7 TB of bandwidth.

I can't suspend that domain because it's mine.

I can't ban the IP of those who use considerable amount of bandwidth because they are a lot.

So i think about software/mod/whatever else that limit bandwidth usage per user(IP) per day! is there any one who has experience about this situation?

View 7 Replies View Related

How To Limit Cpanel Hosting Accounts By Cpu/memory

Aug 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.)

View 11 Replies View Related

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.)

View 2 Replies View Related

Plesk 11.x / Linux :: How To Increase PHP Memory Limit

Feb 1, 2014

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 ?

View 5 Replies View Related

Memory Usage For XEN Vs. VOZ

Jun 23, 2009

It seems that a user may get more percentage of memory purchased for real use. I've got a xen VPS which has access to all 8 CPU cores. Guess this is a good thing to be able to burst CPU resources

[xwu@atom ~]$ cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'
8

But this requires lots of kthread running to be able to access all CPU resources, which in turn consumes quite some memory, a valuable, limited resource on a small VPS instance.

[xwu@atom ~]$ cat /proc/meminfo | grep Mem
MemTotal: 524288 kB
MemFree: 276128 kB

The output above is grathered when almost no other services are running except sshd.

While XEN VPS surely consumes more memory than OVZ VPS, I would suggest the Xen VPS can be built in such a way less memory is required to just do the housekeeping.

Of course, that would imply careful provisioning, maybe less "overselling" for the sake of lack of a term. The bottom line is how we can reduce the memory usage, while ensure individual VPS instance can still have fair share of CPU if needed.

Is there anyway in the VPS kernel config which can disable access to certain CPU core, thus reducing the number of kthreads and etc?

View 0 Replies View Related

Memory Usage On VPS

Dec 1, 2008

I do not know if i have problems with my vps but "top" output looks strange for me. It looks like apache processes have huge VIRT parameter and all processes have huge SWAP param.

My VPS 712 guaranteed and 1024 burstable. I'm running 10 virt hosts with very small traffic. Totally not more than 500 visits/day. Most of sites are static and only two are PHP.

Apache and PHP configuration are very standard.

Here is top output: ...

View 14 Replies View Related

Memory Usage

Jul 30, 2007

this is my machine's vmstat result

procs memory swap io system cpu
r b w swpd free buff cache si so bi bo in cs us sy id
1 1 0 1864 16352 34576 146252 0 3 541 106 146 142 6 23 71

I want to free some space

How can I do that?

View 3 Replies View Related

Php Memory Usage

Nov 1, 2007

how much adding php to apache will increase memory usage on a VPS? This would be php5.

I need it to use phpMyAdmin to manage my MySQL database (actual site is running off tomcat but jspmyadmin won't work for some reason).

Or can someone recommend a database design tool (I've used toad data modeler before) which I can use on my home pc to generate SQL statements for execution on the server (and please don't say notepad).

View 4 Replies View Related

Memory Usage

Mar 10, 2007

We have a server that is rebooting, we saw that free memory reaches almost 0 before the server reboot.

i´m running a cpanel server on P4 3.6HT / 1GB RAM / load always under 1.0:

Apache
46.6 to 80 requests/sec - 183.7 kB/second - 4034 B/request

top - 11:07:15 up 21 min, 1 user, load average: 0.29, 0.38, 0.46
Mem: 1026348k total, 529632k used, 496716k free, 31148k buffers

Most processes are:
12239 nobody 15 0 49436 7324 3116 S 1 0.7 0:00.25 /usr/local/apache/bin/httpd -DSSL

Is the time to increase RAM server or would be a hardware problem?

View 5 Replies View Related

Memory Usage

Aug 30, 2007

Those of you who work with shared hosting, how much memory per customer do you allow for PHP? What about for Ruby on Rails?

View 3 Replies View Related

Memory Usage

Jan 2, 2007

I am trying to run tomcat on my linux server and I am getting memory allocation error. When I see check memory usage it is full, but when I check the cpu usage it show as this:

load average: 0.00, 0.00, 0.00

When I run top command, I found tis.

16003 root 19 19 5492 5492 5040 D N 0.7 0.6 0:00 0 pkgacct - triwaste
1 root 8 0 476 432 412 S 0.0 0.0 0:35 0 init [3]
2 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:00 0 ksoftirqd_CPU0
4 root 9 0 0 0 0 SW 0.0 0.0 12:09 0 kswapd
5 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 bdflush
6 root 9 0 0 0 0 SW 0.0 0.0 4:16 0 kupdated
7 root 9 0 0 0 0 DW 0.0 0.0 40:29 0 kjournald
384 root 9 0 0 0 0 SW 0.0 0.0 0:00 0 kjournald
385 root 9 0 0 0 0 SW 0.0 0.0 8:05 0 kjournald
387 root 9 0 0 0 0 SW 0.0 0.0 2:45 0 loop0
642 root 8 0 800 752 692 S 0.0 0.0 0:02 0 xinetd -stayalive -pidfile /var/run/xinetd.pid
653 root 9 0 1324 1168 1128 S 0.0 0.1 0:44 0 /usr/sbin/sshd
920 named 9 0 4012 3488 2240 S 0.0 0.3 0:00 0 /usr/sbin/named -u named
921 named 9 0 4012 3488 2240 S 0.0 0.3 0:19 0 /usr/sbin/named -u named
922 named 9 0 4012 3488 2240 S 0.0 0.3 3:49 0 /usr/sbin/named -u named
923 named 9 0 4012 3488 2240 S 0.0 0.3 0:04 0 /usr/sbin/named -u named
924 named 9 0 4012 3488 2240 S 0.0 0.3 1:07 0 /usr/sbin/named -u named
1252 root 8 0 928 616 564 S 0.0 0.0 0:10 0 crond
1260 root 9 0 5172 1436 1408 S 0.0 0.1 0:59 0 /usr/local/apache/bin/httpd -DSSL
1346 xfs 9 0 2528 680 656 S 0.0 0.0 0:00 0 xfs -droppriv -daemon
1355 daemon 9 0 556 540 500 S 0.0 0.0 0:00 0 /usr/sbin/atd
1552 root 18 19 11844 8740 7968 S N 0.0 0.9 35:28 0 cpanellogd - setting up logs for detail
1599 root 9 0 1008 876 876 S 0.0 0.0 0:00 0 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pi
1630 mysql 9 0 70928 56M 53624 S 0.0 6.3 0:34 0 /usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql

When the memory usage 6.3 is what is it mean? Is it using 6.3% of the total memory?

View 0 Replies View Related

Windows 08 - IIS7 - Limit Disk Usage & FTP

Aug 30, 2008

I'm starting a webhosting business in the next few months (working on the panel), and was wondering what is the best method to limit the amount of disk usage the user can use? I know about Disk Quota, but that would be a pain to use. Is there anything built into IIS7?

Also, is it possible to use a SQL 05 DB for FTP user accounts with IIS7? If not, is there any other way to have FTP accounts *without* having to create a windows user account?

View 5 Replies View Related

High Memory Usage

Mar 28, 2009

Am using Hypervm,my all vms are not using more than 512 MB memory but when i click on server as localhost the there is show maximum memory usage I have total 8 GB it always show 5-6 GB usage and never drop down, How can I fix this matters?

View 7 Replies View Related

DirectAdmin Memory Usage

Dec 30, 2008

I was just wondering about DA memory load. Like CPANEL load around 300mb and LXADMIN about 20mb. I was going to get VPS with 256 only to host 40-50 church sites with just static html, not dynamic or anything. Greatly appreciated with your input. I'm still learning all of this

View 8 Replies View Related

Memory Usage After VPS Upgrade

Mar 23, 2009

I have a VPS with 384 MB RAM, with free about 100-120 MB. I've upgraded to 512 MB (to have some other features...). I notice that the memory usage is always about 250-300 MB. For example, now:

Code:
[root@host ~]# free -m
total used free shared buffers cached
Mem: 512 311 200 0 0 0
-/+ buffers/cache: 311 200
Swap: 0 0 0
But PHP tells "out of memory" in some tasks

The current PHP config is memory limit 192 MB (it was 96 MB, then I tried to increase).
[url]

Code:
<b>Fatal error</b>: Out of memory (allocated 19660800) (tried to allocate 39 bytes)
in <b>##hidden##/includes/joomla.php</b> on line <b>3041</b><br />

View 9 Replies View Related

MySQL 4.1 Vs 5.1/5.0 (memory Usage)

Nov 6, 2009

Does anyone know if MySQL 5.1 or 5.0 uses less memory than 4.1 does?

View 3 Replies View Related

CentOS And Memory Usage

Oct 20, 2009

I'm currently playing with my dedicated server, it isn't much but for learning purposes it's more than enough.

I have CentOS 5.3 installed on the server.

It's Intel Atom 330 with 2 GB RAM.

Now my question is:

When server is running nothing but basic install memory comsumption is aroun 500-600 MB.

Today I have rsynced 11 GB of data from one of my VPSs to the ded server and the memory comsumption on the server sky rocketed to 2 GB, leaving only 56 Mb free.

Strange.. (for me)

And there was almost no (110 Kb) swap usage.

Now the memory comsumption is ~ 1.2 GB.

View 6 Replies View Related

My Server Memory Usage Is 100%

Jun 10, 2009

Since a short while back my server memory usage is 100%. The amount of
visitors decreased so the memory should be lower in consumption than before.

I suspect a newly installed script could have bugs or misuse of the
server by hackers. I don't know how to see on the server what script or
what part makes the memory use so high. I see Apache is very high but
I'm on VPS.
Technical data........

View 4 Replies View Related

Does The Memory Usage Statistics Look Right

Jul 13, 2009

My managed dedicated server at 1and 1 has very low load, but quite slow, I was trying to figure out the reason. The top and free command ( I run at midnight without traffic), here is the result. Can anybody tell me if the memory usage is normal, anything suspicious. Look like the memory usage is high even with no traffic, but 1and 1 support say that's because it's reserved for cache.

top - 02:01:38 up 31 days, 14:13, 0 users, load average: 0.00, 0.03, 0.07
Tasks: 6 total, 2 running, 4 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.0%sy, 0.0%ni,100.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1017068k total, 972620k used, 44448k free, 169564k buffers
Swap: 514064k total, 26076k used, 487988k free, 509580k cached


total used free shared buffers cached
Mem: 1017068 972656 44412 0 169600 509612
-/+ buffers/cache: 293444 723624
Swap: 514064 26076 487988

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved