<?xml version="1.0" encoding="utf-8"?><!DOCTYPE article  PUBLIC '-//OASIS//DTD DocBook XML V4.4//EN'  'http://www.docbook.org/xml/4.4/docbookx.dtd'><article><articleinfo><title>Info/ResourceLimits</title><revhistory><revision><revnumber>9</revnumber><date>2023-08-10 08:50:49</date><authorinitials>independence</authorinitials></revision><revision><revnumber>8</revnumber><date>2021-03-29 17:37:12</date><authorinitials>independence</authorinitials></revision><revision><revnumber>7</revnumber><date>2021-02-27 19:08:17</date><authorinitials>independence</authorinitials></revision><revision><revnumber>6</revnumber><date>2017-10-04 11:28:58</date><authorinitials>nistur</authorinitials><revremark>Fix typo: backgroup -&gt; background</revremark></revision><revision><revnumber>5</revnumber><date>2012-08-20 17:49:24</date><authorinitials>independence</authorinitials></revision><revision><revnumber>4</revnumber><date>2012-02-04 10:57:09</date><authorinitials>independence</authorinitials><revremark>higher limits</revremark></revision><revision><revnumber>3</revnumber><date>2011-08-08 08:59:31</date><authorinitials>independence</authorinitials><revremark>48 -&gt; 64MB on RSS on supporter</revremark></revision><revision><revnumber>2</revnumber><date>2011-01-15 17:10:05</date><authorinitials>independence</authorinitials></revision><revision><revnumber>1</revnumber><date>2010-11-15 20:49:27</date><authorinitials>independence</authorinitials></revision></revhistory></articleinfo><section><title>Resource Limits</title><para>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 <ulink url="http://ipv6.blinkenshell.org/wiki/Info/ResourceLimits/wiki/Info/Supporter#">supporter</ulink> accounts. </para><informaltable><tgroup cols="3"><colspec colname="col_0"/><colspec colname="col_1"/><colspec colname="col_2"/><tbody><row rowsep="1"><entry colsep="1" rowsep="1"><para><emphasis role="strong">Type</emphasis></para></entry><entry colsep="1" rowsep="1"><para><emphasis role="strong">Free account limit</emphasis></para></entry><entry colsep="1" rowsep="1"><para><emphasis role="strong">Supporter account limit</emphasis></para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Memory usage (RSS)</para></entry><entry colsep="1" rowsep="1"><para>128 MB</para></entry><entry colsep="1" rowsep="1"><para>256 MB</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Number of open files</para></entry><entry colsep="1" rowsep="1"><para>128</para></entry><entry colsep="1" rowsep="1"><para>128</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Number of processes</para></entry><entry colsep="1" rowsep="1"><para>100</para></entry><entry colsep="1" rowsep="1"><para>100</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>SSH sessions</para></entry><entry colsep="1" rowsep="1"><para>6</para></entry><entry colsep="1" rowsep="1"><para>6</para></entry></row><row rowsep="1"><entry colsep="1" rowsep="1"><para>Background processes</para></entry><entry colsep="1" rowsep="1"><para>2 </para></entry><entry colsep="1" rowsep="1"><para>5 </para></entry></row></tbody></tgroup></informaltable><section><title>Memory limit</title><para>The memory limit is based on <ulink url="http://ipv6.blinkenshell.org/wiki/Info/ResourceLimits/wiki/Howto/ProcessManagement#Memory_usage">Resident Set Size (RSS)</ulink> memory by using Linux cgroups feature. A free account can use 128 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.  </para><para>You can show your current memory usage with the command <code>showmem</code> </para></section><section><title>Background processes</title><para>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. </para></section><section><title>Links</title><itemizedlist><listitem><para><ulink url="http://ipv6.blinkenshell.org/wiki/Info/ResourceLimits/wiki/Info/DiskQuota#">Info/DiskQuota</ulink> </para></listitem><listitem><para><ulink url="http://www.mjmwired.net/kernel/Documentation/cgroups/memory.txt"/> </para></listitem><listitem><para><ulink url="http://linux-mm.org/OOM_Killer"/> </para></listitem></itemizedlist><!--rule (<hr>) is not applicable to DocBook--><para> <ulink url="http://ipv6.blinkenshell.org/wiki/Info/ResourceLimits/wiki/CategoryInfo#">CategoryInfo</ulink> </para></section></section></article>