Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 129
    • Merge requests 129
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • nexedinexedi
  • slaposslapos
  • Merge requests
  • !744

monitor: remove mpm configuration from httpd conf

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Nicolas Wavrant requested to merge improve-monitor-httpd into master Apr 28, 2020
  • Overview 7
  • Commits 1
  • Pipelines 0
  • Changes 2

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.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: improve-monitor-httpd
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7