Article delegate-en/1771 of [1-5169] on the server localhost:119
  upper oldest olders older1 this newer1 newers latest
search
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
[Reference:<_A1770@delegate-en.ML_>]
Newsgroups: mail-lists.delegate-en

[DeleGate-En] Re: PID file disapear when restart
23 Jul 2002 15:01:38 GMT feedback@delegate.org (Yutaka Sato)


On 07/23/02(21:07) you pvmdabdyi-p5lznxlavbxr.ml@ml.delegate.org wrote
in <_A1770@delegate-en.ML_>
 |Just for information, I think it's abnormal, but only you can know the
 |truth  ;)
 |When we restart delegate with the commande line delegated -Fkill-hup -Pport
 |(like your commande line "kill -SIGHUP PID"), the file where delegate found
 |the PID information of the active port is lost. So when we try to stop the
 |active port of delegate after some restart, it doesn't work.
 |Ok, it's not a big problem and it isn't an handicap (we can kill it
 |manually...), but I think that give you this feedback can not be wrong!

I don't know the case where PID file is lost by "-Fkill-hup".  The file
are to be created as long as the DeleGate succeed to restart.  For example,
a series of "-Fkill-hup" succeed as follows.  What happens on your machine
when you do the following?

% delegated -P9876
% <DeleGate/8.0.0 by ysato@delegate.org> [20494] -P9876 READY
DGROOT=/home/ysato/delegate
ADMIN=ysato@delegate.org
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science and Tech
nology (AIST)

% delegated -P9876 -Fkill-hup
"/home/ysato/delegate/act/pid/9876": kill(20494,SIGHUP) = 0 (0) ** OK **
% <DeleGate/8.0.0 by ysato@delegate.org> [20494] -P9876 READY
DGROOT=/home/ysato/delegate
ADMIN=ysato@delegate.org
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science and Tech
nology (AIST)

% delegated -P9876 -Fkill-hup
"/home/ysato/delegate/act/pid/9876": kill(20494,SIGHUP) = 0 (0) ** OK **
% <DeleGate/8.0.0 by ysato@delegate.org> [20494] -P9876 READY
DGROOT=/home/ysato/delegate
ADMIN=ysato@delegate.org
AIST Research Product No. 2000-ETL-198715-01
Copyright (c) 1994-2000 Yutaka Sato and ETL,AIST,MITI
Copyright (c) 2001-2002 National Institute of Advanced Industrial Science and Tech
nology (AIST)

...

Cheers,
Yutaka
--
  @ @ Yutaka Sato <y.sato@delegate.org> http://www.delegate.org/y.sato/
 ( - ) National Institute of Advanced Industrial Science and Technology (AIST)
_<   >_ 1-1-4 Umezono, Tsukuba, Ibaraki, 305-8568 Japan
Do the more with the less -- B. Fuller

  admin search upper oldest olders older1 this newer1 newers latest
[Top/Up] [oldest] - [Older+chunk] - [Newer+chunk] - [newest + Check]
@_@V