<p>Akka app on Kubernetes is facing delayed heartbeats, even when there is no load. </p>

<p>There is also constantly the following warning: </p>

<pre><code>heartbeat interval is growing too large for address ...
</code></pre>

<p>I tried to add a custom dispatcher for the cluster, even for every specific actor but did not help. I am not doing any blocking operations, since it is just a simple Http server.</p>

<p>When the cluster has load, the nodes get Unreachable.  </p>

<p>I created a repository which can be used to reproduce the issue : <a href="https://github.com/CostasChaitas/Akka-Demo" rel="nofollow noreferrer">https://github.com/CostasChaitas/Akka-Demo</a></p>

<p>I was also having same issue of growing heartbeat intervals but in my case it was once I started using the cluster though the load was not high, I was trying only 2tps.</p>
<p>Going through the Akka documentation I found Akka discourages using <code>resources.limits.cpu</code>. I removed it from my deployment manifest file and it works fine without delays.</p>
<p>You can refer the documentation here: <a href="https://doc.akka.io/docs/akka/current/additional/deploying.html?_ga=2.222760347.1686781468.1643119007-1504733962.1642433119#resource-limits" rel="nofollow noreferrer">https://doc.akka.io/docs/akka/current/additional/deploying.html?_ga=2.222760347.1686781468.1643119007-1504733962.1642433119#resource-limits</a></p>
