You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by je...@apache.org on 2004/03/14 20:08:07 UTC
cvs commit: httpd-2.0/server/mpm/prefork prefork.c
jerenkrantz 2004/03/14 11:08:07
Modified: server/mpm/prefork prefork.c
Log:
Improve helpfulness of error messages when accept mutex has a problem.
Revision Changes Path
1.291 +4 -2 httpd-2.0/server/mpm/prefork/prefork.c
Index: prefork.c
===================================================================
RCS file: /home/cvs/httpd-2.0/server/mpm/prefork/prefork.c,v
retrieving revision 1.290
retrieving revision 1.291
diff -u -u -r1.290 -r1.291
--- prefork.c 9 Feb 2004 20:40:51 -0000 1.290
+++ prefork.c 14 Mar 2004 19:08:07 -0000 1.291
@@ -485,7 +485,8 @@
status = apr_proc_mutex_child_init(&accept_mutex, ap_lock_fname, pchild);
if (status != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_EMERG, status, ap_server_conf,
- "Couldn't initialize cross-process lock in child");
+ "Couldn't initialize cross-process lock in child "
+ "(%s) (%d)", ap_lock_fname, ap_accept_lock_mech);
clean_child_exit(APEXIT_CHILDFATAL);
}
@@ -898,7 +899,8 @@
ap_accept_lock_mech, _pconf);
if (rv != APR_SUCCESS) {
ap_log_error(APLOG_MARK, APLOG_EMERG, rv, s,
- "Couldn't create accept lock");
+ "Couldn't create accept lock (%s) (%d)",
+ ap_lock_fname, ap_accept_lock_mech);
mpm_state = AP_MPMQ_STOPPING;
return 1;
}