[Mod_log_sql] Apache is restarting after a few minutes

Edward Rudd urkle at outoforder.cc
Thu May 26 09:03:42 EST 2005


webmaster at gleitgeb.at wrote:

> Hi everybody,
>  
> I hope someone here can help me.
> I didn't get an answer of Brian Thurlow who released the windows 
> version of mod_log_sql.
>  
> I'm running a webserver on Windows 2000 Professional
> Apache 2.0.54
> PHP 5.0.3
> MySQL 4.1.8
>  
> I have a problem with mod_log_sql.
>  

[snip]

>  
> If I disable mod_log_sql everything works fine.
>  
> Do anyone of you have an idea what can cause this problem?
> What does "mysql_query returned (1)" mean?
>  

This is the mysql error code that was returned.  Try looking in the 
mysql API documentation as to what error code 1 is. My guess is it's due 
to the win32 build of apache being threaded.  I still have a few more 
things to add into mod_log_sql to get it running nicely in a threaded 
environment.

> I also tried the debug mode but there was no depending additional 
> information in the logfile.
>  
> I hope for a fast answer.

Right now I am playing with some connection pooling libraries, of which 
I will be encorporating into mod_log_sql in the next release.  This will 
greatly assist in resolving this issue.

>  
> Best regards
> Günther Leitgeb
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Download the latest version at http://www.outoforder.cc/projects/apache/mod_log_sql/
>
>To unsubscribe send an e-mail to 
>mod_log_sql-unsubscribe at lists.outoforder.cc
>  
>




More information about the Mod_log_sql mailing list