Self-Host Hardware Requirements

Hi,

Are there any minimum suggested hardware requirements for self-hosted solution?

I’m asking this because I’ve experienced MySQL DB memory issue. When freeable memory was decreased below 100M, I had to increase memory to 8GB because freeable memory didn’t increase although I’ve deactivated the workflows. Do you have any comment about that?

It would be great if we have a minimum suggested requirements for self-hosted solution. I know that most of them are dependent with usage volume, however some of them might be defined.

Thanks!

Hey @samaritan,

You have nailed it there, So because it all depends on usage there isn’t really any proper answer for this one. You would need to make sure you have at least the minimum resources for the OS and other applications you are running though. I would say if MySQL is hitting a memory issue that is likely to be unrelated to n8n itself so it could be worth monitoring the processes and seeing what sort of load you are getting.

As a rough example I was running n8n on a Pi with 4GB of memory using the SQLite database with data pruning enabled and that was running for about 6 - 8 months with maybe 150 / 200 scheduled executions a day and around 100 workflows with about 15 active. I was also using that instance to test issues and answer questions from the community here as well.

1 Like

Wow thats grate, so as my database is on bubble.io i dont need database to be on my server, but only for automation and using the functionality for automation and other thing, i can use a pi with 4 or 8 gb ram and run it.

will it work.

The database Jon mentioned is the n8n internal database

I believe as long as you have a 4b or newer it runs on the raspi.
I used to run a test server on a raspberry pi 4b with 4gb and it was shockingly effective.

Enough that i would expect a raspberry pi 5 with 4 to 8 gb be plenty for small/medium size business use, as long as its not doing some really heavy stuff like dealing with a lot of files.

1 Like