Re: [VOTES] please, 2.2.3, 2.0.59, 1.3.37 releases ASAP

2006-07-27 Thread Matty


On Fri, 28 Jul 2006, Ruediger Pluem wrote:




On 07/27/2006 08:37 PM, William A. Rowe, Jr. wrote:


 [+1]  httpd-2.2.3


Working awesome on x86 Solaris 10. Thanks for getting the updates out so 
quickly.


- Ryan
--
UNIX Administrator
http://prefetch.net



Re: [EMAIL PROTECTED] Re: debug apache

2006-06-18 Thread Matty


On Sun, 18 Jun 2006, Ruediger Pluem wrote:


On 06/18/2006 02:49 PM, Mathieu CARBONNEAUX wrote:

i think is very usefull to have this in production environment... to debug 
probleme without interupting production... in only up the log level with 
reload...
with strace you must restart apache with strace...and for desactivating it you 
must restart... in some production environement is not acceptable...


Why that? You can attach strace to running processes, provided that you have 
appropriate permissions on this process. So
you might need root access for this.

Of course I admit that the strace / ltrace output is generic and a more 
specific output by logging inside the hooks
could provide better information.


If you have a Solaris 10 host handy, you can get at this information with 
the DTrace pid provider. It allows you to enable probes dynamically on 
user-level functions, and is an invaluable tool for debugging stuff in 
production.


- Ryan
--
UNIX Administrator
http://daemons.net/~matty



Re: Troubles debuging module

2006-02-13 Thread Matty


On Thu, 9 Feb 2006, Maxime Petazzoni wrote:


Hi,

* Miroslav Maiksnar [EMAIL PROTECTED] [2006-02-09 07:05:48]:


I'm trying debug mod_spnego in gdb, but it looks apache2 does not load debug
info for module (I can't see source). What is the proper way to debug apache
modules using debuger?


I typically add --enable-maintainer-mode to the configure line to enable 
debugging symbols.


Hope this helps,
- Ryan
--
UNIX Administrator
http://daemons.net/~matty


RAISE_SIGSTOP macro

2005-12-30 Thread Matty


Howdy,

While reviewing the make_child code in prefork.c, I came across the 
RAISE_SIGSTOP macro. It looks like this macro allows you to utilize gdb to 
attach at specific locations based on the value of raise_sigstop_flags. I 
checked through the mailing list archives and saw that this code was

committed by Dean Gaudet:

http://216.239.51.104/search?q=cache:N9zuszgPn0IJ:www.mailarchives.org/list/apache_dev/msg/1997/13196+apache+RAISE_SIGSTOPhl=en

For whatever reason the '-Z' option has been removed from main.c, but the 
code that relies on this option still exists. Does anyone happen to know 
if this code is still used for debugging?


Thanks for any insight,
- Ryan
--
UNIX Administrator
http://daemons.net/~matty