[Rt-devel] profiling rt with fastcgi

Ruslan Zakirov ruslan.zakirov at gmail.com
Sat Aug 12 02:30:03 EDT 2006


On 7/25/06, Boldra <paul at boldra.com> wrote:
> 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 http://wiki.bestpractical.com/?Debug later when you'll
get results.

>
> Has anyone got any suggestions for this?
>
> Paul Boldra
> Ticketsystem.de
> _______________________________________________
> List info: http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-devel
>
> Best Practical is hiring! Come hack Perl for us: http://bestpractical.com/about/jobs.html
>


-- 
Best regards, Ruslan.


More information about the Rt-devel mailing list