Server WooCommerce
MariaDB stuck after an out-of-memory crash: recovering a WooCommerce store on a cPanel VPS without losing data
MariaDB was not corrupted. After an out-of-memory event, it restarted while the server was still short of memory, stalled part-way through crash recovery, and kept holding the lock on its data files, so every new start failed with "Unable to lock ./ibdata1, error: 11". We preserved the complete data directory first and proved the copy was consistent, then recovered the database without losing any data. The underlying cause was PHP running in CGI mode with no process limit and no swap space, which we fixed so it could not happen again.
Independent online retailer (anonymised) · Site restored and stabilised within three working days
Read the full case study- 0
- data lost
- ≈900
- files proven unchanged during the copy
- 46 s → 3 s
- home page load time
- 100%
- of the second database untouched
