---
title: My function fails after trying too many times
description: Troubleshoot problems with functions trying too many times before failing.
tags: serverless functions troubleshooting issue error function retries retry failure
dates:
  validation: 2025-11-18
  posted: 2024-11-06
---

## Problem

My function fails, and the following message displays:

```
Too many retries, sub-runtime server did not come up in 10ms seconds.
```

## Cause

This error is returned by the runtime when it cannot process the request. It has several different origins.

## Possible solutions

- Make sure that you have only imported the required dependencies and not the complete libraries.

- Avoid performing too many initialization operations.

- Update your function's resources by provisioning more memory and more vCPU.