Re: Holy Water in my system? Daemons keep dying . . .

1998-06-17 Thread John Goerzen
OK, I don't mind that as long as the bug is left open (with severity
downgraded, of course).

John

Brandon Mitchell [EMAIL PROTECTED] writes:

 On 15 Jun 1998, John Goerzen wrote:
 
   Or, just put a 2 second sleep between the kill and start in the
   /etc/init.d/lpd restart section.
  
  Why would this make a difference?  Wouldn't this signify a race
  condition?  Worse, on a heavily-loaded system, wouldn't 2 seconds be
  too little a wait for whatever needs to be done?
 
 Yes, it is a race condition.  My guess is that lpr doesn't die before the
 next lpr tries to start up.  The second lpr sees the first and fails to
 start, and then the first finally dies.  There are much better solutions
 than a 2 second wait, and it will probably fail on a heavily-loaded
 system.  However, it's enough to get the bug out of the release critical
 list, and to take a deap breath before working on the correct solution.
 
 OK?
 Brandon
 
 --+--
 Brandon Mitchell [EMAIL PROTECTED] | Debian Testing Group Status
 PGP Key:   finger -l [EMAIL PROTECTED] |  http://bhmit1.home.ml.org/deb/
 Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)
 

-- 
John Goerzen   Linux, Unix consulting  programming   [EMAIL PROTECTED] |
Developer, Debian GNU/Linux (Free powerful OS upgrade)   www.debian.org |
+
Visit the Air Capitol Linux Users Group on the web at http://www.aclug.org


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Holy Water in my system? Daemons keep dying . . .

1998-06-16 Thread John Goerzen
Brandon Mitchell [EMAIL PROTECTED] writes:


  privately...)
  
  My system information:
  
  lpr 5.9-26
 
 Fixed:
 ii  lpr 5.9-27 BSD lpr/lpd line printer spooling system
 
 Or, just put a 2 second sleep between the kill and start in the
 /etc/init.d/lpd restart section.

Why would this make a difference?  Wouldn't this signify a race
condition?  Worse, on a heavily-loaded system, wouldn't 2 seconds be
too little a wait for whatever needs to be done?

 
 HTH,
 Brandon
 
 --+--
 Brandon Mitchell [EMAIL PROTECTED] | Debian Testing Group Status
 PGP Key:   finger -l [EMAIL PROTECTED] |  http://bhmit1.home.ml.org/deb/
 Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)
 
 
 --
 To UNSUBSCRIBE, email to [EMAIL PROTECTED]
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 

-- 
John Goerzen   Linux, Unix consulting  programming   [EMAIL PROTECTED] |
Developer, Debian GNU/Linux (Free powerful OS upgrade)   www.debian.org |
+
Visit the Air Capitol Linux Users Group on the web at http://www.aclug.org


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Holy Water in my system? Daemons keep dying . . .

1998-06-16 Thread Brandon Mitchell
On 15 Jun 1998, John Goerzen wrote:

  Or, just put a 2 second sleep between the kill and start in the
  /etc/init.d/lpd restart section.
 
 Why would this make a difference?  Wouldn't this signify a race
 condition?  Worse, on a heavily-loaded system, wouldn't 2 seconds be
 too little a wait for whatever needs to be done?

Yes, it is a race condition.  My guess is that lpr doesn't die before the
next lpr tries to start up.  The second lpr sees the first and fails to
start, and then the first finally dies.  There are much better solutions
than a 2 second wait, and it will probably fail on a heavily-loaded
system.  However, it's enough to get the bug out of the release critical
list, and to take a deap breath before working on the correct solution.

OK?
Brandon

--+--
Brandon Mitchell [EMAIL PROTECTED] | Debian Testing Group Status
PGP Key:   finger -l [EMAIL PROTECTED] |  http://bhmit1.home.ml.org/deb/
Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Holy Water in my system? Daemons keep dying . . .

1998-06-16 Thread Alexander Kushnirenko
Hi, Brandon!

My pland dies almost instantly, do you know about solution for that similar to 
lpr?

Thanks,
Sasha.
 
 Fixed:
 ii  lpr 5.9-27 BSD lpr/lpd line printer spooling system
 
 Or, just put a 2 second sleep between the kill and start in the
 /etc/init.d/lpd restart section.
 
 HTH,
 Brandon
 
 



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Holy Water in my system? Daemons keep dying . . .

1998-06-16 Thread Richard E. Hawkins Esq.
 Hi, Brandon!
 
 My pland dies almost instantly, do you know about solution for that similar 
to  lpr?

But that seems to be different in nature.  It terminates because it incorrectly 
things that the application calling it is done.

rick

-- 
These opinions will not be those of ISU until it pays my retainer.



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Holy Water in my system? Daemons keep dying . . .

1998-06-15 Thread Hannu Koivisto
Richard E. Hawkins Esq. [EMAIL PROTECTED] writes:

| lpd tends to die within a day or so, and pland dies within minutes, 
announcing 
| (incorrectly) an application logout.

I'm not using pland but I get exactly the same behaviour with
lpd on our production system. If you find a solution for this,
I'd appreciate if you could notify me too (I do follow this
list, but just in case you find it yourself or someone mails
privately...)

My system information:

Debian GNU/Linux 2.0 (frozen) / x86
Linux kernel v2.1.101
libc6 2.0.7pre1-4
lpr 5.9-26

I get no messages of any kind to logs. As a side note, other
daemons have been working fine, but I've seen sshd dying on my
friend's box (with different versions of sshd (1.2.2{2,5} at
least) and otherwise very similar configuration to mine)
sometimes (not at all that often as lpd on my machine).

//Hannu


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Re: Holy Water in my system? Daemons keep dying . . .

1998-06-15 Thread Brandon Mitchell
On 15 Jun 1998, Hannu Koivisto wrote:

 Richard E. Hawkins Esq. [EMAIL PROTECTED] writes:
 
 | lpd tends to die within a day or so, and pland dies within minutes, 
 announcing 
 | (incorrectly) an application logout.
 
 I'm not using pland but I get exactly the same behaviour with
 lpd on our production system. If you find a solution for this,
 I'd appreciate if you could notify me too (I do follow this
 list, but just in case you find it yourself or someone mails
 privately...)
 
 My system information:
 
 lpr 5.9-26

Fixed:
ii  lpr 5.9-27 BSD lpr/lpd line printer spooling system

Or, just put a 2 second sleep between the kill and start in the
/etc/init.d/lpd restart section.

HTH,
Brandon

--+--
Brandon Mitchell [EMAIL PROTECTED] | Debian Testing Group Status
PGP Key:   finger -l [EMAIL PROTECTED] |  http://bhmit1.home.ml.org/deb/
Dijkstra probably hates me (Linus Torvalds, in kernel/sched.c)


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Holy Water in my system? Daemons keep dying . . .

1998-06-14 Thread Richard E. Hawkins Esq.

Something keeps splatting my poor daemons.  

lpd tends to die within a day or so, and pland dies within minutes, announcing 
(incorrectly) an application logout.

rick

-- 
These opinions will not be those of ISU until it pays my retainer.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]