DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22900>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22900 Perl Scripts executing with debug mode "-w" using DBI causing child hangs Summary: Perl Scripts executing with debug mode "-w" using DBI causing child hangs Product: Apache httpd-2.0 Version: 2.0.47 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] We are running apache 2.0.47 compiled with prefork model. We are running with some modules static and some shared (Attached as APPENDIX A & B below). We are running a pretty standard CGI environment (No mod_perl or php) using perl 5.6.1 on Solaris 2.8. We have seen two examples where perl scripts have caused apache children and their forked off CGIs to hang indefinitely when there is a lot of debug output with perl -w in situations where DBI is used. For example, we have a script that was run with perl -w and includes DBI using a use statement (use DBI;) When the DBI call was made to fetch data, there were a lot of errors in regards to a particular variable being unitialized, pretty standard Perl error. However, with -w on, Apache hangs. With -w OFF, apache would not hang. There were some 600 rows fetched and Apache would hang somewhere around 160 rows. The same script, executed from the command line would execute fine each and every time. Also, the same script would execute fine from Apache 1.3.26. I can try to provide a script to reproduce this but it would have to include DBI Calls. I have created a script with no DBI calls which generates a ton of errors with perl -w and this only does not trigger the problem. The key element seems to be the DBI call. Any ideas? APPENDIX A - Modules compiled Static ===================================== core.c mod_access.c mod_auth.c mod_log_config.c mod_env.c mod_usertrack.c prefork.c http_core.c mod_mime.c mod_status.c mod_dir.c mod_imap.c mod_so.c APPENDIX B - Modules loaded at run-time ========================================= LoadModule ldap_module modules/mod_ldap.so LoadModule auth_ldap_module modules/mod_auth_ldap.so LoadModule include_module modules/mod_include.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_connect_module modules/mod_proxy_connect.so #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so #LoadModule proxy_http_module modules/mod_proxy_http.so <IfDefine SSL> LoadModule ssl_module modules/mod_ssl.so </IfDefine> LoadModule autoindex_module modules/mod_autoindex.so LoadModule asis_module modules/mod_asis.so LoadModule info_module modules/mod_info.so LoadModule cgi_module modules/mod_cgi.so LoadModule negotiation_module modules/mod_negotiation.so LoadModule actions_module modules/mod_actions.so LoadModule alias_module modules/mod_alias.so LoadModule rewrite_module modules/mod_rewrite.so --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
