# Why does it take so long to generate the keystore file?

**URL:** <https://radixtalk.com/t/why-does-it-take-so-long-to-generate-the-keystore-file/67>\
**Category:** Validators\
**Tags:** faq, linux\
**Created:** [25 December 2021 14:32 UTC](https://radixtalk.com/t/why-does-it-take-so-long-to-generate-the-keystore-file/67 "2021-12-25T14:32:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stuart](https://radixtalk.com/letter_avatar_proxy/v4/letter/s/cab0a1/32.png) [@Stuart](https://radixtalk.com/u/Stuart)\
**Post date:** [25 December 2021 14:32 UTC](https://radixtalk.com/t/why-does-it-take-so-long-to-generate-the-keystore-file/67/1 "2021-12-25T14:32:50Z")

</div>

If your server is taking several minutes to generate the node-keystore.ks file then it is possible that your server doesn’t have enough entropy (randomness).

To check this, run the following command:

```auto
cat /proc/sys/kernel/random/entropy_avail

```

and you should get a value in the thousands.

If your value is low, then install the Random Number Generator tools package as specified in the Node installation guide as follows:

```auto
sudo apt install rng-tools
sudo rngd -r /dev/random

```

Alternatively, you can install the `haveged` package by following the instructions here:

> **[How to Setup Additional Entropy for Cloud Servers Using Haveged | DigitalOcean](https://www.digitalocean.com/community/tutorials/how-to-setup-additional-entropy-for-cloud-servers-using-haveged)**
>
> Entropy is important, and haveged is an application that can provide your system with more of it.
