NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Remon, As someone else (Phil Cogbill) pointed out earlier on another thread, you can use Apache mod_limitipconn to place restrictions on max connections per IP, etc. That was a nice write up - hi, Phil! ;-) Another possibility to check is that Apache may not have enough slots allocated to it. Check your server memory use with top and the MPM directives section of httpd.conf for the values of ServerLimit and MaxClients. If you change those you might want to do some profiling of Apache's memory footprint first - ours showed (using top) VIRT memory usage of 20-28MB and RES memory of 4-8MB per apache process. The output of "free -mt" will give you an idea of total memory usage - but don't be fooled by the value under "free" for "Mem:" which is calculated after the allocation of RAM for I/O cache buffers (those get released as soon as there is a request), so look for the number under the "free" column of the "buffers/cache" line. That last number is what you can draw from to increase Apache slots allocations, and the number to watch. The Apache "ab" utility may be helpful for some of this, too. And, this is re. Apache running on CentOS 5/6. Not sure about other systems. IHTH, Georgi On Fri, Sep 5, 2014 at 10:12 AM, Geir Aalberg <geira@xxxxxx> wrote: > On 09/03/2014 05:29 PM, Remon Sadikni wrote: > > I just hoped to find a solution inside of the THREDDS config-file. To >> somehow limit the simultaneous download of files... >> > > As you yourself stated, the problem is this "slowed our Apache-Webserver > down because its maximum count of incoming connections has been exceeded". > You want to limit the amount of Apache connections, ergo you must limit the > amount of Apache connections. > > By the time THREDDS is called it is already too late. All it can do is > abort the transfer, but in most cases it will immediately have to deal with > another one. What you want is for Apache (or a firewall/proxy) to filter > out misbehaving IP addresses, keeping THREDDS free to deal with other > customers. > > -geir > > > > _______________________________________________ > thredds mailing list > thredds@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > http://www.unidata.ucar.edu/mailing_lists/ > -- Georgi Kostov Team ERT/STG, US Government Contractor NOAA National Climatic Data Center; NOMADS and NCMP 151 Patton Ave., Suite 355, Asheville, NC 28801-5001 (828) 271-4921 // http://nomads.ncdc.noaa.gov/ The contents of this message are mine personally and do not necessarily reflect any position of NOAA or STG. This electronic transmission contains information that may be internal use only, confidential, or proprietary. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents hereof is strictly prohibited. If you have received this transmission in error, please notify Georgi.Kostov@xxxxxxxx
thredds
archives: