Stuck & Slow Builds

What to check when a Waddle build looks stuck or takes longer than expected, and why a project's first build is naturally slower than the ones after it.

Note: This page is new, and will grow as we hear about problems from users and find more issues of our own during testing.

Why the first build takes longer

On a project’s first build, Waddle compiles PHP, Nginx, MariaDB, Redis, etc. from source, and installs the platform itself. Building from source like this is Waddle’s general approach. This means build time depends on what CPU you have (core count, thread count, cache size, and so on), how much RAM you have (to some extent), what disk medium you use, and how fast your internet connection is. In short, the beefier your machine, the faster it goes. Every build after that reuses this work and finishes much faster, unless you change a setting for the service that requires it to recompile, such as its version or compile options.

A build that looks stuck

Note: You can always abort a stuck build. Click Stop on the build page, then try again.

If a build seems stuck rather than just slow, check each service’s build settings for the Parallel build jobs field. It defaults to $(nproc), which just means every thread your CPU has, and on a weaker CPU, especially a laptop’s, using all of them at once can pin it and make the build look frozen. A plain number works fine there instead. A good starting point is about 75% of your CPU’s total threads. Test and adjust from there.

Checking your thread count

OS Terminal GUI
Linux nproc
macOS sysctl -n hw.logicalcpu Activity Monitor → Window → CPU Usage (or CPU History), which shows one graph per thread.
Windows echo %NUMBER_OF_PROCESSORS% (Command Prompt or PowerShell) Task Manager → Performance tab → CPU, read off Logical processors.