[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] RaQ2's and CGI scripts



Hi,

> Thought I would share the fix to my chronic problem with CGI's on old
> RaQ2's. This is one of the first 100 RaQ2's that was produced.
>
> My CGI script had a -w in the shebang line which the old 5.0 version of
> PERL on this machine would choke on.

I actually upgraded Perl to v5.6 from source. It works well. All the Cobalt
GUI admin stuff works as far as I can tell.

However, my problem with CGI scripts on a RaQ2 (and this is the same with
the original Perl version that came with the system) is that they take an
awful long time to start up. My old K6/2-300 system running Linux would
start a cgi-script via Apache in an instant, but the RaQ2 takes 3 seconds
just to load the perl script (whether you try and launch it from the command
line, or whether it's started by Apache as a cgi script).

Has anyone successfully shortened this delay? The delay gets bigger as you
add 'use' statements in the script (the script itself runs fast enough).