ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Arkadiy Pavlik <pvl@pskb.com>
To: community@altlinux.ru
Subject: Re: [Comm] Re: [Comm]
Date: Wed, 14 May 2003 00:00:26 +1100
Message-ID: <200305140000.26933.pvl@pskb.com> (raw)
In-Reply-To: <20030513115936.GC399@localhost.localdomain>

В сообщении от 13 Май 2003 22:59 Denis Smirnov написал(a):
> On Tue, May 13, 2003 at 10:59:53AM +1100, pvl@pskb.com wrote:
> > Можно конфиги пэпэпэшные по крону переключать. На ночь копировать один.
> > Днём другой. В момент переключения линк опустить.
>
> Некрасиво, однако :( Особенно некрасиво, когда что-то большое качается.

Можно и не опускать. Только тогда "новый" конфиг вступит в силу только при 
следующем соединении. Другими словами, когда проходим точку Ч, IDLETIMEOUT 
будет ещё от предыдущего периода.
Можно сделать опционально! :) Проверять какой-нибудь файл-флажок (вот только 
боюсь его руками создавать прийдётся) качается или не качается? :)))

>  > тогда вставляем в наш скрипт:
>  > service postfix flush
>  > и проверку на путоту очереди (что-нибудь типа mailq | wc -l ) после чего
>  > роняем линк.
>
> Просто в цикле проверять размер очереди?

Ну, в общем да. Только напоротся можно, если попадутся неотправляемые письма 
очередь будет не пустой. Поэтому, наверное, надо проверять изменение. Если 
долго размер очереди не меняется, то... ну его нафиг такию почту! :)))

-- 
С наилучшими пожеланиями,
Аркадий Павлик



  reply	other threads:[~2003-05-13 13:00 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-12 11:56 [Comm] отключаться после забора почты Denis Smirnov
2003-05-12 13:52 ` Igor Homyakov
2003-05-12 22:54   ` [Comm] Re: [Comm] Denis Smirnov
2003-05-12 13:58 ` [Comm] отключаться после забора почты Maxim Tyurin
2003-05-12 14:18 ` Arkadiy Pavlik
2003-05-12 22:59   ` [Comm] Re: [Comm] Denis Smirnov
2003-05-12 23:08     ` Shur
2003-05-13 11:58       ` Denis Smirnov
2003-05-13 14:49         ` Shur
2003-05-13 15:52           ` Shur
2003-05-13 20:39             ` Denis Smirnov
2003-05-12 23:59     ` Аркадий Павлик
2003-05-13 11:59       ` Denis Smirnov
2003-05-13 13:00         ` Arkadiy Pavlik [this message]
2003-05-13 13:43           ` Denis Smirnov
2003-05-12 14:20 ` [Comm] отключаться после забора почты Sergey Lizogub
2003-05-12 23:06   ` [Comm] отключаться пос ле " Denis Smirnov
2003-05-13  8:16   ` [Comm] unsubscribe Владимир Ковалев
2003-05-14 10:42 ` [Comm] отключаться после забора почты Andrew Fefilov
2003-05-14 22:22   ` [Comm] Re: [Comm] Denis Smirnov

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=200305140000.26933.pvl@pskb.com \
    --to=pvl@pskb.com \
    --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