Howdy, Ryan.
Sorry to hear about your CGI woes.
Two considerations:
A) You are not using a REBOL/view to serve this cgi, yes?
If so, a REBOL/view would fail on boot trying to connect to
an X host that is not available. The process then hangs
out. This is a known problem. Use REBOL/core.
B) You are using an expired experimental? This would also
fail on boot-- though I don't know if it will hang out.
Maybe check to see if you can run the version of REBOL
directly.
So is the #! line pointing to the correct REBOL?
Otherwise, this script doesn't look like it could be
causing that problem.
How is this invoked, through an IMG tag?
You could also add a little logging:
write/append %banner-script.log now
I see that it is ending with .cgi. Perhaps another copy of
it is lying around in another directory getting invoked
erroneously?
-jeff
> My hosting service said they suspended my site because "This script has been
> running constantly since the site was re-enabled, with 10 plus copies running
> on each webserver. Not only does this monopolize system resources, but the
> script does not terminate properly and continues to replicate. We cannot
> permit scripts with programming errors on our servers as they
> impact the behavior of other customer sites."
>
> -Ryan
>
> #!rebol -cs
>
> REBOL [
> Title: "Banner Ad Randomizer"
> File: %webbanner.cgi
> Date: 16-Apr-2000
> Author: "Ryan Christiansen"
> Purpose: {
> Generate HTML code that displays a linked banner advertisement
> }
> ]