JustinM01 Posted February 4, 2008 Share Posted February 4, 2008 Hi all, First off, I want to say that I'm basically a newb when it comes to apache and linux. Having said, that I'm wondering how to profile apache using valgrind. Basically, this is what I'm trying now: valgrind --tool=callgrind --dump-instr=yes --trace-jump=yes -v /usr/local/apache2/bin/httpd -X I then use kcachegrind to view the .out file. Unforunately, the callgraph is just filled with things and when I look at the side bar I really don't see anything related to the MySQL stuff my site uses, i.e. connecting to, querying. if you follow this link: http://talks.php.net/show/oscon06/6 it'll show you what I was hoping to get. Maybe I'm not using kcachegrind right, but, I don't know. Any help would be appriciated. Link to comment https://forums.phpfreaks.com/topic/89444-solved-profiling-apache/ Share on other sites More sharing options...
powerspike Posted February 6, 2008 Share Posted February 6, 2008 I've never used that myself, but you might want to have a lok at xdebug, it has a plugin that loads into apache/php and you can get get profilling information straight from it, i haven't used that one personaly, i've only used the zend debugger & profiler myself (which is great) but you need to buy a copy of zend studio for it (AFAIK). Link to comment https://forums.phpfreaks.com/topic/89444-solved-profiling-apache/#findComment-459552 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.