Forums: users (Thread #10096)

パターンアップデート中の動作 (2006-02-04 09:47 by Anonymous #19621)

現在,職場のメールサーバ(postfix,一日4000通くらいを処理)にbsfilterを組み込むことを検討しています.
そこで,教えていただきたいのですが,
判定ルールをアップデートしている間の動作はどのようになるのでしょうか.
lockファイルを作っているようで,bsfilter自体は実行待ち(?)になると思っているのですが,
poxtfixに組み込んでしまっても大丈夫なものか心配しています.
ファイルに保存してからbsfilterを適用するか,そのままパイプで適用するかでも変わってくるようにも思っています.

私の力不足が原因で申し訳ございませんが,ご教示いただければ幸いです.

Reply to #19621×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: パターンアップデート中の動作 (2006-02-05 23:17 by nabeken #19649)

- データベースのファイルを複数プロセスが同時に書き込まない
- 書き込み中に別プロセスが読み出さない
- 複数プロセスによる同時読み出しは許可
という方針でロックをかけています。あるプロセスがロックをかけることにより、別プロセスはロック解除待ちで停止し、ロック解除後に実行再開する可能性があります。

判定対象、学習対象のメールについては、ロックしません。ファイルでもパイプでも動作は変わりません。
Reply to #19621

Reply to #19649×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: パターンアップデート中の動作 (2006-02-05 23:55 by Anonymous #19650)

ご教示ありがとうございます.

> 別プロセスはロック解除待ちで停止し、ロック解除後に実行再開する可能性があります。

とのことですが,
postfixに組み込み,アップデート中にメールが送られてきた場合,
ロックにより判定が停止され実行されなかったものについては
手動(?)でどうにかする必要があるという解釈でよろしいのでしょうか.
Reply to #19621

Reply to #19650×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

RE: パターンアップデート中の動作 (2006-02-06 00:02 by nabeken #19651)

ロック解除待ちで停止しても、プロセスは終了しません。プロセスは生きていますので、そのまま待っていればロック解除後に走り始めます。
Reply to #19650

Reply to #19651×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login

Re: パターンアップデート中の動作 (2006-02-06 07:31 by Anonymous #19653)

ということは何も心配なくアップデートできるということですね.
ありがとうございました.
Reply to #19621

Reply to #19653×

You can not use Wiki syntax
You are not logged in. To discriminate your posts from the rest, you need to pick a nickname. (The uniqueness of nickname is not reserved. It is possible that someone else could use the exactly same nickname. If you want assurance of your identity, you are recommended to login before posting.) Login