Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update limits.md #2579

Merged
merged 1 commit into from
Dec 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 19 additions & 10 deletions _docs/management/limits.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Space Developers can specify application limits in your [application manifest](h
The application memory limit. This setting has a dual-purpose, as your application compute limit is derived from its memory limit. This relationship is explained in detail [here](https://docs.cloudfoundry.org/concepts/container-security.html#cpu).

`disk_quota / -k`
- **Default:** `1GB`
- **Default:** `2GB`
- **Minimum:** `Based on the app's source and dependencies disk size`
- **Maximum:** `7GB`

Expand All @@ -53,17 +53,26 @@ The application cannot access more than the specified amount of memory.

- The environment default of 512MB `memory:` is sufficient for most applications. Static sites and utility applications such as schedulers or loaders may require less. Use `cf app APPNAME` to check your application's current memory and compute utilization.

requested state: started
instances: 1/1
usage: 128M x 1 instances
urls:
last uploaded: Wed Jul 22 20:09:56 UTC 2015

state since cpu memory disk
#0 running 2015-07-30 05:58:11 PM 0.0% 94.6M of 128M 80.4M of 128M

```shell
requested state: started
routes: test-python-flask-triumphant-springhare-yq.app.cloud.gov
last uploaded: Mon 09 Dec 15:51:15 EST 2024
stack: cflinuxfs4
buildpacks:
name version detect output buildpack name
python_buildpack 1.8.30 python python

type: web
sidecars:
instances: 1/1
memory usage: 256M
state since cpu memory disk details
#0 running 2024-12-09T20:51:30Z 0.0% 30.3M of 256M 217.2M of 2G
```

- Any application which exceeds its memory limit will be automatically restarted. Use `cf events APPNAME` to look for 'out of memory' crashes.

```shell
... description
... index: 0, reason: CRASHED, exit_description: out of memory, exit_status: 255
```
Loading