ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: "Alexey Shabalin" <a.shabalin@gmail.com>
To: "blik blik" <blikb@mail.ru>,
	 "ALT Linux sysadmin discuss" <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] Утоснение для, как разделить поток на 128 kbit под каждого пользователя
Date: Mon, 24 Dec 2007 18:26:39 +0300
Message-ID: <b966c1e40712240726u5925104fh6e69956eae0d0722@mail.gmail.com> (raw)
In-Reply-To: <E1J6jH9-000G2b-00.blikb-mail-ru@f141.mail.ru>

2007/12/24, blik blik <blikb@mail.ru>:
> Есть 2 мб ADSL канал который подключен через модем к серверу ALT Linux office server development, на сервере стоит Stargazer, система на 100 процентов рабочая.
> Вопрос: как разделить поток на допустим 128 kbit под каждого пользователя?
> P.S. на сервере стоит две сетувушки
> eth0 - МИР 192.168.1.3
> eth1 - СЕТЬ 10.10.0.4
>
> Использовал CBQ для ограничения трафика в Linux но нечего не вышло:
>
> DEVICE=eth1,100Mbit,10Mbit
> RATE=128Kbit
> WEIGHT=6Kbit
> PRIO=5
> RULE=10.10.0.4:80,
> BOUNDED=yes
> ISOLATED=yes
>
> не работает, при запуске вот так ругается!
>
> [root@localhost cbq]# service cbq restart
> find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.
>
> find: warning: you have specified the -maxdepth option after a non-option argument -type, but options are not positional (-maxdepth affects tests specified before it as well as those specified after it).  Please specify options before other arguments.
>
> **CBQ: failed to compile CBQ configuration!

не знаю с какого момента, а может это только наш, find ругается, если
параметр -type стоит перед -maxdepth (это и видно в вашем варнинге).
просто найдите в скрипте find -type ... и переместите -type в конец
команды.


-- 
Alexey Shabalin

  reply	other threads:[~2007-12-24 15:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-24  9:07 blik blik
2007-12-24 15:26 ` Alexey Shabalin [this message]
2007-12-24 16:06   ` Michael Shigorin
2007-12-24 19:10     ` blik blik
2007-12-24 19:17       ` Michael Shigorin
2007-12-24 20:43         ` blik blik
2007-12-24 21:50           ` blik blik
2007-12-25 10:43           ` Michael Shigorin
2007-12-25 15:34             ` blik blik
2007-12-25 15:50               ` blik blik
2007-12-25  9:08 ` Anton Gorlov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b966c1e40712240726u5925104fh6e69956eae0d0722@mail.gmail.com \
    --to=a.shabalin@gmail.com \
    --cc=blikb@mail.ru \
    --cc=shaba@altlinux.ru \
    --cc=sysadmins@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git