You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2014/01/25 07:06:54 UTC
svn commit: r1561262 - in /httpd/httpd/trunk:
docs/log-message-tags/next-number modules/slotmem/mod_slotmem_shm.c
Author: jim
Date: Sat Jan 25 06:06:54 2014
New Revision: 1561262
URL: http://svn.apache.org/r1561262
Log:
More debug messaging... useful for tracking down
if we used attach or create
Modified:
httpd/httpd/trunk/docs/log-message-tags/next-number
httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c
Modified: httpd/httpd/trunk/docs/log-message-tags/next-number
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/log-message-tags/next-number?rev=1561262&r1=1561261&r2=1561262&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/log-message-tags/next-number (original)
+++ httpd/httpd/trunk/docs/log-message-tags/next-number Sat Jan 25 06:06:54 2014
@@ -1 +1 @@
-2598
+2601
Modified: httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c?rev=1561262&r1=1561261&r2=1561262&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c (original)
+++ httpd/httpd/trunk/modules/slotmem/mod_slotmem_shm.c Sat Jan 25 06:06:54 2014
@@ -381,6 +381,9 @@ static apr_status_t slotmem_create(ap_sl
rv = APR_EINVAL;
}
if (rv == APR_SUCCESS) {
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02598)
+ "looks like apr_shm_attach() worked...");
+
/* check size */
if (apr_shm_size_get(shm) != size) {
apr_shm_detach(shm);
@@ -393,8 +396,12 @@ static apr_status_t slotmem_create(ap_sl
return APR_EINVAL;
}
ptr += AP_SLOTMEM_OFFSET;
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02599)
+ "apr_shm_attach() for sure worked...");
}
else {
+ ap_log_error(APLOG_MARK, APLOG_DEBUG, 0, ap_server_conf, APLOGNO(02600)
+ "doing a real apr_shm_create()...");
apr_size_t dsize = size - AP_SLOTMEM_OFFSET;
if (fbased) {
apr_shm_remove(fname, gpool);