Re: pen not responding to kill -HUP?

From: Ulric Eriksson <ulric_at_siag.nu>
Date: Wed, 9 May 2007 11:03:08 +0200 (CEST)

On Tue, 8 May 2007, Hendra wrote:

> is there any alternative way to gracefully take out once of the
> server without restarting pen? If I use blacklist (e.g penctl
> localhost:1234 server 1 blacklist 3600), is there anyway to
> clear the blacklist before the 3600 seconds lapsed without
> restarting pen? my objective is to cleanly "take out" any one
> of the server without affecting the others, and editing config
> file then kill -HUP sounds like a solution, but unfortunately
> that doesn't work. Can anyone help me out on this?

Here's the trick: rereading the configuration file doesn't
"unread" the current configuration but rather adds to it, so
lines that were removed remain in effect.

The best way to disable a server is to blacklist it. You can
clear the blacklist with "penctl localhost:1234 server 1
blacklist 0".

Ulric
Received on Wed May 09 2007 - 11:03:09 CEST

This archive was generated by hypermail 2.2.0 : Wed May 09 2007 - 11:03:11 CEST