Extra build minutes being used suddenly

Netlify site name: sdm-connect-2.netlify.app

I’ve been deploying my site regularly on Netlify, and builds typically take around one minute. Recently, however, one build took three minutes unexpectedly, and all subsequent builds are now taking about seven minutes each. This is happening consistently, despite no major changes being made to the project.

Following the chatbot’s advice, I cleared the build cache and redeployed, but the issue persists. These prolonged build times are significantly increasing my usage of build minutes without clear cause.

I’d really appreciate any insights you could share into why this might be happening, or any further steps I could take to resolve it.

Thank you for your time and support.

Build logs (There are no other builds in queue and I do not need python):

10:44:42 AM: Waiting for other deploys from your team to complete. Check the queue: Netlify
10:45:05 AM: build-image version: ba55f85ffe1878034fe03904205af79aa234f545 (focal)
10:45:05 AM: buildbot version: 766d2c1ac7b7596f18b546cb6bf13962d157b033
10:45:05 AM: Fetching cached dependencies
10:45:05 AM: Starting to download cache of 370.9MB
10:45:07 AM: Finished downloading cache in 2.235s
10:45:07 AM: Starting to extract cache
10:45:10 AM: Finished extracting cache in 2.772s
10:45:10 AM: Finished fetching cache in 5.071s
10:45:17 AM: Starting to prepare the repo for build
10:45:41 AM: Preparing Git Reference refs/heads/main
10:46:07 AM: Starting to install dependencies
10:46:43 AM: Started restoring cached mise cache
10:46:43 AM: Finished restoring cached mise cache
10:46:44 AM: mise python@3.13.3 install
10:46:44 AM: mise python@3.13.3 download cpython-3.13.3+20250409-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
10:46:44 AM: mise python@3.13.3 extract cpython-3.13.3+20250409-x86_64-unknown-linux-gnu-install_only_stripped.tar.gz
10:46:44 AM: mise python@3.13.3 python --version
10:46:44 AM: mise python@3.13.3 Python 3.13.3
10:46:44 AM: mise python@3.13.3 ✓ installed
10:46:44 AM: Python version set to 3.13
10:46:46 AM: Collecting pipenv
10:46:46 AM: Downloading pipenv-2025.0.2-py3-none-any.whl.metadata (17 kB)
10:46:46 AM: Collecting certifi (from pipenv)
10:46:46 AM: Downloading certifi-2025.4.26-py3-none-any.whl.metadata (2.5 kB)
10:46:46 AM: Collecting packaging>=22 (from pipenv)
10:46:46 AM: Downloading packaging-25.0-py3-none-any.whl.metadata (3.3 kB)
10:46:46 AM: Collecting setuptools>=67 (from pipenv)
10:46:46 AM: Downloading setuptools-80.2.0-py3-none-any.whl.metadata (6.5 kB)
10:46:46 AM: Collecting virtualenv>=20.24.2 (from pipenv)
10:46:46 AM: Downloading virtualenv-20.30.0-py3-none-any.whl.metadata (4.5 kB)
10:46:46 AM: Collecting distlib<1,>=0.3.7 (from virtualenv>=20.24.2->pipenv)
10:46:46 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl.metadata (5.2 kB)
10:46:46 AM: Collecting filelock<4,>=3.12.2 (from virtualenv>=20.24.2->pipenv)
10:46:46 AM: Downloading filelock-3.18.0-py3-none-any.whl.metadata (2.9 kB)
10:46:46 AM: Collecting platformdirs<5,>=3.9.1 (from virtualenv>=20.24.2->pipenv)
10:46:46 AM: Downloading platformdirs-4.3.7-py3-none-any.whl.metadata (11 kB)
10:46:46 AM: Downloading pipenv-2025.0.2-py3-none-any.whl (3.0 MB)
10:46:46 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 73.6 MB/s eta 0:00:00
10:46:46 AM: Downloading packaging-25.0-py3-none-any.whl (66 kB)
10:46:46 AM: Downloading setuptools-80.2.0-py3-none-any.whl (1.2 MB)
10:46:46 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 109.3 MB/s eta 0:00:00
10:46:46 AM: Downloading virtualenv-20.30.0-py3-none-any.whl (4.3 MB)
10:46:46 AM: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.3/4.3 MB 192.8 MB/s eta 0:00:00
10:46:46 AM: Downloading certifi-2025.4.26-py3-none-any.whl (159 kB)
10:46:46 AM: Downloading distlib-0.3.9-py2.py3-none-any.whl (468 kB)
10:46:46 AM: Downloading filelock-3.18.0-py3-none-any.whl (16 kB)
10:46:46 AM: Downloading platformdirs-4.3.7-py3-none-any.whl (18 kB)
10:46:46 AM: Installing collected packages: distlib, setuptools, platformdirs, packaging, filelock, certifi, virtualenv, pipenv
10:46:48 AM: Successfully installed certifi-2025.4.26 distlib-0.3.9 filelock-3.18.0 packaging-25.0 pipenv-2025.0.2 platformdirs-4.3.7 setuptools-80.2.0 virtualenv-20.30.0
10:46:48 AM: [notice] A new release of pip is available: 24.3.1 → 25.1.1
10:46:48 AM: [notice] To update, run: pip install --upgrade pip
10:47:12 AM: Attempting Ruby version 2.7.2, read from environment
10:47:13 AM: Using Ruby version 2.7.2
10:47:25 AM: Started restoring cached go cache
10:47:25 AM: Finished restoring cached go cache
10:47:27 AM: go version go1.19.13 linux/amd64
10:48:22 AM: Using PHP version 8.0
10:49:46 AM: Started restoring cached Node.js version
10:49:48 AM: Finished restoring cached Node.js version
10:49:49 AM: v18.20.8 is already installed.
10:49:49 AM: Now using node v18.20.8 (npm v10.8.2)
10:49:49 AM: Enabling Node.js Corepack
10:49:49 AM: Started restoring cached build plugins
10:49:49 AM: Finished restoring cached build plugins
10:49:49 AM: Started restoring cached corepack dependencies
10:49:49 AM: Finished restoring cached corepack dependencies
10:49:49 AM: No npm workspaces detected
10:49:49 AM: Started restoring cached node modules
10:49:49 AM: Finished restoring cached node modules
10:49:49 AM: Installing npm packages using npm version 10.8.2
10:49:54 AM: up to date, audited 341 packages in 5s
10:49:54 AM: 38 packages are looking for funding
10:49:54 AM: run npm fund for details
10:49:54 AM: 5 vulnerabilities (3 moderate, 2 high)
10:49:54 AM: To address issues that do not require attention, run:
10:49:54 AM: npm audit fix
10:49:54 AM: To address all issues (including breaking changes), run:
10:49:54 AM: npm audit fix --force
10:49:54 AM: Run npm audit for details.
10:49:54 AM: npm packages installed
10:49:54 AM: Successfully installed dependencies
10:49:54 AM: Starting build script
10:51:03 AM: Detected 0 framework(s)
10:51:03 AM: Section completed: initializing

Best regards,
Divyam

1 Like

hey Divyam, thanks for reaching out! When comparing a previous (fast) build to a more recent one side by side, are you able to see in the build logs where the extra time is coming from? If you see any parts of the build process that are now taking longer and leading to this increased build time, we can help dig into those parts of the build to try to tease out what the difference is. Let me know if you have any questions!

Thanks for replying,
I tried again and again, and it solved the problem. Now, my builds are taking normal time again.

Thanks again :grinning_face_with_smiling_eyes:

1 Like