Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

REBOL CGI Zombiness on Linux

 [1/6] from: chris::langreiter::com at: 12-Jun-2001 12:55


Since the update to Core 2.5 REBOL CGI processes seem to hang a lot - today I killed 57 running REBOL zombies on my Linux machine. - This is a 2.5 problem. 2.3 didn't have it. - My code is OK (happens even with trivial things which can't hang) ;-) - Happened to other people running REBOL/Core 2.5 on Linux as well. Is this a known problem? -- Chris

 [2/6] from: olivier:auverlot:ac-lille at: 12-Jun-2001 14:53


Hi, We've already encounterd this problem. The only solution is the use of Core 2.3 or View. Regards Olivier ;-) http://rebolfrance.multimania.com

 [3/6] from: chris:langreiter at: 12-Jun-2001 16:08


> We've already encounterd this problem. The only solution is the use of
Core
> 2.3 or View.
Since when do you know of this problem? It isn't so much fun when you ISP calls to tell you to throw this zombie generator off your site ;-) Best regards, -- Chris

 [4/6] from: chris:starforge:demon at: 12-Jun-2001 15:21


Christian Langreiter wrote:
> It isn't so much fun when you ISP calls to tell you to throw this zombie > generator off your site ;-)
Heh, I'm lucky in that I have ssh access to my ISP and can kill -9 anything that's gone into a coma on me. But I haven't checked in some time, I will be seriously p**sed if I have a couple of hundred zombies to clear out :/ Chris

 [5/6] from: holger:rebol at: 12-Jun-2001 9:33


On Tue, Jun 12, 2001 at 12:55:27PM +0200, Christian Langreiter wrote:
> Since the update to Core 2.5 REBOL CGI processes seem to hang a lot - today > I killed 57 running REBOL zombies on my Linux machine. > > - This is a 2.5 problem. 2.3 didn't have it. > - My code is OK (happens even with trivial things which can't hang) ;-) > - Happened to other people running REBOL/Core 2.5 on Linux as well. > > Is this a known problem?
Yes. What is happening is: the Unix versions of Core 2.5 fork() during startup to create a background process for asynchronous DNS lookup. Under certain circumstances web servers brutally "kill" the spawned process (SIGTERM/SIGINT/SIGHUP), instead of just closing stdin gracefully. That leaves the DNS child process behind. We have added some more sophisticated signal handling/trapping to Command 2.0 (will also be in future Core versions) to handle the most common problems and shut down child processes in those situations. The good news is that even with Core 2.5 those zombies are basically harmless. They take up no CPU time and virtually no RAM. -- Holger Kruse [holger--rebol--com]

 [6/6] from: tim:johnsons-web at: 12-Jun-2001 9:06


Hi Chris: On Tue, Jun 12, 2001 at 12:55:27PM +0200, Christian Langreiter wrote:
> Since the update to Core 2.5 REBOL CGI processes seem to hang a lot - today > I killed 57 running REBOL zombies on my Linux machine. > > - This is a 2.5 problem. 2.3 didn't have it. > - My code is OK (happens even with trivial things which can't hang) ;-) > - Happened to other people running REBOL/Core 2.5 on Linux as well.
Just curious: Is this on a secure URL?
> Is this a known problem?
I have had this problem on earlier vers. of rebol. But In my case I do not think that it was version specific. Rather, it was server-specific and linked to changes in secure server (mis)configuration.
> -- Chris > > -- > To unsubscribe from this list, please send an email to > [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
-- Tim Johnson <[tim--johnsons-web--com]> http://www.johnsons-web.com