[Catalyst] Memory usage with FCGI? Server running out of RAM

2015-06-11 Thread Jesse Sheidlower
Sysadmin-fu needed: I have a personal server in the cloud that has 1 GB of RAM. It's running Debian, and the usual server basics--MySQL, nginx, etc. No X, of course. There are three Catalyst apps running, all of them fairly small, using nginx and FCGI (I run the MyApp_fastcgi.pl script to a

Re: [Catalyst] Memory usage with FCGI? Server running out of RAM

2015-06-11 Thread Denny
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've got 8GB of RAM, and I'm pushing up against the edges of it a bit, but I don't

Re: [Catalyst] Memory usage with FCGI? Server running out of RAM

2015-06-11 Thread Lasse Makholm
In my experience, it's usually a few naughty requests that gobble up a lot of memory. We found it useful to record process vsize and rss at the beginning and end of the request cycle to generate warnings like this: Warning: PID 28710 grew rss by 20% from 42 MiB to 51 MiB serving GET