Profiling rt with fastcgi

I know this isn’t really an RT question, but I thought some people here
must have some experience with this;

How can I do performance profiling (eg dprof) with fastcgi? I’ve tried
simply adding dprof to mason_handler.fcgi , but the tmon file I get is
corrupt - I suspect because multiple processes are writing to the file
simultaneously.

I know I could set up an similar environment using mod_perl and then use
apache::dprof, which would give me some idea, or I could just use
standalone_httpd, but I’d much prefer to get some numbers from our
production environment, which uses fastcgi.

Has anyone got any suggestions for this?

Paul Boldra
Ticketsystem.de

I know this isn’t really an RT question, but I thought some people here
must have some experience with this;

How can I do performance profiling (eg dprof) with fastcgi? I’ve tried
simply adding dprof to mason_handler.fcgi , but the tmon file I get is
corrupt - I suspect because multiple processes are writing to the file
simultaneously.
you need run perl exit function to get correct file. I use
local/html/exit.html with content:
<%INIT>
exit(0);
</%INIT>

I know I could set up an similar environment using mod_perl and then use
apache::dprof, which would give me some idea, or I could just use
standalone_httpd, but I’d much prefer to get some numbers from our
production environment, which uses fastcgi.
Most probably you have to run apache and fastcgi in one process mode.

Please update Request Tracker Wiki later when you’ll
get results.

Has anyone got any suggestions for this?

Paul Boldra
Ticketsystem.de


List info: The rt-devel Archives

Best Practical is hiring! Come hack Perl for us: Careers — Best Practical Solutions

Best regards, Ruslan.