[Catalyst] how do i "truss" an catalyst FCGI worker process?

Matt S Trout dbix-class at trout.me.uk
Thu Nov 13 21:04:22 GMT 2008


On Wed, Oct 29, 2008 at 02:50:17PM +0300, Oleg Pronin wrote:
> Hi.
> 
> I need to inspect my fcgi process, so i tried to do
> truss -p <fcgi_worker_pid>
> But fcgi process immediately exits when "truss" just starts.
> 
> Does anyone know why does it happen and how to get it to work?

truss a separate copy fired up without -n against the same socket - then
you won't have the proc manager involved and the process won't exit. Since
it'll be sharing the socket with the rest of the fcgi procs it'll get its share of requests just the same, so the data should be just as valid.

-- 
      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/



More information about the Catalyst mailing list