Re: svn commit: r1629508 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache_socache.c

2014-10-06 Thread Rainer Jung

Am 05.10.2014 um 22:13 schrieb Marion  Christophe JAILLET:

Hi,

is it related to PR57023 ?


Maybe, but that wasn't the reason for me to commit this.

I had a look at mod_cache_socache some weeks ago and stumbled over this 
probably pastecopy variant of hints and just now remembered that I 
wanted to at least increase the expected avg. size from 32 bytes to 
something more reasonable.


I'm not aware of that hint resulting in a max cacheable object size, but 
I haven't look for that.


Regards,

Rainer



Re: svn commit: r1629508 - in /httpd/httpd/trunk: CHANGES modules/cache/mod_cache_socache.c

2014-10-05 Thread Marion Christophe JAILLET

Hi,

is it related to PR57023 ?

CJ

Le 05/10/2014 19:05, rj...@apache.org a écrit :

Author: rjung
Date: Sun Oct  5 17:05:21 2014
New Revision: 1629508

URL: http://svn.apache.org/r1629508
Log:
mod_cache_socache: Change average object size
hint from 32 bytes to 2048 bytes.

Modified:
 httpd/httpd/trunk/CHANGES
 httpd/httpd/trunk/modules/cache/mod_cache_socache.c

Modified: httpd/httpd/trunk/CHANGES
URL: 
http://svn.apache.org/viewvc/httpd/httpd/trunk/CHANGES?rev=1629508r1=1629507r2=1629508view=diff
==
--- httpd/httpd/trunk/CHANGES [utf-8] (original)
+++ httpd/httpd/trunk/CHANGES [utf-8] Sun Oct  5 17:05:21 2014
@@ -1,6 +1,9 @@
   -*- coding: utf-8 -*-
  Changes with Apache 2.5.0
  
+  *) mod_cache_socache: Change average object size hint from 32 bytes to

+ 2048 bytes.  [Rainer Jung]
+
*) mod_cache_socache: Add cache status to server-status.  [Rainer Jung]
  
*) mod_ssl: Move OCSP stapling information from a per-certificate store to


Modified: httpd/httpd/trunk/modules/cache/mod_cache_socache.c
URL: 
http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/cache/mod_cache_socache.c?rev=1629508r1=1629507r2=1629508view=diff
==
--- httpd/httpd/trunk/modules/cache/mod_cache_socache.c (original)
+++ httpd/httpd/trunk/modules/cache/mod_cache_socache.c Sun Oct  5 17:05:21 2014
@@ -1450,7 +1450,7 @@ static int socache_post_config(apr_pool_
  apr_status_t rv;
  const char *errmsg;
  static struct ap_socache_hints socache_hints =
-{ 64, 32, 6000 };
+{ 64, 2048, 6000 };
  
  for (s = base_server; s; s = s-next) {

  cache_socache_conf *conf =