# Help needed for Dgraph setup : Linux server

**URL:** <https://discuss.dgraph.io/t/help-needed-for-dgraph-setup-linux-server/10486>\
**Category:** Dgraph\
**Tags:** kind:question\
**Created:** [September 21, 2020, 1:27am UTC](https://discuss.dgraph.io/t/help-needed-for-dgraph-setup-linux-server/10486 "2020-09-21T01:27:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nish-Hub](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/nish-hub/32/3539_2.png) [@Nish-Hub](https://discuss.dgraph.io/u/Nish-Hub)\
**Post date:** [September 21, 2020, 1:27am UTC](https://discuss.dgraph.io/t/help-needed-for-dgraph-setup-linux-server/10486/1 "2020-09-21T01:27:27Z")

</div>

Hi all,I am going to use Dgraph server for an application with less than a million nodes. The operation on this server would be mostly of fetch of size around 10-15 nodes in a single json per transaction every 10 mins (Just to provide an idea of how much is the transactional complexity ) .  
I have a server with 4 gigs of RAM for deploying Dgraph . Should I be upgrading this ? I mean the data size isn’t high for now henc would want to understand a system feasible setup like minimum ram etc .

This Majorly would also depend on how Dgraph maintains the garbage memory or something equivalent

---

<div class="post-metadata">

**Author:** ![chewxy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/chewxy/32/4339_2.png) [@chewxy](https://discuss.dgraph.io/u/chewxy)\
**Post date:** [September 21, 2020, 1:32am UTC](https://discuss.dgraph.io/t/help-needed-for-dgraph-setup-linux-server/10486/2 "2020-09-21T01:32:56Z")

</div>

4GiB of RAM is generally not enough for any modern day server. On dedicated servers, we recommend 8GiB minimum. On shared servers, we recommend 16 GiB minimum for an Alpha node.

---

<div class="post-metadata">

**Author:** ![Nish-Hub](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/nish-hub/32/3539_2.png) [@Nish-Hub](https://discuss.dgraph.io/u/Nish-Hub)\
**Post date:** [September 21, 2020, 1:34am UTC](https://discuss.dgraph.io/t/help-needed-for-dgraph-setup-linux-server/10486/3 "2020-09-21T01:34:20Z")

</div>

I agree to that but if usage isn’t high then ? I am just trying to see the worst case , below which the server will start crashing

---

<div class="post-metadata">

**Author:** ![chewxy](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/chewxy/32/4339_2.png) [@chewxy](https://discuss.dgraph.io/u/chewxy)\
**Post date:** [September 21, 2020, 1:55am UTC](https://discuss.dgraph.io/t/help-needed-for-dgraph-setup-linux-server/10486/4 "2020-09-21T01:55:02Z")

</div>

Interesting question. I’ve no clue. Sorry.

Perhaps @omar might help?

---

<div class="post-metadata">

**Author:** ![omar](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/omar/32/2869_2.png) [@omar](https://discuss.dgraph.io/u/omar)\
**Post date:** [September 21, 2020, 9:48am UTC](https://discuss.dgraph.io/t/help-needed-for-dgraph-setup-linux-server/10486/5 "2020-09-21T09:48:23Z")

</div>

Hi @Nish-Hub

As my colleague reported your machine spec looks very limited for nowadays technologies and as far I understand you will be running a Dgraph Cluster (that consists of at least 1 zero nodes and 1 alpha node) on the same machine.

So definitely not what we recommend, despite the use-case. Regarding the worst scenario, I would say you might face OOM from alpha while doing R, W, or RW (upsert) operation. Also, query performance will not be optimal at all. Another question is what is your HD type, is it an SSD? Does it have high IOPS (you can use a tool called `fio` to get an idea of IOPS)

> This Majorly would also depend on how Dgraph maintains the garbage memory or something equivalent

To answer this, I need to ask you what Dgraph version are you using (or thinking to use), of course, we suggest you always go with the latest version that is [20.07.1](https://github.com/dgraph-io/dgraph/releases/tag/v20.07.1)

Also, did you have the chance to have a look at our managed service [Slash GraphQL](https://dgraph.io/slash-graphql)?

Best,
