ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Peter V. Saveliev" <peet@altlinux.ru>
To: isp-list@altlinux.org.ua
Cc: devel@altlinux.ru
Subject: [devel] Re: [isp] rtacct: average values
Date: Fri, 18 Mar 2005 04:28:58 +0300
Message-ID: <200503180428.59697.peet@altlinux.ru> (raw)
In-Reply-To: <200503152340.58784.peet@altlinux.ru>

On Tuesday 15 March 2005 23:40, Peter V. Saveliev wrote:
> ...
>
> Кто-нибудь знает способ уговорить rtacct показывать скорости? Есть realm'ы,
> есть траффик туда и оттуда, он отображается (в байтах и пакетах) нормально.
> Но скоростей -- нет. Это раз. Два -- я вообще не понял, как работать с
> rtacct в демонизированном виде. Ибо статистику выдаёт только первый к нему
> запрос, все последующие -- ничего, вне зависимости от того, есть ли траффик
> или нет.

Разобрался. Всем, кому лень ждать, пока пересоберут iproute2 в дистрибутиве 
(да и будут ли из-за этого пересобирать? -- поглядел я, как Миша поменял 
серьёзность с "major" на "enchancement" у бага про то, как tc не может 
навесить ingress и htb, и мне погрустнелось), патч тут:

http://rad.peet.spb.ru/files/related/iproute2-2.4.7-alt-rtacct_daemon.patch

В двух словах -- из-за ошибки в типах poll() "зависал" в ожидании клиента, 
вместо того, чтобы собирать и обрабатывать статистику. Мелкий, глупый, но 
очень обидный баг, из-за которого я долго не мог посмотреть статистику по 
realm'ам.

-- 
Peter V. Saveliev

           reply	other threads:[~2005-03-18  1:28 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <200503152340.58784.peet@altlinux.ru>]

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=200503180428.59697.peet@altlinux.ru \
    --to=peet@altlinux.ru \
    --cc=devel@altlinux.ru \
    --cc=isp-list@altlinux.org.ua \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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