# Encountered an error while restoring from a backup

**URL:** https://meta.discourse.org/t/encountered-an-error-while-restoring-from-a-backup/307400
**Category:** Self-hosting
**Tags:** backups
**Created:** [May 9, 2024, 1:04pm UTC](https://meta.discourse.org/t/encountered-an-error-while-restoring-from-a-backup/307400 "2024-05-09T13:04:49Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Ed\_S](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ed_s/32/134015_2.png) [@Ed\_S](https://meta.discourse.org/u/Ed_S)
#### Post date: [May 10, 2024, 4:14pm UTC](https://meta.discourse.org/t/encountered-an-error-while-restoring-from-a-backup/307400/6 "2024-05-10T16:14:16Z")

</div>

That’s a lot of unicorns - it’s the normal number, 2 per CPU, but for only 4G RAM it’s a lot. I’d suggest reducing the number of unicorns.

There are also some kernel configs you might usefully tweak to improve virtual memory use. See

> [@Whole machine hangs during upgrade](https://meta.discourse.org/t/whole-machine-hangs-during-upgrade/293592/12):
>
> But there’s also the question of the kernel tunable as mentioned in  
> [MKJ’s Opinionated Discourse Deployment Configuration](https://meta.discourse.org/t/mkjs-opinionated-discourse-deployment-configuration/193355)  
> which I’ve got set correctly, but which maybe lots of people don’t have set correctly.

---

_[View the full topic](https://meta.discourse.org/t/encountered-an-error-while-restoring-from-a-backup/307400)._
