ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexey Morsov <samurai@ricom.ru>
To: community@altlinux.ru
Subject: Re: [Comm] НОЪРЭ яХ - Х memmory allocation :) [JT]
Date: Thu, 17 Mar 2005 16:29:31 +0300
Message-ID: <4239863B.70700@ricom.ru> (raw)
In-Reply-To: <200503171626.24963.combr@vesna.ru>


Mike Lykov wrote:
> В сообщении от Четверг 17 Март 2005 15:09 Alexey Morsov написал:
> 
> 
>>Нужно. Но при этом нужно чтобы инфа была немного актуальна. Сейчас у
>>меня раз в день парсится и что? А то что парсит он минут по 10 при этом
>>отжирая по 80-180 мег (перл) :(
> 
> 
> просто запускайте его чаще.
> например, раз в минуту.
> И, естественно, пусть он начинает с запомненной с предыдущего раза позиции.
Угу.... А логи свои squid пусть ротирует раз в день - все равно 
статистика в базе и они больше не нужны :)
Хм... это мысля :)
Все таки надо попробовать на Python реализовать :)

> 
> 
> элементарно реализуется в скрипте, который парсит лог.
> т.е. при превышении лимита просто имя компьютера (или ip) подставляется в 
> конфигурацию squidguard и squid делает reload.
Проблема в том что у меня не squidGuard - и поставить мне его не 
удалось, там на прокси не ALT а FC1 - squidGuard там не компилится.. на 
berkleydb ругается :(
И потом - наверное вы имели ввиду не squid reload а squid -k reconfigure ?
Reload это больно жетско - инет у юзеров пропадет - а это не хорошо.

-- 
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
ICQ: 196766290
Jabber: Samurai@jabber.pibhe.com
http://www.ricom.ru
http://www.fondmarket.ru


  reply	other threads:[~2005-03-17 13:29 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-15 11:03 [Comm] опять Си - и memmory allocation :) Alexey Morsov
2005-03-15 11:12 ` Alexey Rusakov
2005-03-15 11:35   ` Alexey Morsov
2005-03-15 13:31     ` Alexandr R. Ogurtzoff
2005-03-15 14:02       ` [Comm] НОЪРЭ яХ - Х " Alexey Morsov
2005-03-16 20:32         ` [Comm] НОЪРЭ яХ - Х memmory allocation :) [JT] Vitaly Lipatov
2005-03-17  7:47           ` Alexey Morsov
2005-03-17  7:59             ` Alexey I. Froloff
2005-03-17  9:27             ` Mike Lykov
2005-03-17 10:32               ` Alexey Morsov
2005-03-17 11:01                 ` Maxim Tyurin
2005-03-17 11:09                   ` Alexey Morsov
2005-03-17 12:26                     ` Mike Lykov
2005-03-17 13:29                       ` Alexey Morsov [this message]
2005-03-18  5:25                         ` Mike Lykov
2005-03-17 12:40             ` Vitaly Lipatov
2005-03-15 11:22 ` [Comm] опять Си - и memmory allocation :) Denis S. Filimonov
2005-03-15 13:27 ` Mike Lykov
2005-03-15 13:31   ` [Comm] опять Си - и memmory allocation:) Макс

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=4239863B.70700@ricom.ru \
    --to=samurai@ricom.ru \
    --cc=community@altlinux.ru \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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