<html><head></head><body>I run a server with 18 separate installs of ShinyCMS running, with at least 3 and sometimes 20 processes per install.  122 perl-fcgi processes in total.  They look a bit bigger than most of your processes. I&#39;ve got 8GB of RAM, and I&#39;m pushing up against the edges of it a bit, but I don&#39;t usually have any problems.<br>
<br>
Hope that&#39;s useful info!<br>
<br>
<br><br><div class="gmail_quote">On 11 June 2015 13:31:16 BST, Jesse Sheidlower &lt;jester@panix.com&gt; wrote:<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail"><br />Sysadmin-fu needed: I have a personal server in the cloud that has 1 GB<br />of RAM. It's running Debian, and the usual server basics--MySQL, nginx,<br />etc. No X, of course.<br /><br />There are three Catalyst apps running, all of them fairly small, using<br />nginx and FCGI (I run the MyApp_<a href="http://fastcgi.pl">fastcgi.pl</a> script to a socket, that<br />nginx then responds to). But they're taking up all the memory on the<br />system, and I can't run another Cat app (and sometimes even system<br />commands hang for lack of memory). I tried reducing --nproc to 1 for two<br />of the three apps that I'm the only one using (the other has --nproc 3).<br />The output of "top" with "M" (sorting by RES) looks like (I removed a<br />few columns for spacing):<br /><br />  PID USER     VIRT  RES  SHR S  %MEM    TIME+  COMMAND <br /><br />23766 www-data 440m 230m 2584 S  23.0   0:13.40 perl-fcgi         <br />16958 mysql    428m 188m    0 S  18.8 118:14.98
mysqld            <br />25992 www-data 375m 158m 2608 S  15.9   0:06.80 perl-fcgi         <br />26884 www-data 238m  80m 2616 S  8.0   0:01.61  perl-fcgi         <br /> 2513 www-data 282m  76m    0 S  7.7   0:06.01  perl-fcgi         <br /> 2512 www-data 182m  66m    0 S  6.6   0:00.00  perl-fcgi-pm [Library]<br /> 1825 www-data 172m  61m    0 S  6.1   0:03.44  perl              <br /> 2487 www-data 163m  46m   60 S  4.6   0:00.18  perl-fcgi-pm [CatSF]<br /> 1692 root     119m 5128  140 S  0.5   0:56.32  rsyslogd          <br />19998 www-data 79452 3296 1136 S 0.3   6:10.61  nginx             <br /> 2265 www-data 79768 3148  504 S 0.3  15:57.81  nginx <br />[...]<br /><br />Is this an expected or appropriate amount of memory usage? I appreciate<br />that 1GB isn't all that much memory nowadays, but this is a very lightly<br />loaded machine, and I don't want to pay a lot more for a larger cloud<br />server to handle this if it's not necessary.<br /><br />Thanks.<br /><br /><hr /><br
/>List: Catalyst@lists.scsys.co.uk<br />Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br />Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk">http://www.mail-archive.com/catalyst@lists.scsys.co.uk</a>/<br />Dev site: <a href="http://dev.catalyst.perl.org">http://dev.catalyst.perl.org</a>/<br /></pre></blockquote></div><br>
-- <br>
Sent from my phone. Please excuse typos, terseness, and top-posting.</body></html>