question

VincentCollogan avatar image
0 Votes"
VincentCollogan asked UmrF commented

SharePoint 2019 psconfigUI taking very long time

We have a new SharePoint Server 2019 (on prem) farm we're working on. It is a large farm (17 VM servers + 2 node physical SQL cluster) we will be using to migrate from SharePoint Server 2016. It only has placeholder/blank content DBs and very few service apps built out. The problem is, the SharePoint Products and Configuration Wizard takes a very long time to run, 2 hours or more on any server running web application. Psconfigui runs fast on distributed cache and search servers. I know there are fewer and fewer companies even using SharePoint on prem, but I'm asking here on the chance anyone else is experiencing this. I already have a MS support case open, and they are reviewing logs, but haven't made any headway.
From the upgrade log. UPGRADE PERCENTAGE: 100.00000000% done, Total Elapsed Time 01:59:13.0343961
No errors in the upgrade log, and I haven't seen any reason for this in the ULS either. 2 hours is how long each frond end takes even if there is no upgrading to be done, in other words, if psconfigui completes successfully on all servers, then I go back and run it again on central admin, just to test, it still takes 2 hours! Since we patch monthly, running psconfigui 1 weekend a month for 25-30 hours is unacceptable.

I've tried the psconfig command here https://docs.microsoft.com/en-us/sharepoint/upgrade-and-update/sharepoint-server-2016-zero-downtime-patching-steps
and also the 1 from Stefan Goßner here https://blog.stefan-gossner.com/2015/08/20/why-i-prefer-psconfigui-exe-over-psconfig-exe/ and they have their own problems, and do not run any faster.

Oh, also, we tried disabling all antivirus (Crowdstrike). Didn't help. Also added farm acct to local admins, which isn't required nor recommended, but also didn't help.

73115-psconfig.png


73079-2hours.jpg


office-sharepoint-server-administration
psconfig.png (7.9 KiB)
2hours.jpg (22.8 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hello @VincentCollogan ,

I'm glad to hear that your problem has been solved, and you can mark answer from @trevorseward .

Have a nice day!


0 Votes 0 ·

1 Answer

trevorseward avatar image
1 Vote"
trevorseward answered UmrF commented

If you disabled Crowdstrike, did you check to see if Windows Defender became enabled again? It's important that you follow https://support.microsoft.com/en-us/office/certain-folders-may-have-to-be-excluded-from-antivirus-scanning-when-you-use-file-level-antivirus-software-in-sharepoint-01cbc532-a24e-4bba-8d67-0b1ed733a3d9 regardless of A/V.

How many Web Applications have you created in the new farm? Did this only get slower as you added more servers to the farm, or was server #2 supporting the FE role also slow to join the farm?

· 9
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Windows Defender and FW are disabled. There are about 20 web apps and all were created during initial install and config by AutoSPInstaller. It didn't seem like joining farms was slow, nor was installing SP.

Also, correction to above... running psconfigui after a patch is pushed takes 2 hours, but when I run it for a second time (meaning there are no upgrade tasks to perform), it takes a little over an hour on each front end, which is still way too long/way longer than it takes on our SharePoint 2016 farms.

0 Votes 0 ·

Another thing... all servers, SharePoint and SQL are on same subnet with less than 1ms response. IO testing has been done with DiskSpd, and the storage and servers check out fine. These are big enterprise class servers and SANs, architected for tens of thousands of SharePoint users. SQL and storage utilization are low - no significant waits or anything that would point to performance being the problem.

0 Votes 0 ·

Is there a reason you're using 20 Web Apps? Recommendation is no more than four for performance reasons. Are all Service Applications running under a single account and likewise, all Web Applications, thus one IIS App Pool for all Service Apps and one for all Web Apps?

1 Vote 1 ·
Show more comments