[REBOL] double process for rebol CGI
From: hallvard:ystad:helpinhand at: 17-Oct-2001 8:55
I'm testing a rebol script on a mac server, but it seems to launch two processes for
each request. Is this some setting I have missed, or is this normal behaviour (hope not)
? Here's a script that proved it repeatedly (it happens with all scripts, but I made
this one to have more than enough time to du a ps aux):
#!/Local/Applications/core024/rebol -cs
REBOL [ Title: "Wait" ]
print "Content-Type: text/plain^/"
print "About to wait"
wait 8
print "Finished waiting 8"
...and here are the processes that get launced when I do a request:
bash-2.02# ps auxw | grep rebol
portal 10965 0.9 0.4 3.98M 2.25M ? S 0:00 rebol -cs? /Local/Library/WebServer/CGI-Executables/wait.r
portal 10966 0.0 0.0 2.63M 140K ? S 0:00 rebol -cs? /Local/Library/WebServer/CGI-Executables/wait.r
root 10968 0.0 0.1 2.37M 600K p7 S 0:00 grep rebol
Can anyone explain?
~H