RE: [Webware-devel] webware daemon worries

2001-10-17 Thread Jeff Johnson
> >> I read the code and I assume that > >> kill -9 `cat appserverpid.txt` > >> has the same effect as ./Appserver stop > >I wouldn't use the "-9", it won't clean up properly. > > What is the right signal? Just "kill [pid]", the default is to ask for a graceful shutdown. If that fails, then se

Re: [Webware-devel] webware daemon worries

2001-10-17 Thread Ian Bicking
Just "kill `cat appserverpid.txt`". I think that default is TERM (15). "Aaron Held" <[EMAIL PROTECTED]> wrote: > >> I read the code and I assume that > >> kill -9 `cat appserverpid.txt` > >> has the same effect as ./Appserver stop > >I wouldn't use the "-9", it won't clean up properly. > > Wha

RE: [Webware-devel] webware daemon worries

2001-10-17 Thread Jeff Johnson
> I am using a work directory created by MakeAppWorkDir.py > > The appserverpd.txt is correctly written to my working directory > BUT > ./Appserver stop > looks for it only in the main Webware directory I reported this a while back, the code that determines which directory appserverpid.txt goes

Re: [Webware-devel] webware daemon worries

2001-10-17 Thread Aaron Held
And another thing I am using a work directory created by MakeAppWorkDir.py The appserverpd.txt is correctly written to my working directory BUT ./Appserver stop looks for it only in the main Webware directory I read the code and I assume that kill -9 `cat appserverpid.txt` has the same eff

Re: [Webware-devel] webware daemon worries

2001-10-17 Thread Aaron Held
as anyone else seen this or am I just missing the obvious? Thanks, -Aaron - Original Message - From: "Geoffrey Talvola" <[EMAIL PROTECTED]> To: "Jeff Johnson" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, October 17, 2001 9:26 AM Su

Re: [Webware-devel] webware daemon worries

2001-10-17 Thread Geoffrey Talvola
Jeff, I confirmed that this is a problem on my newly-installed Linux Mandrake 8.1 also. That is, if I start the appserver using ./AppServer daemon Then everything works fine until I close the "Konsole" window that I used to start Webware. After that point, I get failures like you mention, w

[Webware-devel] webware daemon worries

2001-10-16 Thread Jeff Johnson
I'm still a little worried about Webware running as a daemon. I assign a file-like class that doesn't write anything to sys.stdout and sys.stderr, otherwise print statements will raise exceptions and eventually Webware will run out of servlet threads or lose the main thread. I don't know why I'm