1. 12 Jul, 2017 1 commit
    • Leigh B Stoller's avatar
      Improvements to the protogeni fcgid handler: · aeb3d617
      Leigh B Stoller authored
      * Fix the logging that had been messed up for while; the logfile object
        was not defined in the children, needed a little reorg.
      * Add changes needed for SecureImageDownload(), which is a little
        messier with fcgid since we have to stream the image back to apache
        which means we need to reconnect the fcgid handler.
      * Add the CH module, seems to work fine.
      * Wrap the calls to cluster-wrapper.pl so that we can set an ENV
        variable indicating which module is being served, and then put this
        in the proc title; its very annoying that perl (sometime?) messes the
        with the proc title without permission from me, so I don't know what
        each server is serving since the command line options are gone.
      * Some tweaks to the apache config file.
      Note hat this is not running live yet, still just in my devel tree.
  2. 22 Feb, 2016 1 commit
    • Leigh B Stoller's avatar
      Optimized version of the RPC server, using mod_fcgid to maintain long · 640d2c68
      Leigh B Stoller authored
      running servers to avoid the big perl startup costs we have with starting a
      brand new script each time a request comes in. At the moment, only the
      sa/cm/am servers are going to run combined inside the new server, the other
      APIs will use the old method. This new approach reduces minimal RPC time
      from 1 second to 0.05 seconds, which makes it usable from the Portal web
      interface to grab cluster data on the fly.