[REBOL] Re: Rugby eating CPU time :-(
From: petr::krenzelok::trz::cz at: 22-Nov-2001 13:46
I think it is rugby or rebol fault now:
I set-up simple cgi-script:
#!/usr/bin/rebolcmd -c
REBOL []
do %rugby.r
print "Content-type: text/plain"
print newline
print "Starting simple Rugby echo test service, stop your browser loading
the page ..."
serve/with-http [echo] tcp://:9005
Then I did following in my rebol PC console (not server running the
service):
->> do %/F/vymena/rebOL/rugby/rugby.r
->> do get-rugby-service/http http://www.rebol.cz:9005
->> start: now/Time loop 100 [echo/http "Tralala"] print now/Time - start
0:02:46
resulting in:
asko 28184 44.1 7.5 5820 4776 ? R 12:45 13:09 rebolcmd -c
rugby-echo.cgi
44.1 CPU usage ...
Not doing anything now and it is now 50.1%, as I type ...
Now what? OK, I will start the service and will NOT connect to it. I will
let it run on server and observe ...
Cheers,
-pekr-