httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From field...@hyperreal.org
Subject cvs commit: apache-devsite debugging.html
Date Fri, 09 Oct 1998 20:29:00 GMT
fielding    98/10/09 13:29:00

  Modified:    .        debugging.html
  Log:
  Add Dean's "MaxClients 1" suggestion.
  
  Revision  Changes    Path
  1.3       +5 -1      apache-devsite/debugging.html
  
  Index: debugging.html
  ===================================================================
  RCS file: /export/home/cvs/apache-devsite/debugging.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- debugging.html	1998/10/09 19:35:51	1.2
  +++ debugging.html	1998/10/09 20:28:59	1.3
  @@ -37,7 +37,11 @@
   <P>The only tricky part of running gdb on Apache is forcing the server
   into a single-process mode so that the parent process being debugged 
   does the request-handling work instead of forking child processes.
  -We have provided the <CODE>-X</CODE> option for that purpose.
  +We have provided the <CODE>-X</CODE> option for that purpose, which will
  +work fine for most cases.  However, some modules don't like starting
  +up with <CODE>-X</CODE>, but are happy if you force only one child to run
  +(using "<CODE>MaxClients 1</CODE>"); you can then use gdb's attach command
  +to debug the child server.
   
   <P>The following example, with <font color=green>user input in green</font>,
   shows the output of gdb run on a server executable (httpd) in the current
  
  
  

Mime
View raw message