Smart Build Queue Limits

Depfloy smartly manages your build queue limits to ensure optimal server performance. This section will cover how Depfloy smartly manages your build queue limits to ensure optimal server performance.

Queue limits are a useful feature in Depfloy for users who deploy multiple projects on a single server. When server resources are limited, attempting to deploy several projects simultaneously may result in “out of memory” errors or cause the server to freeze due to excessive CPU or RAM usage. To prevent such issues, you can configure your servers to process only as many deployment builds as they can handle at a time.

When you set a deployment queue limit for a server, only the specified number of build processes will run concurrently, and additional builds will be queued. This allows you to utilize your server resources more efficiently.

To enable this feature, navigate to the “Build Queue Size” section in your server settings at https://app.depfloy.com/servers/<serverID>/queue.

Build Queue Size

Why I Should Use Build Queue Limits?

Let's assume you are hosting multiple projects on a low-capacity server and deploying them at the same time. In this case, your server's RAM may run out and the server's performance may decrease. In the worst case, you might encounter the "Reached Heap Limit Allocation Failed Error", which means that your server has run out of RAM.

By setting the build queue limit, only the specified number of deployment builds will run concurrently, and other operations will be queued. This ensures that the server's performance is better protected and the server's capacity is better utilized.

Was this page helpful?