I didn’t realize that I needed a CGI wrapper for the nagios CGI
scripts, oops…
When I am forced to run CGI, I usually choose one of the tiny HTTP
servers such as thttpd (see http://wiki.nginx.org/ThttpdCGI) and proxy
to it from Nginx. This keeps the memory footprint small (no Apache
required) and still lets me used the more advanced features of Nginx for
non-CGI tasks.
On nie, paź 03, 2010 at 11:09:28 -0700, Cliff W. wrote:
When I am forced to run CGI, I usually choose one of the tiny HTTP
servers such as thttpd (see http://wiki.nginx.org/ThttpdCGI) and proxy
to it from Nginx. This keeps the memory footprint small (no Apache
required) and still lets me used the more advanced features of Nginx for
non-CGI tasks.
I’m not exactly sure you can go much lighter than fcgiwrap (especially
with several instances running, the per-process overhead is minimal –
84 KB last time I checked on i386).
Best regards,
Grzegorz N.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.