1. 28 Apr, 2020 3 commits
    • Nicolas Wavrant's avatar
      monitor: remove mpm configuration from httpd conf · ec3473d8
      Nicolas Wavrant authored
      With the mpm limits, the webrunner fails often to instanciate because of the error in promise below :
      
      2020-04-28 07:45:23 slapos[4284] INFO Checking promise monitor-httpd-listening-on-tcp.py...
      2020-04-28 07:45:28 monitor-httpd-listening-on-tcp.py[4284] ERROR ERROR: HTTPSConnectionPool(host='2001:67c:1254:e:8e:66f4:0:4e9c', port=8386): Read timed out. (read timeout=5)
      
      Checking the open connection with ss, I could find many lines like :
      
      tcp    CLOSE-WAIT  518     0        [2001:67c:1254:e:8e:66f4:0:4e9c]:8386                           [2001:67c:1254:e:8e:66f4:0:4e9c]:49540
      
      So apache was too slow to answer, or busy doing something. Connections
      to it were getting queued, making promise fail, making another "slapos
      node instance" required, creating more frozen tcp connections.
      
      For this change, I took inspiration from the webrunner apache config,
      which doesn't define these parameters at all neither.
      
      I did a fast performance check, with this commit, when apache is started
      it consumes ~40Mo. I didn't check before this commit, but I doubt it
      would be much less than that.
      ec3473d8
    • Nicolas Wavrant's avatar
      monitor: improve httpd conf · f19b241c
      Nicolas Wavrant authored
      log accesses (the logrotate conf already exists for them), and
      remove the pattern "<IfDefine Port>" which was used when this
      apache conf was extended by the software's apache extending
      the monitor stack
      f19b241c
    • Jérome Perrin's avatar
      82bd7b9f
  2. 27 Apr, 2020 16 commits
  3. 26 Apr, 2020 1 commit
  4. 25 Apr, 2020 1 commit
  5. 24 Apr, 2020 18 commits
  6. 23 Apr, 2020 1 commit