RE: current 1.3.1 testing
Rob Hagopian <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <F4A736AE282FD511BC28009027CC7C590236BD2E@gopostal> |
Ack - my knowledge of apache modules grows very thin at this point - when apache is started it doesn't call a module init before it spawns children? There is a 'master' httpd process, that pid should be extractable, if only by checking the parent pid of the process that the module is running in... Of course, if the module may in the future need locking between individual instances within apache, as well as to external instances of cadmin and other utils, perhaps SysV semaphores/shared mem might be appropriate (although not available on all systems that people might like to run a current server on)? -Rob > -----Original Message----- > From: Hunter Matthews [mailto:[email protected]] > Sent: Monday, July 08, 2002 11:45 AM > To: Current Server Mailing List > Subject: RE: [Current-server] current 1.3.1 testing > > > Which one? httpd on linux will have anywhere from 1 - 32 pids > in common > configs, and if one were to die (due ot whatever) apache will happily > restart a new one. > > > > > On Mon, 2002-07-08 at 11:45, Rob Hagopian wrote: > > But when the python module goes through its init stage it > could write out > > the pid file with the pid of apache and cadmin could check > for that pid to > > still exist? > > -Rob > > > > > -----Original Message----- > > > From: John Berninger [mailto:[email protected]] > > > Sent: Monday, July 08, 2002 11:07 AM > > > To: [email protected] > > > Subject: Re: [Current-server] current 1.3.1 testing > > > > > > > > > > The methods used in 1.0.5 to detect a running daemon appear > > > to work well, > > > > they don't translate well over to the python module? > > > Not right now, since we're not starting a > "current" service, > > > we're starting an httpd service. We have to allow cadmin to > > > run even if > > > Apache is running, since we have no way of knowing if the > running copy > > > of Apache is the one doing Current-type stuff or not. > > > > > > -- > > > Thank you, > > > John Berninger > > > > > > Systems Administrator [email protected] > > > Department of Mathematics Box 8205, Harrelson Hall > > > NC State University Raleigh, NC 27695 > > > Phone: (919)515-6315 Fax: (919)515-3798 > > > > > > GPG Key ID: A8C1D45C > > > Fingerprint: B1BB 90CB 5314 3113 CF22 66AE 822D 42A8 > > > A8C1 D45C > > > > > > "Non illegitimi carborundum." > > > -- > > > _______________________________________________ > > > Current-server mailing list > > > [email protected] > > > http://lists.dulug.duke.edu/mailman/listinfo/current-server > > > > > _______________________________________________ > > Current-server mailing list > > [email protected] > > http://lists.dulug.duke.edu/mailman/listinfo/current-server > > > > > -- > Hunter Matthews Unix / Network Administrator > Office: BioScience 145/244 Duke Univ. Biology Department > Key: F0F88438 / FFB5 34C0 B350 99A4 BB02 9779 A5DB 8B09 F0F8 8438 > Never take candy from strangers. Especially on the internet. > > _______________________________________________ > Current-server mailing list > [email protected] > http://lists.dulug.duke.edu/mailman/listinfo/current-server >