Edit History Actions Discussion

Diff for "Info/ResourceLimits"

Differences between revisions 5 and 6
Revision 5 as of 2012-08-20 17:49:24
Size: 1694
Editor: independence
Comment:
Revision 6 as of 2017-10-04 11:28:58
Size: 1695
Editor: nistur
Comment: Fix typo: backgroup -> background
Deletions are marked like this. Additions are marked like this.
Line 22: Line 22:
Blinkenshell counts an end-user application like a background process, for example irssi or an email client. Helper utilities like screen, tmux, sshd or bash does not count towards to limit on backgroup processes. For example, it's ok to run a screen with one irssi instance and one alpine instance on a free account. Blinkenshell counts an end-user application like a background process, for example irssi or an email client. Helper utilities like screen, tmux, sshd or bash does not count towards to limit on background processes. For example, it's ok to run a screen with one irssi instance and one alpine instance on a free account.

Resource Limits

Blinkenshell has some limits on process and memory usage to make sure a single user does not bring down the entire machine. Some limits are higher on supporter accounts.

Type

Free account limit

Supporter account limit

Memory usage (RSS)

32 MB

128 MB

Addressable virtual memory

256 MB

256 MB

Number of open files

128

256

Number of processes

25

50

SSH sessions

6

6

File size

256MB

256MB

Background processes

2

5

Memory limit

The memory limit is based on Resident Set Size (RSS) memory by using Linux cgroups feature. A free account can use 32 MB of RSS memory and a few MB swap. It's not a good idea to use 100% of the limit, for the same reason as you would not run your desktop computer at 100% memory usage. Keep below 80% memory usage to avoid warnings. If you get near the limit some programs will start to swap out, and everything will get very slow. If you hit the hard limit some of your processess will be killed according to the Linux OOM killer score.

You can show your current memory usage with the command showmem

Background processes

Blinkenshell counts an end-user application like a background process, for example irssi or an email client. Helper utilities like screen, tmux, sshd or bash does not count towards to limit on background processes. For example, it's ok to run a screen with one irssi instance and one alpine instance on a free account.


CategoryInfo