How To Limit Apache Clients On One User On The Cpanel
Apr 28, 2008i have 2 questions
1 ) iwant limit one user on the cpanel limit on the apache conections?
2 ) i want limit one user not use download manager for site clients
i have 2 questions
1 ) iwant limit one user on the cpanel limit on the apache conections?
2 ) i want limit one user not use download manager for site clients
How to forbid the exit to the user too /home/user?
View 1 Replies View RelatedIm a webhoster...im getting many support tickets that clients r not able to add user to the database in cpanel...
View 7 Replies View RelatedCpanel have option for compile with limit number access from IP via apache?
I want earch IP can access 5 conection in apache.
Via cpanel is possible?
How to increase the Open Files limits descriptor in Apache. In the earlier version of Cpanel, we had an option of Raise FD Size Limit to 16384, but the option no longer appear while rebuilding Apache. What is the way to do it and make the change permanent?
View 2 Replies View RelatedHow can i set user limit to access web site ,
Ex:- if my site access 10000 users at a time and then if any more user access that site it will receive error or custom error page.
and how to and where i can set this values...........
Is there any apache module which can limit user download daily. e.g. userA can download XX GB per day.
I am using mod_cband but it seems it can't do something like that.
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?
I want to limit resources like CPU and RAM maybe as a per user setting on a Windows Server 2003.
I've read about Windows System Resource Manager but from what I see it applies to per-process.
Is there a solution (freeware maybe) for this?
How do you limit the amount of processes a user can create? I'm running suEXEc mode and I want to limit the processes to 5 to prevent abuse and resource drainage.
View 7 Replies View RelatedIs it possible (or if anyone has) to have ability or some script that will integrate into apache or something and will tell limit CPU load per directory (hence user)?
Eg: I don't want one high traffic user using like 2% load.
We have a questions for everyone and any help would be greatfull, we are looking to limit disk inodes on a per user basis or server wide. we would like to know if anyone ca referance us as to how this is accomplished.
View 3 Replies View Relatedi have run exim -qff from SSH then i got below error let me know what to do
Code:
root@web [~]# exim -qff
sda7: write failed, user block limit reached.
sda7: write failed, user block limit reached.
sda7: write failed, user block limit reached.
I administer an Apache server under unix environment SunOS 5.10,I want to know the number of clients connected to my apache server
View 7 Replies View RelatedAnyone know if the mod_limitipconn works with Apache 2.2?
View 8 Replies View RelatedIm running the latest version of apache on my box and have 15 ip's on my box. Each ip goes to the site hosted on apache is there a way to limit it to one. Say for example i have these ips on my box 1.1.1.1 - 1.1.1.15
How do i select one of those ips to go to the site and have the rest not go anywhere.
I'm facing a very critical issue in my server and i think its kind of DDOS attack!
the server is running normal and then i noticed that the server load is going up till reaches about 400! and all the services went down!
the cause of this issue was the Apache...
I noticed that the normal SLOT ( Total megabytes transferred this slot ) is in the range between 0.1 and 0.5(max) but the upnormal when the server load went up each slot was in range between (150 : 200)!
my conclusion is that someone sending a large packets to the server...
is there a limitation for this slot for not going up in that way?
Server Version: Apache/2.2.9 (Unix) mod_ssl/2.2.9 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.6
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?
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 RelatedI am in a bind with Apache's multi process limit. Let me explain what I am doing. There's this website which has career details of all the football players since the beginning of professional football. They have a simple web form which allows you to look at a player's profile by entering his name or his 7 digit numeric id number (on that website).
One of my client wants a list of all the players with a certain "flag" in their profile. So I created an automatic form submission and HTML parsing script to get details of all the players with that "flag" in their profile. Let me not go into too much details and tell you that after applying a few pattern rules to the id number, the number of possible id numbers comes to about 1 million (instead of 10^7; each field can have {0,1,2,3,4,5,6,7,8,9}=10 digits, so net combinations = 10*10*10*10*10*10*10).
Therefore, to completely automate this process I wrote a script which would generate an id number, submit the form with that id number, and parse the resulting HTML profile for the "flag". If the script finds a hit on the flag, it stores all the fields of that player in a database. This script is working absolutely fine but the speed I was getting was about one check per second which means that I would have to leave the script running for about 11 days (to process all of about 1 million checks).
So i came up with this idea to divide the check into ten parts and i created separate scripts for each part. Now basically the first script checks for the first 100 thousand combinations, the second checks for another 100 thousand combinations, and so on.
The problem is that I am able to get only two of these scripts running at the same time. So it would still take me at least 5 days to get all the results. The rest of the scripts just sit there in the server's backlog. This is definitely due to Apache's limitation to handle multiple processes. The server I am using to run this script as well the target webserver both run on Apache2. I am sure it's not a problem with the receiving server. It has to be my Apache web server which is running the scripts. I have tried using mpm_winnt (on a windows server) as well as the prefork and worker modules (on a linux server) without any luck. Has any of you ever faced the same situation?
For those concerned about the legitimacy of this work, rest assured, this is absolutely legit. There's nothing in the website's use policy which restricts somebody from doing this. Moreover, my client hired me to do this only because the website owners were not able to hand over the data he required. They gave the stupid reason that they are helpless in providing the data because they don't have a system in place which would allow them to do a search restriction!
I implemented a Reverse Proxy using apache2 v. 2.4... What i need to do is limit number of sessions against a Virtual Host. Is that possible?
View 13 Replies View Relatedany good rule to limit Apache (port 80) connections from 1 IP to 15 with iptables/csf?
And total connections to the box to 100?
I've been having trouble the past few days with someone who's been "attacking" my site so to speak by continuously downloading very large files with as many connections as (he) can open. I operate a large downloads site for computer games, this person has selected the largest files (like 400-500MB). Not sure of the real intent other than to clog up my bandwidth capacity. Also he appears to be using proxies since as soon as I ban one, another shows up seeminly from China.
Anyway, I have mod_bw and I've limited the number of connections in the downloads area to 2. While that works ok, his tool uses threads like a download manager would and he's using up 30-40 child threads for his 2 file downloads.
So 2 questions,
Is there anyway to not only limit file downloads to 2, but limit the number of connections per request? Many of my visitors do use download managers and I'd like for them to continue using them but use a reasonable number of threads like 6 or 8, but not 30.
Also, is there a way to restrict access to someone using a proxy?
Is it possible to limit the max number of concurrent access to an url?
Let's see the following example: URL...
/a1 concurrent access should be limited to for example 20.
While we have an other url:
https:/ssss.com/a2
/a2 should be limited to 30.
Is it possible to do it with some apache config?
My configuration is Apache 2.2.3 using Tomcat - AJP with mod_proxy_ajp, mod_ssl.We have configured Kerberos but some users are getting an error - Size of a request header field exceeds server limit.
Users with headers above 8K are getting this error, users less than 8K can get in fine. How can I increase this header limit in Apache/Tomcat? I have tried multiple suggestions found on google and other sites.
Here is what I tried:
Adding the following to the http.conf
LimitRequestFieldSize 65536
ProxyIOBufferSize 65536
Adding the following to server.xml
packetSize="65536"
editing a workers.propeties file, but we dont have any files on the server with that name.
My server was unstable at this month sometimes fork 700 process and apache 80 access per second and that's made server very slow . very bad browsing
when i checked log files /var/log/messages found that errors
Apr 20 04:06:28 suhosin[798]: ALERT - configured request variable value length limit exceeded - dropped variable 'message' (attacker '212.107.116.238', file '/usr/local/cpanel/cgi-sys/php4')
Apr 22 00:27:05 suhosin[15442]: ALERT - configured request variable name length limit exceeded - dropped ....