You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl-cvs@perl.apache.org by ch...@locus.apache.org on 2000/06/02 19:06:40 UTC
cvs commit: modperl SUPPORT
cholet 00/06/02 10:06:39
Modified: . SUPPORT
Log:
add Doug's snippet about spinning processes
Revision Changes Path
1.15 +11 -0 modperl/SUPPORT
Index: SUPPORT
===================================================================
RCS file: /home/cvs/modperl/SUPPORT,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- SUPPORT 2000/03/03 00:30:52 1.14
+++ SUPPORT 2000/06/02 17:06:38 1.15
@@ -157,5 +157,16 @@
Rebuild httpd/mod_perl with PERL_DEBUG=1, let's see a new backtrace.
+
+=item SPINNING PROCESSES
+
+If a process is spinning (seemingly stuck in an endless loop, eating
+up all cpu), you can use gdb to find which Perl code is causing the
+spin:
+
+% gdb httpd <pid of spinning process>
+(gdb) source modperl_x.xx/.gdbinit
+(gdb) curinfo
+
=back