Re: [phusion-passenger] passenger and apache memory usage

38 views
Skip to first unread message

Hongli Lai

unread,
Oct 6, 2012, 10:59:04 AM10/6/12
to phusion-...@googlegroups.com
This is normal and is not related to Phusion Passenger. This is just
how Apache's worker MPM works. You can tweak its behavior through the
worker MPM settings. Read the Apache docs about this.

On Sat, Oct 6, 2012 at 4:57 PM, S. Brent Faulkner <sbfau...@gmail.com> wrote:
> On a "CentOS release 6.2 (Final)" server (with Ruby 1.9.3 and Rails 3.2) and
> using more memory than expected.
>
> Looking at passenger-memory-stats I see a couple of HUGE httpd processes...
> any thoughts on how I can figure out what's going on and reduce the memory
> usage?
>
> Stats are included here... thanks!
>
> ---------- Apache processes -----------
> PID PPID VMSize Private Name
> ---------------------------------------
> 1371 1 202.1 MB 0.1 MB /usr/sbin/httpd
> 4573 1371 210.2 MB 5.0 MB /usr/sbin/httpd
> 4778 1371 202.5 MB 0.6 MB /usr/sbin/httpd
> 4780 1371 217.6 MB 9.4 MB /usr/sbin/httpd
> 4781 1371 217.1 MB 9.1 MB /usr/sbin/httpd
> 4856 1371 202.4 MB 0.5 MB /usr/sbin/httpd
> 4863 1371 204.1 MB 2.1 MB /usr/sbin/httpd
> 5027 1371 202.4 MB 0.5 MB /usr/sbin/httpd
> 5043 1371 202.4 MB 0.4 MB /usr/sbin/httpd
> 5044 1371 205.5 MB 2.7 MB /usr/sbin/httpd
> 5072 1371 202.4 MB 0.5 MB /usr/sbin/httpd
> 5084 1371 202.4 MB 0.5 MB /usr/sbin/httpd
> 32111 1371 1297.0 MB 246.5 MB /usr/sbin/httpd
> 32579 1371 1914.3 MB 215.5 MB /usr/sbin/httpd
> ### Processes: 14
> ### Total private dirty RSS: 493.42 MB
>
>
> -------- Nginx processes --------
>
> ### Processes: 0
> ### Total private dirty RSS: 0.00 MB
>
>
> ----- Passenger processes -----
> PID VMSize Private Name
> -------------------------------
> 4180 280.5 MB 24.4 MB Passenger ApplicationSpawner:
> /var/www/apps/people/current
> 4345 309.5 MB 53.4 MB Rack: /var/www/apps/people/current
> 4800 300.2 MB 55.2 MB Rack: /var/www/apps/people/current
> 4808 297.8 MB 52.5 MB Rack: /var/www/apps/people/current
> 4815 297.4 MB 52.4 MB Rack: /var/www/apps/people/current
> 4822 302.7 MB 55.6 MB Rack: /var/www/apps/people/current
> 22780 209.0 MB 0.0 MB PassengerWatchdog
> 22783 991.5 MB 1.3 MB PassengerHelperAgent
> 22785 113.4 MB 1.1 MB Passenger spawn server
> 22788 144.6 MB 0.0 MB PassengerLoggingAgent
> 22911 310.4 MB 64.0 MB Rack: /var/www/apps/people/current
> 22939 311.6 MB 53.5 MB Rack: /var/www/apps/people/current
> 26175 304.1 MB 55.8 MB Rack: /var/www/apps/people/current
> 26182 310.4 MB 44.0 MB Rack: /var/www/apps/people/current
> ### Processes: 14
> ### Total private dirty RSS: 513.24 MB
>
> --
> You received this message because you are subscribed to the Google Groups
> "Phusion Passenger Discussions" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/phusion-passenger/-/Wt-4u_PTJEEJ.
> To post to this group, send email to phusion-...@googlegroups.com.
> To unsubscribe from this group, send email to
> phusion-passen...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/phusion-passenger?hl=en.



--
Phusion | Ruby & Rails deployment, scaling and tuning solutions

Web: http://www.phusion.nl/
E-mail: in...@phusion.nl
Chamber of commerce no: 08173483 (The Netherlands)
Reply all
Reply to author
Forward
0 new messages