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

[REBOL] Re: unwanted processes ...

From: Gary:Jones:usap:gov at: 1-May-2004 11:29

From: Graham Chiu
> My ISP has again shut down my vanilla script, and rebol, > as there were 150 processes running :( > > Anyone else having this problem. They're running Solaris > sparq ... and I thought I was running latest core. > > I had thought adding 'Quit to vanilla.r had solved the > problem. Since most of these processes were most likely > spawned by bots crawling the site, I've now altered > .htaccess to exclude them all. Bye bye googlebot! Hello, > anonymity :(
Hi, Graham, I had not run across that sort of problem since the REBOL 2.0 and 2.1 era, so that does seem odd and interesting. One idea that occurs to me is just a bit of extra control and logging. I recall someone a year and a half ago showing how one gets the PID (process ID) from within REBOL (maybe Bo or Gregg???). It was easy; I just can't remember it. What if each time a script started up, it logged the time and its PID to a log file. It also would read this log file and scan for PIDs that had been running for more than x amount of time and kill those. It might keep you ISP happier if that could be made to work. Just a thought.... For my own edification, I ask out of ignorance why a robot spawned script process would be left running and not a "legitimately" spawned one? Is there some essential web property that I seem to be forgetting? --Scott Jones Weather for South Pole Station The date is 05-01-2004 at 11:27 AM Temperature -64.7 C -84.5 F Windchill -86.3 C -123.3 F Wind 8.30 kts Grid 122 Barometer 673.5 mb (10872. ft) UTC 04-30-2004 at 23:27 Z