v1

Scale /

Increase CPU and memory resources

You can increase the proportion of CPU and memory dedicated to a service on the resources page, available for all Northflank services.

Increasing the CPU share, or assigning one or multiple CPUs, and memory size can be useful if builds are taking a long time or if your service is handling intensive tasks.

Selecting the compute plan for a deployment service in the Northflank application

See Northflank pricing plans for CPU and memory resources.

Increase Docker SHM size

You can configure the amount of available memory-backed disk space available to /dev/shm from the resources page of combined services, deployment services, and jobs. The default SHM size assigned to containers is 64MB.

Using /dev/shm/ can significantly increase performance over using /tmp for I/O intensive processes.

Writing to /dev/shm will incur memory usage of the container. With insufficient container resources this may lead to out-of-memory conditions and crash your container.

© 2024 Northflank Ltd. All rights reserved.