I'm trying to install Xenforo (Forum software) on a Linux Azure Web App (App Service) which has been setup with:
- PHP 7.2
- Premium P1V2 Plan
It's also connected to an Azure MySQL Database (Version 5.7) with Basic 2 vCore (5 GB).
- Xenforo version: 2.1.4
Problem
It took around 2 hours to finish the installation, which is way too long since it should take around 2-3 minutes. Also happening on plugins' installation. In particular the Importing... Master data (Phrases: xx.x%) phase takes forever.
Details
There's no CPU nor memory usage exceeded warning, all seems healthy to the diagnostic tools and Xenforo's requirements test has been successfully passed.
I tried to scale all plans to max level and nothing changed (Both MySQL and App Service)
I also tried with MySQL 8.0.
The connection to the website is very fast, only the Xenforo's installation and plugin's installation is slow, so I suppose it could be a file write issue or maybe some configuration (InnoDB?) or something related to compatibility.
Gen5 hardware specification (Microsoft docs)
- Intel E5-2673 v4 (Broadwell) 2.3-GHz and Intel SP-8160 (Skylake)* processors
- Provision up to 80 vCores (1 vCore = 1 hyper-thread)
- 5.1 GB per vCore (Memory)
- Provision up to 408 GB (Memory)
Rate Per Second = RPS
Suggestions to consider for your Azure portal, SETTINGS, Server parameters
The first 5 changes are dynamic and will take effect without instance restart.
Let us know how these few changes affect your query response time either good or bad. For additional assistance please view our profile, Network profile and download our free Utility Scripts for assistance with performance tuning.