How To Restrict CPU Resources
Jun 26, 2008I would like to configure my delicated server to have following restriction on cpu...
system resources: 10% @ 30 sec per cPanel Account
I would like to configure my delicated server to have following restriction on cpu...
system resources: 10% @ 30 sec per cPanel Account
where I can restrict access to WHM to only my IP? My provider is stumped. They were using iptables and came to the conclusion it couldn't be done on a VPS.
View 6 Replies View RelatedHow to restrict directory access by IP address using .htaccess?
AS i know the code must be like this
Code:
Order Deny,Allow
deny from 111.111.111.111
Now the questions
1. how to restrict access by IP-subnet?
Does such code right ?
Code:
Order Deny,Allow
deny from 111.111
2. how to restrict multyple IPs?
Code:
Order Deny,Allow
deny from 111.111.111.111, 222.222.222.222, 333.33.33.33
?
I have set up IIS, and have been running a web server for about a month. I want to install FTP and restrict it to certain IPs. When I install the FTP will it erase everything I have set up? Also I want to have the FTP be only accessable from my school. They run active directory. Is it possible to restrict the FTP to this domain? Or maybe to the WAN IP of the school?
View 2 Replies View Related1.Who can I secure and restrict SSH access?
View 3 Replies View RelatedA prospect wants an email server that could allow him to restrict some accounts and make them send emails only to the companies domain.
I was thinking of setting up a VPS with smartermail, so I was wondering if this be done with smartermail?
How can i restrict my user that always taking high CPU usages..i have linux server with shared hosting and most of the time i suffer that some user takes 10% of our server CPU so that i want to restrict those take high cpu usages..
View 6 Replies View RelatedI have Apache 2.2 installed on my Unix Server and have a couple of Application servers running each of them having similar Document Root.
For example, The URLS will look like below
https://my-test1.com/demo/index.html
https://my-prod1.com/demo/index.html
https://my-qa1.com/demo/index.html
The directory folder looks like
/myapp/my-test1/demo/index.html
/myapp/my-prod1/demo/index.html
/myapp/my-qa1/demo/index.html
I would like to restrict access to the above prod1 URL for a specific set of IP's. How can I achieve this.
I have installed apache 2.4.10 with tomcat-7 as backend .Proxypass has been added in apache to access tomcat via http port .now requirement is to restrict each Context to 100 sessions only , how i need to achieve this .
View 1 Replies View RelatedI need to create a SSH account for an subscription. This account is not allowed to access other domains. How do i do that?
I know how to create an SSH account with remote access.
I'm using Concrete5 CMS to create a website. This CMS creates/manages all its webpages in a mySQL database. Thus, there is no physical folder associated with each webpage, so I can't simply create an .htaccess file and place it in the directory tree in the right sub-folder to restrict access for that sub-folder and all folders it contains.
I have one .htaccess file located at the root level (e.g top-level folder for the website).
QUESTION 1: I need place in this top-level .htaccess file to (1) restrict access to only two specific IP addresses that I can specify (blocking access to all other IP addresses), and (2) specify the URL addresses that I wish to apply this rule to?
For example, let's say my website is [URL] ....
And I want to restrict access to the [URL] ....
and my .htaccess file is located at
/home/myname/public_html/conc/.htaccess
What code can do that?
I'm testing PPA and have now a questions. How can restrict a subscription to a service node? I have try that over the subscriptions and custom atribute's. That work for the most thinks (Apache/Postfix) but not for MySQL, all customers can by a create to choose the database server (all database servers). How can i customer don't allow to choose the database server?
For a example (web1, mail1 only -> db1) (web2, mail2 only -> db2)
And for the DNS settings to create automaticly a DNS for the database service? (as a sample: db.domain.de -> database service node)....
I'm not able to restrict the customer permission.
I want to prevent customer of creation new Webspaces , domains, subdomains and manage DNS records.
If I put zero in webspaces, the customer remains able to create a new webspace.
If I disable DNS management, he can creates a subdomain in DNS.
I tried to put zero in domains, subdomains, webspace, dns in subscription.
None of permissions combinations or subscription limit prevents him to create a new webspace, neither add subdomain an manage the dns records.
In PPA is there a way to restrict what applications from the application catalog can be used for each server? Right now I have a hosting node that can install anything from the application catalog, but I can't find anywhere in PPA to specify what is available and what isn't. If I go to APS Applications and My Apps, Add App, and select "Select an app from Application Catalog", firstly no matter which browser I use, the OK/Cancel buttons disappear. I have to open the frame in its own tab to be able to use this properly. But even if I select an app and choose not to make it available, it can still be added from the customer's hosting panel. In Plesk 11 I can choose which applications are available to the customers. I can't find how to do the same thing in PPA.
View 5 Replies View RelatedFor a particular domain I've got it set to:
Log rotation condition: By size (1024 KB)
Maximum number of log files: 5
Compress log files: Yes
...however the access_log.processed is at 20.4MB. Is this correct? I would have thought it could only get to 5MB in total?
How do I restrict the size of access_log.processed?
I am running a cPanel/WHM VPS and would like to know what sort of resources CSF takes?
View 1 Replies View RelatedAfter speaking to a colleague about some major benefits of EC2 for on-demand hosting I've been very interested in learning more.
I've spent the past 2 evenings trolling through Amazon Doc's and blog posts and have a fair assessment about how things work but I'm at a stopping point.
There doesn't seem to be a dedicated EC2 area here on Sitepoint and the Amazon EC2 forums seem geared more towards 'advanced' users.
Are there any reliable communities that are more for the beginner?
I've got a LAMP webserver Instance running on EC2 but I'm very unclear about how to login and begin adding files and managing the data. I'm sure it's pretty simple but the documentation pretty much loses me when they start discussing Security Groups and public/private keys.
I'm not much of a server admin but have grown pretty comfortable on our FC4 dedicated boxes that we currently host on.
I don't mind have nfs running, but how do I keep it running at the lowest as possible... seems like it's hogging up all my usage/cpu's...
View 2 Replies View RelatedI am sending out an email blast to about 30000 addresses when I leave. Because this is the down-time for our site, is it possible to temporarily give Exim more resources to help process? Or would this even be beneficial?
If both questions answer yes, please let me know where I should look for instructions on doing this.
One of my servers keep overloading due to a SQL process.
The process is:
/usr/sbin/mysqld --basedir=/ --datadir=/var/lib/mysql --user=mysql --pid-file=/var/lib/mysql/zeus1.forcium.net.pid --skip-external-locking --socket=/var/lib/mysql/mysql.sock
It takes up pretty much 90-95% of the cpu and memory at times if I do not kill the process. But even after I kill the process it comes back and immediately hogs up cpu load again causing it to go into loads of 8.00 or higher ( I have 8cpus ).
I'm guessing it's a no but if I start a VPS and it starts to eat ram or I think it needs more CPU can I just increase it? I'm talking about using OpenVZ.
View 4 Replies View RelatedWe've just started to use a VPS, and so far no problems I've been looking at the resources and they seem a little high considering it's pretty much out of the box, and I've only setup 4 sites which aren't even public yet. The only thing I've changed is the php.ini to increase the memory limit to 32mb. My main concern is that these sites don't suffer when they go live.
In the Plesk control panel the memory says:
3.8 GB of 3.8 GB used; 47.1 MB available
The 47.1mb is pretty much average, although I've seen it go as low as 115mb.
In Virtuozzo the system usage (resource: capacity) is usually around 60-75%
Both of these seem a little high, but I'm not sure if these readings are for the whole physical server, or just my portion of it.
Also in the (Virtuozzo) QoS alerts I've had quite a few Yellow zone, black zone and one red zone reports, at around 5am - quite possibly the quietest time on a server which isn't hosting any live sites yet. These have both been on the numproc and the privvmpages services (the red zone was one the privvmpages). Is there anything I should be looking at or is this fairly normal operation for a VPS? I have nightly backups scheduled for around 1am. These were originally set for 4am, but reports were showing that they were running out of memory, so I’ve now staggered the times of these to see if that helps. I've haven't changed anything resource-wise other than the php, so I thought it would be good to go from the start, but maybe it needs some fine tuning.
Is there a way on a Virtuozzo server (via. SSH) to check how much CPU or load/cpu-resources each container is using? Or some other way?
View 2 Replies View RelatedWe have a Dedicated Hosting Account running with the following configuration:
QTY Hardware Component
1 Supermicro Dual Xeon SATA X5DPA-TGM
2 Intel 2.4 GHz 533FSB P4 Xeon
4 Generic 512 MB DDR 266 ECC Reg
2 Western Digital 160GB:IDE:7200rpm 160GB
1 Unknown Onboard IDE
Installed Software
- Urchin Urchin 5
- Redhat Enterprise Linux - OS ES 4.0
- cPanel, Inc. cPanel STABLE
We are using Exim for the mail server.
The Server Load reaches upto 35-40.00 every now and then and apparently Exim eats up most of the Resources.
I am attaching a few Screens with the output of Command line top and the WHM Process Manager.
You can see there are a lot of exim Processes/threads running.
how to Optimize the Server for this.
I wanted to know a rough estimation of resources needed for a download server with these specifications..
1- No cPanel needed
2- Unmanaged plan
3- VPS or Dedicated
4- Space needed -- not much . maybe maximum 20 giga
5- Direct links with no software to upload or download all is done through FTP and HTTP browsing
6- Bandwidth / month more than 300 giga and less than 600 giga ( can compromise ) .
7- maximum simultaneous downloads will be 10 - 20 individuals on the same moment
8- Files on server wont exceed 30 mega per file
How much Ram/CPU mainly I may need?