Limit Number Conection In Apache/cpanel
Oct 27, 2009Cpanel 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?
Cpanel 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?
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 RelatedIs 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?
cPanel server with EXIM.
Seems the standard feature there - number of emails per hour limit is not working in this case of script emailing.
Any way to limit the number of emails sent via .php scripts or/and throttle this emailing speed cause in the case of spamer the server load hit the roof.
I want to cap users on outbound emails ....
Example: User A sends an email to 100 people (using To,cc and bcc) . However the server needs to stop sending that message and cap a limit of 5 recipients per email
I would like to know if it is possibl to limit SSH logins for any user to 2. The OS is CentOS.
View 3 Replies View RelatedI have a VPS based on Hypervm+Lxadmin.
I want to limit each user to maximum 20 mails per hour. Is this possible? If yes, how do I do it?
I'm running Plesk v12.0.18 #22 on Ubuntu 12.04.
In the plesk backup-settings I've set the max. number of backup-files to 5.
Actually Plesk doesn't limit the number of backups stored in the local repository.
So unfortunately the partition is running out of space.
What can be done to solve that problem?
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 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 RelatedI have 2 problems:
Firstly I wonder if there is any possibility to limit the number of cores the plesk backup zipping tool uses? This pigz takes up all my CPU. Is there any way I can reduce the amount of cores it uses because all my websites are down every time a backup takes place for around 3 minutes.
Secondly I get the following in my syslog:
1 baby plesk sendmail[20189]: Error during 'check-quota' handler
I don't know what is wrong. I think it's since the upgrade to Plesk 12. I now have 12.0.18 Update #13.
I have small issue with load speed of pages when number of apache running processes goes over +-310, during peak traffic of day. IE: They load really slow.
Here's pic of what I mean:
=> [url]
Only thing that fixes it temporarily (at least until peak traffic ends) is to stop either httpd or mysql for several seconds, as everything cools down, then start it back up. Stop/starting mysql usually has longer terms temporary fix.
Anyway, would you have any ideas on what to configure or change within the system in order to keep the processes under 300?
The load is normal. Even at load 40, pages are blistering fast, as long as processes are under 300. So it's got nothing to do with load.
I would like to know what is the maximum number of Apache connections a Server can handle? Does this depends on the Config of the Server? Is it Possible for a server to handle more than 2500 Active Apache connections without timeout / connection failure / slowness?
View 6 Replies View RelatedI am trying to figure out how Apache is working on windows 7 - so far so good - but how do I set restrictions and limitations on bandwidth usage and max number of IP-connections?
View 1 Replies View RelatedI use url http://myurl:8020/ERC to access application and I am able to. But I dont want to use port number in the URL.Would like to access application using http://myurl/ERC . I referred to one of the post and added below entries to httpd.conf file.
ProxyRequests Off
ProxyPass /ERC http://myurl:8020/ERC
ProxyPassReverse /ERC http://myurl:8020/ERC
But I am still not able to access http://myurl/ERC.LoadModule entries are enabled and I have restarted apache.
I am facing to this trouble: apache max out the number of connections. When viewing status, all I get here
Code:
SrvPIDAccMCPU SSReqConnChildSlotClientVHostRequest
0-028240/6/65R 0.1414290.00.020.32 ??..reading..
1-028170/17/65R 0.111510.00.030.22 ??..reading..
2-028350/3/57R 0.20112210.00.000.24 ??..reading..
3-027570/33/62R 1.431412930.00.130.21 ??..reading..
4-026430/75/75R 2.12153190.00.310.31 ??..reading..
5-026440/52/52R 2.061610.00.240.24 ??..reading..
6-028180/13/60R 0.621600.00.070.22 ??..reading..
7-026490/63/63R 2.84143070.00.370.37 ??..reading..
8-028190/7/43R 0.271610.00.020.27 ??..reading..
9-028080/27/76R 0.361410.00.040.29 ??..reading..
10-026750/50/52R 2.9617630.00.260.26 ??..reading..
11-027720/23/49R 3.641600.00.100.19 ??..reading..
12-026620/64/64R 2.201520.00.290.29 ??..reading..
13-027730/25/64R 1.121500.00.140.19 ??..reading..
which account on server is the reason please? I am on CentOS box with DirectAdmin.
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 am interested to know number of current connections in my Apache server
Server version: Apache/2.2.15 (UNIX)
OS : Solaris 5.10
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 RelatedHave to type the full address with port number....
View 4 Replies View RelatedI am attempting to install Apache HTTPD on a PC running Windows 7 Ultimate SP1.
VC9, VC10 & VC11 redistributables are installed.
When I attempt to start Apache - both from the command line and as a service - I receive the following error messages:
[Tue Aug 27 15:33:27.624800 2013] [mpm_winnt:notice] [pid 5192:tid 284] AH00455: Apache/2.4.6 (Win64) configured -- resuming normal operations
[Tue Aug 27 15:33:27.626800 2013] [mpm_winnt:notice] [pid 5192:tid 284] AH00456: Apache Lounge VC11 Server built: Jul 15 2013 20:45:22
[Tue Aug 27 15:33:27.626800 2013] [core:notice] [pid 5192:tid 284] AH00094: Command line: 'C:Apache24inhttpd.exe -d C:/Apache24'
[Tue Aug 27 15:33:27.667800 2013] [mpm_winnt:notice] [pid 5192:tid 284] AH00418: Parent: Created child process 7684
[Tue Aug 27 15:33:27.668800 2013] [mpm_winnt:debug] [pid 5192:tid 284] mpm_winnt.c(422): AH00402: Parent: Sent the scoreboard to the child
[Tue Aug 27 15:33:27.704800 2013] [:crit] [pid 7684] (-2146173818)Unknown error: AH00141: Could not initialize random number generator
[Tue Aug 27 15:33:27.709800 2013] [mpm_winnt:crit] [pid 5192:tid 284] AH00419: master_main: create child process failed. Exiting.
[Tue Aug 27 15:33:27.710800 2013] [core:info] [pid 5192:tid 284] AH00096: removed PID file C:/Apache24/logs/httpd.pid (pid=5192)
The Windows event viewer merely says that HTTPD stopped with an application-specific error #1.
I have also tried with SSL both enabled and commented out.
For what it is worth the message appears to be generated by the routine ap_init_rng in the server core.c module.
I'm new to fcgid on Windows. my current set up is as follows;
Windows Server 2008
Apache 2.4.4
PHP 5.3.27 (fcgid)
MySQL 5.6.14
1. Looking at windows task manager, each of my processes have 4 threads each. What does this mean?
2. Does the number of FcgidMaxProcesses x memory_limit = Total amount of memory required?
3. Number of Threadsperchild = number of FcgidMaxProcesses ?
I just want to know how these two work together.
I am attempting to add a header to a number of requested urls i.e. domain/feeds/chicago, domain/feeds/*.I understand that this can be achieved by
•using mod_rewrite to set an environment variable
•using mod_headers to add a header based on the existence of an environment variable.
So far I can add the a new header thus Header add RSS_FEED_URL "Akamai-Edge-Control"
Anyone 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'm new to Private Virtual Server and the package offered by different company are quite confusing.
I was on RackForce and their basis VPS package dds200-L can host 100 domain names on Plesk and unlimited domain names on WHM/Cpanel.
On 1and1 it didn't say if Plesk support 100 or unlimited domain names. My question is, do we always have the liberty to host unlimited domain names on our PVS?
Can anyone recommend a good VPS hosting company?