[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Re: Adding bandwidth limits fails "The attempt to set the bandwidth limit failed"



hi.. stealth guy :P

Stealthhosts.com - Server Administrator wrote:
> When I attempt to add the limit, I select the IP from the dropdown list
> (have tried on all the IP's just in case),
> I then enter the amount (in this case 40 (kbps) as a test) and the error
> message I get is:
> "The attempt to set the bandwidth limit failed. "
> Nothing more and nothing less. It doesnt matter what I type there (e.g
> numeric only, alpha numeric, from 0-400000000)

   If I'm not wrong, the bandwidth limit is in terms of volume (amount),
   ie. 2GB.. instead of a speed limit. It does not do traffic shaping
   or limiting.

   If you need to limit traffic speed to 40kbps, you probably need
   to add another appliance or another piece of network equipment
   in front of your box. Or maybe there's a piece of software written
   by zeffie or someone else on this list :) but, as far as i know,
   traffic shaping/limiting features need to be built into the linux
   kernel... so... chances are low. :)

   In your case, I suspect your sites have already exceeded whatever
   value you intend to put into the system, hence causing the
   error. Maybe you could try the max value instead of just "40".

   Or try setting it in the new year? :P Keep in mind that 40bytes
   of data is really low, so don't set it up and go home for the
   weekend, your users will leave! :P

> My question is, is there anything I can run from the CLI / shell to see
what
> the problem actually is, or is there something that is commonly forgotten
> that I may have missed?

   hmm...

> I have searched the archives extensively but have only come up with one
> similar item, but it seems it was never answered and it was more to do
with
> reboots, forgive me if there is something in there that I have missed.

   you could look at /var/log/ipacct (that does the tracking of
   amount of data each IP on your server has consumed), but this
   probably wouldn't answer your question about the CLI thing
   above.

  regards.
-------------------------------------------------------
I see what you are saying but in my understanding that would be data
transfer amount and not data transfer rate.
Taken from the Cobalt GUI "Limit the maximum data transfer rate from sites.
Each limit affects all sites associated with the IP address that is
limited."
When I attempt to add a limit, the help bar displays "Bandwidth Limit (in
kilobits/second) to place on the IP address listed."

Therefore I do think this feature is a bandwidth (speed) limiting feature
instead of a data transfer amount limiter.

Thank you for your reply, and based on this information any further help
would be appreciated. I shall store the ipacct location for future reference
as that will come in useful to me for something else.

Forgive me if this post does not continue in the thread, I am posting this
manually based on the archive.


Lewis