in reply to Fork() and exec()
I'm not sure what sort of requests you're processing, but you could put them in a flat file database in some directory and have another program run from cron at regular intervals that processes those requests and removes them from the flat file. The only issue you'd have to deal with in this situation is contention for the file resource when the CGI program is "writing" to the flat file at the same time the cron'd process wants to read from it. But you can use file locking to handle this, as it shouldn't take long to process simple requests from a text file.
If you can give us some more details about what sort of processing is going on there might be other solutions, too.
---
echo S 1 [ Y V U | perl -ane 'print reverse map { $_ = chr(ord($_)-1) } @F;'
|
|---|