Skip to content

Webserver fixes and tuning settings #230

Merged
naioja merged 8 commits into
Azure:masterfrom
naioja:aj_linux_fixes
Feb 2, 2021
Merged

Webserver fixes and tuning settings #230
naioja merged 8 commits into
Azure:masterfrom
naioja:aj_linux_fixes

Conversation

@naioja
Copy link
Copy Markdown
Collaborator

@naioja naioja commented Jan 28, 2021

Overview of commit:

  1. Moodle VMSS scale time fix using az copy instead of rsync in order to lower the VM scaling time
  2. Varnish start-up time improved by lowering sleep between threads spawning
  3. Nginx tuning (ssl config tuning, using backup pool mechanism for error requests)
  4. PHP tuning (opcache, introducing backup worker pool, worker pool sizing)
  5. Linux VM tuning (irqbalance, kernel settings, tuned)

Allowing the nginx webserver a higher number of open files.
Making sure we are capturing all of the commands output for our setup
script.
In order to decrease the amount of time we are taking for installating
packages we've consolidated it in a single command adding quiet
options to the apt command.
Adding network kernel parameters and enabling tuned with the
throughput-performance profile.
Allowing (mostly) network irqs to be scheduled on the last two vcpu
cores.
Increasing allocated memory to 4096MB, increasing the minimum number of
threads to 1000 and lowering the delay for creating a thread.
In order to speed up the copying process rsync code was replaced by
azcopy.
Adding tuning options for nginx and php-fpm in order to increase
performance under load.
@naioja naioja merged commit d4df9a1 into Azure:master Feb 2, 2021
@naioja naioja deleted the aj_linux_fixes branch February 2, 2021 15:32
naioja added a commit that referenced this pull request Dec 29, 2025
Webserver fixes and tuning settings
vibehero100 pushed a commit to vibehero100/Moodle that referenced this pull request Apr 7, 2026
Webserver fixes and tuning settings
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant