Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • slapos slapos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 122
    • Merge requests 122
  • 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
  • nexedi
  • slaposslapos
  • Merge requests
  • !744

Closed
Created Apr 28, 2020 by Nicolas Wavrant@NicolasMaintainer
  • Report abuse
Report abuse

monitor: remove mpm configuration from httpd conf

  • Overview 7
  • Commits 1
  • 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
Reviewer
Request review from
Time tracking
Source branch: improve-monitor-httpd
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7