r/SQLServer • u/fagghujjakob • Feb 24 '26
Question Help needed. SQL server 2022 CU 23 crashes randomly and I do not know why.
Hello, we run a small SQL server with 13 DBs and. It is hosted in a win 11 pro virtual machine. We used to have this problem and migrated the from one VM to another, because we thought that some drivers ware broken. Firstly we moved 6 databases and server ran without a problem, but after we migrated all the databases the server started crashing sometimes multiple times a day, sometimes not for 1-3 days.
Can you help we wit this problem? I am totally lost.
we always get this exception :
2026-02-24 12:08:55.14 spid94 * BEGIN STACK DUMP:
2026-02-24 12:08:55.14 spid94 * 02/24/26 12:08:55 spid 94
2026-02-24 12:08:55.14 spid94 *
2026-02-24 12:08:55.14 spid94 *
2026-02-24 12:08:55.14 spid94 * Exception Address = 000001827BB78CB0 Module(UNKNOWN)
2026-02-24 12:08:55.14 spid94 * Exception Code = c0000005 EXCEPTION_ACCESS_VIOLATION
4
u/chandleya Feb 24 '26
I’d want to know what spid94 was doing. Assuming you have the IO, you need an XE recording basically all the things until you trap a failure. Furthermore, this should’ve produced a dump file for support.
What’s the CPU and count? What’s the hypervisor? How much memory is given to VM? Granted in SQL? Which SQL edition? Why is this running on Windows 11
4
u/RedShift9 Feb 24 '26
Sounds like a RAM problem to me.
1
u/dbrownems Microsoft Employee Feb 24 '26
Do you use any third-party linked server drivers on this server?
You can open a support ticket. They may require you to reproduce the issue on Windows Server.
1
u/SirGreybush 1 Feb 24 '26
“Win11 pro” VM - but what’s the underlying hardware? A regular desktop?
You need to run VMs on server hardware with ECC memory, and ideally a server OS.
If you can’t afford a Windows server OS, use Linux Ubuntu.
Also to save money, data centres recycle out server hardware for cheap every 36-48-60 months, sell on eBay. Just use new disks. You will have stable on-prem hardware for VMs.
Me I like Proxmox with Ubuntu on the bare metal. Make Raid-1’s with NVME and regular HD’s, to have a mix of fast storage and slow.
Or rent VM space in a private cloud (a local company you can sneaker net to) or a large one like Azure or AWS.
These will be HA servers, and rental is usually not expensive monthly. Azure offers a great % rebate if you commit for 36 months.
2
u/7amitsingh7 Feb 25 '26
If you’re seeing random crashes with SQL Server 2022 CU23 and access violation errors, it’s usually either a CU-specific bug or something external interacting badly with the engine. First thing I’d check is whether you’re on the original CU23 build that was briefly pulled and re-released if so, patch to the latest available CU to rule that out(you can take help from this article as it highlights SQL crashes). Also take a look at anything running “in process” like CLR assemblies, linked servers, antivirus, or backup agents, since those can sometimes trigger memory-related crashes. If Query Store is enabled, it might be worth temporarily disabling it just for testing. And if this is production, running SQL Server on Windows 11 (even in a VM) isn’t ideal. Windows Server is the safer bet. If the dumps keep happening after updates and basic checks, it’s probably time to open a Microsoft support case with the dump files attached.
1
u/ArturABC Feb 25 '26
Windows 11 does not work even for desktop.
It is not because it is nvme that you will not have an io problem.
First I would Install Linux and the SQL server on it.
The SQL server licence is quite expensive, so no money for a proper windows server is a little fishy....
1
u/No_Resolution_9252 Feb 25 '26
Everything is wrong about this.
Windows 11.
Proxmox.
I seriously doubt you are running real hardware underneath it.
0
u/B1zmark 1 Feb 24 '26
Possible the code on the DB's is trying to access something on the OS. Check the account the service is running as.
Also, you should absolutely be running this on windows server, not a desktop OS. They aren't designed to be resilient in that configuration.