If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Hi,
The Cloudlinux cant limit apache requests when start downloading files with file managers softwares from server sites, And Apache go to down !
Please tell me how to correct this problem.
Thanks
Smit
Thanks Igor ,
All files such as mp3 , zip , ...
When many request is sent to the server to download a file (mp3,zip, ... ) fr om a hosted site in my server, Apache fails over and sites is down, And CloudLinux does not lim it the file downloading large many request .
@igor
We are in the process of deciding if we will use CloudLinux on a number of our servers or not.
When I read here that you say "We don limit static files, only dynamic files (PHP, CGI, etc...)." I get a bit worried.
Fr om the documentation, I got the impression that it was possible to limit the traffic also when the traffic was for .jpg, .pdf .html etc and not only for dynamic files.
Would appreciate if you could confirm that we can lim it also traffic generated by static files such as .jpg, .pdf, etc.
No, we don limit traffic. To be honest -- I don see the point limiting traffic this days. Most control panels have bandwith limits, and if your apache web server cannot handle the number of requests, there are so many options to solve it, like:
apache MPM Worker/Event
Nginx
LiteSpeed
Hi,
Weve installed the apache MPM Worker, So Im looking, but it can not limit the static requests !
And install and is perfect NginX is a dangerous risk on shared hosting servers!
There are also inconsistencies in lots of LiteSpeed with Cloudlinux,
I suggest that you give up (Develop) your CloudLinux to limit Static Request, In the near future (this is a best Solution ... )
Good luck
MPM Worker doesn have a way to limit traffic, but it can serve much more static pages without being overloaded.
Most control panels have a way to limit traffic
So, I/O limit set to eg. 512 Kb/s will work only for php files? Static files still can use all available I/O traffic and several such clients can take a whole server down by overusing disk I/O?
Am I right?
Bandwidth is not a problem, but high disk I/O it is.
You can limit anything by setting AllowHandler in modhostinglimits.conf to a wildcard or hander you want to be limited.
Yet, imho -- it is not worth it.
I have seen PHP scripts killing the IO, and I have seen MySQL killing IO. I am yet to see static files killing the IO. They are cached in memory on first read, and customer would need to have gigabytes of data, read in non-duplicated manner to affect the IO.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
What prevents a customer who would be best suited for a dedicated server fr om using shared hosting? Usually it is the terms of services that prevent this. Often they state that a user cannot use too much CPU, IO or any other system resources.
Why not charge for these resources instead? Or at the very least why not limit them? The answer is simple – there has never been a good way to limit or account for CPU and IO usage, nor there been a good way monitor it.
Until now.
The best solution for the “everything unlimited, all-you-can-eat†plan is CloudLinux.
~~~~~~~~~~~~~~~~~~~~~~~~~~~
I want to offer "everything unlimited" but need a good way to monitor and limit CPU/IO resource usage, and at end charge for it if client need more CPU resources or higher IO lim it...
We do not have too much bandwidth and traffic is no problem in terms of their,
The problem is : when recived many of static requests to Apache Web Server, cloudlinux cant limit they requests and the apache down !This is very bad...
No Control Panel or web server can limit static requests, shall only apply to the cache !
And controlling static requests should be managed by the Linux kernel or Cloudlinux plugins softwares.
I would recommend that you upgrade to CloudLinux to limit the static requests (This is the best solution to this problem).
Thanks
Actually, the mod_bandwidth can limit the port speed of each cPanel account. Its inconvenient when changing the speed via ssh. I wish the function can be integrated to cloudlinux. Just like I/O setting. Clear and friendly.
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment