httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paras Fadte" <plf...@gmail.com>
Subject [users@httpd] Re: Profiling apache 2.0.55 using Gprof
Date Thu, 24 Jul 2008 12:06:08 GMT
Hi,

Has anyone tried this "http://sam.zoy.org/writings/programming/gprof.html" ?

-Paras

On Wed, Jul 23, 2008 at 11:51 PM, Paras Fadte <plfgoa@gmail.com> wrote:
> Hi,
>
> I have been trying to profile apache 2.0.55 using Gprof by compiling
> it with "-g -pg" option.The mpm used is worker. MaxRequestsPerChild is
> changed to 1 in httpd.conf and I Start apache with "httpd -X" option
> and make a single and then stop it.The gmon.out file produced does
> show some details but when I make multiple requests say , 10 thousand
> requests , although the number of calls are recorded it doesn't show
> up time used by those function calls. It shows up as 0.00 . If the
> server takes lets say , 10 minutes to serve/process the ten thousand
> requests , shouldn't it be reflected in the gprof output also ? could
> it be multithreading issue because of  worker mpm? or does gprof only
> shows time for a single function call rather than a cumulative amount
> of time used by all the calls made to a function ?
>
> Any help will be appreciated and thanks in advance.
>
>
> -Paras
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message