PDA

View Full Version : limiting users' and virtualhosts' bandwidth usage


illidan
01-29-2006, 01:33 PM
Hi,
Will you add a feature like http://dembol.nasa.pl/mod_cband so that your product could be used on hosting env.

ts77
01-29-2006, 02:40 PM
at least for users (in terms of, from which IP they come) this already works in current lsws-versions.

Xorlev
02-17-2006, 12:56 PM
I'd want this too, I mean, keeping a running total of all outbound and inbound traffic, and being able to limit it by month, day, week, etc., like 5000M for 1 month. If I could do this, I'd probably get Professional and move over my other high-traffic sites there, as LSWS deals with the load far better.

mistwang
02-20-2006, 08:31 PM
For this, we'd rather handle it in a way more like how Cpanel does, like the mod_log_bytes, the server will only log bandwidth used for each request, and have some standalone script to process the log file. Do you think it is an acceptable approach?

Xorlev
02-21-2006, 10:41 PM
Yes, I would certainly prefer that. Would this be able to be integrated into CPanel as well? If so, I'd certainly consider scrapping Apache completely.

mistwang
02-22-2006, 10:44 AM
Actually, current lsws will generate the same traffic log as mod_log_bytes does when lsws is configured to uses cpanel managed httpd.conf Apache configuration file directly. So it is cpanel compatible, traffic logging wise.

Xorlev
02-22-2006, 11:07 PM
I was unable to get vhosts from Apache working correctly really, it added them, but it didn't configure the listeners correctly, only one site (the only one on a dedicated IP) was listed correctly. It was generated by CPanel, so I generally don't touch the vhosts.

mistwang
02-23-2006, 01:01 PM
If you don't mind, please send us a sample apache configuration file generated by Cpanel, containing at least the working vhost and one not working vhost. You can send it bug@litespeedtech.com, We will have it fixed in next release.

Xorlev
05-07-2006, 03:55 PM
Just a followup here...do you have any plans to implement the bandwidth limiting independantly, so we can at least check how much bandwidth each vhost is using per day? For one of my vhosts I want the bandwidth limiting...but I've customized some LSWS specific settings that I don't want to lose in moving them to an Apache configuration. Or can the traffic logger be set to output as Apache would in Apache-specific configurations?

mistwang
05-07-2006, 11:33 PM
Configuration for CPanel compatible bandwidth log will be available in 2.1.15

Xorlev
05-08-2006, 09:50 PM
Awesome, thanks mistwang :)