You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Marion & Christophe JAILLET <ch...@wanadoo.fr> on 2014/10/05 22:13:02 UTC

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

Hi,

is it related to PR57023 ?

CJ

Le 05/10/2014 19:05, rjung@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=1629508&r1=1629507&r2=1629508&view=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=1629508&r1=1629507&r2=1629508&view=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, 60000000 };
> +    { 64, 2048, 60000000 };
>   
>       for (s = base_server; s; s = s->next) {
>           cache_socache_conf *conf =
>
>
>


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

Posted by Rainer Jung <ra...@kippdata.de>.
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 paste&copy 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