Comments for TrafeX is blogging.com http://www.trafexisblogging.com Fri, 17 May 2013 14:59:18 +0000 hourly 1 https://wordpress.org/?v=4.4.2 Comment on How to debug a segmentation fault caused by PHP by greenone http://www.trafexisblogging.com/2009/12/how-to-debug-a-segmentation-fault-caused-by-php/comment-page-1/#comment-659 Fri, 17 May 2013 14:59:18 +0000 http://www.trafexisblogging.com/?p=159#comment-659 hi, just a tipp:

sudo nano /usr/sbin/apache2ctl

look for the definition of “start”, e.g:

start)
mkdir -p ${APACHE_RUN_DIR:-/var/run/apache2}
mkdir_chown ${APACHE_RUN_USER:-www-data} ${APACHE_LOCK_DIR:-/var/lock/apache2}
# ssl_scache shouldn’t be here if we’re just starting up.
# (this is bad if there are several apache2 instances running)
rm -f ${APACHE_RUN_DIR:-/var/run/apache2}/*ssl_scache*
$HTTPD ${APACHE_ARGUMENTS} -k $ARGV
ERROR=$?
;;

copy it and replace “-k $ARGV” with “-X -k start”

not stop apache and use apache2ctl debug to run it in debug mode

]]>
Comment on How to debug a segmentation fault caused by PHP by Kamal Kishore http://www.trafexisblogging.com/2009/12/how-to-debug-a-segmentation-fault-caused-by-php/comment-page-1/#comment-652 Thu, 03 Jan 2013 06:59:32 +0000 http://www.trafexisblogging.com/?p=159#comment-652 @Martin: i had the same problem and i changed the User and Group to www-data in apache2.conf file

]]>
Comment on How to debug a segmentation fault caused by PHP by Laurent Sarrazin http://www.trafexisblogging.com/2009/12/how-to-debug-a-segmentation-fault-caused-by-php/comment-page-1/#comment-648 Thu, 14 Jun 2012 14:19:58 +0000 http://www.trafexisblogging.com/?p=159#comment-648 Thanks. It’s been useful.

]]>
Comment on MySQL profiler by Peter http://www.trafexisblogging.com/2009/03/mysql-profiler/comment-page-1/#comment-646 Wed, 02 Nov 2011 10:48:34 +0000 http://www.trafexisblogging.com/?p=127#comment-646 Have you tried Jet Profiler for MySQL, it is also nice:

http://www.jetprofiler.com

It shows graphical information on queries and execution diagrams.

But it does not have the detail you are showing here, like seeing that “Sending data” is the bottleneck step when executing the query above.

Thanks. Peter.

]]>
Comment on How to debug a segmentation fault caused by PHP by Martin http://www.trafexisblogging.com/2009/12/how-to-debug-a-segmentation-fault-caused-by-php/comment-page-1/#comment-642 Mon, 20 Dec 2010 13:48:15 +0000 http://www.trafexisblogging.com/?p=159#comment-642 Thanks for this useful info. However, when I call apache2 -X on debian lenny it tells me “apache2: bad user name ${APACHE_RUN_USER}”.

]]>
Comment on Extend LVM with new physical disk by Shothrorrix http://www.trafexisblogging.com/2009/03/extend-lvm-with-new-physical-disk/comment-page-1/#comment-631 Sat, 12 Dec 2009 07:03:34 +0000 http://www.trafex.nl/2009/03/lvm-extend-with-new-disk/#comment-631 Phat post, great looking weblog, added it to my favs.

]]>
Comment on Running processes as background jobs by Redirect output to file « Tnoergaard’s Blog http://www.trafexisblogging.com/2009/03/running-processes-as-background-jobs/comment-page-1/#comment-628 Wed, 07 Oct 2009 23:52:55 +0000 http://www.trafex.nl/?p=108#comment-628 […] this with ‘running processes as background jobs ‘ and you can run your scripts/command in the background but still be able to watch the progress […]

]]>
Comment on Running processes as background jobs by Alex Kamsteeg http://www.trafexisblogging.com/2009/03/running-processes-as-background-jobs/comment-page-1/#comment-8 Tue, 03 Mar 2009 13:03:34 +0000 http://www.trafex.nl/?p=108#comment-8 Screen is also a handy utility to put processes to the background. You can connect later to see it’s output, the job keeps running when you are logged out, etc.

]]>
Comment on Extend a ext3 volume with LVM by TrafeX http://www.trafexisblogging.com/2009/02/extend-ext3-with-lvm/comment-page-1/#comment-3 Fri, 20 Feb 2009 12:42:41 +0000 http://www.trafex.nl/?p=27#comment-3 @Benny Chitambira
Yes you can, I’ve done it. The output you see above is really the root (/ is mounted on /dev/VolGroup00/os) filesystem. I haven’t umount it, and it worked without any problems. The server is still running fine :)

]]>
Comment on Extend a ext3 volume with LVM by Benny Chitambira http://www.trafexisblogging.com/2009/02/extend-ext3-with-lvm/comment-page-1/#comment-2 Thu, 19 Feb 2009 17:07:05 +0000 http://www.trafex.nl/?p=27#comment-2 You cannot actually do this on a live root filesystem (while its mounted) You can resize other lv’s but not /dev/VolGroup/root unless your do pivot to another temporary root, resize your root, then pivot back to your original root.

]]>