Request info

6 views
Skip to first unread message

Simon Macneall

unread,
Mar 17, 2014, 9:36:17 PM3/17/14
to phusion-...@googlegroups.com
Hi All,

We have a Rails app where something is using too much memory. I can see
using the passenger-memory-stats tool that we are using over 3gb in
private memory. Is there any way to track which requests a particular
passenger instance has served? I'm trying to work out where we are using
all the memory.

Cheers
Simon

Hongli Lai

unread,
Mar 27, 2014, 4:45:42 PM3/27/14
to phusion-passenger
You could modify your Rails/Rack logger to include the PID in its log messages. Passenger only allows you to see which requests are *currently* being handled, through passenger-status --show=requests.



Simon

--
You received this message because you are subscribed to the Google Groups "Phusion Passenger Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to phusion-passenger+unsubscribe@googlegroups.com.
To post to this group, send email to phusion-passenger@googlegroups.com.
Visit this group at http://groups.google.com/group/phusion-passenger.
To view this discussion on the web visit https://groups.google.com/d/msgid/phusion-passenger/op.xcv9er0vrqdk4p%40d-a017.forms.local.
For more options, visit https://groups.google.com/d/optout.



--
Phusion | Web Application deployment, scaling, and monitoring 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