You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Leeuwen, Allan van" <al...@orangemail.nl> on 2005/03/03 13:51:48 UTC

[users@httpd] Apache logging

Hi all ...
 
I'm new on the list so I hope this is the right place for these
questions ...
I'm running apache v2 on Windows 2000 and have a question about logging
/ bandwidth usage.
I'd like to know if there is a way to find out which file users are
'currently' downloading ... it only seems to be possible to find this
out once they are finished with the file as it needs to log the 'total
bytes transferred'. However, I'm running several sites so when I see a
bandwidth peek I'm always wondering which site is doing this exactly
(and which file). Sometimes these downloads are over 1gb in size so it
takes really long before I can find out.
Also, I'd like to know if there is any way to limit the number of
threads a single IP address is allowed to open simultaneously ... I only
have a 1mbit line so people downloading a 1gb file with a download
accellerator set to 8 threads really cause problems for my other users.
Thanks for any help in advance,
 
Allan


===========================================================

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email.

The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email.

===========================================================

Re: [users@httpd] Apache logging

Posted by Joshua Slive <js...@gmail.com>.
On Thu, 3 Mar 2005 13:51:48 +0100, Leeuwen, Allan van
<al...@orangemail.nl> wrote:
> I'd like to know if there is a way to find out which file users are
> 'currently' downloading ... it only seems to be possible to find this out
> once they are finished with the file as it needs to log the 'total bytes
> transferred'. However, I'm running several sites so when I see a bandwidth
> peek I'm always wondering which site is doing this exactly (and which file).
> Sometimes these downloads are over 1gb in size so it takes really long
> before I can find out. 

See the module mod_status and the server-status handler which can show
you some information regarding current connections.

> Also, I'd like to know if there is any way to limit the number of threads a
> single IP address is allowed to open simultaneously 

Not in the base server, but there are several modules at
http://modules.apache.org/ that do stuff like this.  I don't have
personal experience with any of them.  Most decent firewalls will also
allow you to put restrictions like this in place at the network level.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org