httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 57023] Socache shmcb don't cache file bigger than 11k
Date Sun, 11 Oct 2015 01:04:26 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=57023

--- Comment #7 from Raphaƫl Droz <raphael.droz@gmail.com> ---
Using:
CacheSocache shmcb:/path/to/datafile(10485760)
I got a subcache_data_size of 61424 I needed.


Having "disk" enabled for / and "socache" for /*.svg I can see this kind of
things for a file of 600 kB
```
mod_cache_socache.c(394): AH02347: URL 'http://localhost/webfont.svg?' body
larger than limit, ignoring (143732 > 102400)
mod_cache.c(1332): AH00769: cache: Caching url: /webfont.svg
mod_cache.c(1338): AH00770: cache: Removing CACHE_REMOVE_URL filter.
mod_cache.c(1731): AH00777: cache: CACHE filter was added twice, or was added
where the cache has been bypassed and will be ignored: /webfont.svg
mod_cache_disk.c(1350): AH00737: commit_entity: Headers and body for URL
http://localhost/webfont.svg? cached.
```

I don't know if my configuration really requested to "cache twice", but the end
result is what I'd expect: cache_disk relaying cache_socache

This 102400 seems hardcoded somewhere.

**but**
trying to access a 75 kB file (greater than subcache_data_size but lower than
102400), I get:

```
cache_storage.c(664): AH00698: cache: Key for entity /style.css?(null) is
http://localhost/style.css?
mod_socache_shmcb.c(527): AH00835: socache_shmcb_retrieve (0x68 -> subcache
104)
mod_socache_shmcb.c(883): AH00851: shmcb_subcache_retrieve found no match
mod_socache_shmcb.c(537): AH00836: leaving socache_shmcb_retrieve successfully
mod_cache_socache.c(494): (70015)Could not find specified socket in poll list.:
AH02352: Key not found in cache: http://localhost/style.css?
mod_cache.c(502): AH00757: Adding CACHE_SAVE filter for /style.css
mod_cache.c(525): AH00758: Replacing CACHE with CACHE_SAVE filter for
/style.css
mod_cache.c(536): AH00759: Adding CACHE_REMOVE_URL filter for /style.css
mod_cache.c(1332): AH00769: cache: Caching url: /style.css
mod_cache.c(1338): AH00770: cache: Removing CACHE_REMOVE_URL filter.
mod_cache.c(1731): AH00777: cache: CACHE filter was added twice, or was added
where the cache has been bypassed and will be ignored: /style.css
mod_socache_shmcb.c(490): AH00831: socache_shmcb_store (0x68 -> subcache 104)
AH00844: inserting socache entry larger (76169) than subcache data area (61424)
AH00833: can't store an socache entry!
(28)No space left on device: AH02386: could not write to cache, ignoring:
http://localhost/style.css?
mod_socache_shmcb.c(552): AH00837: socache_shmcb_remove (0x68 -> subcache 104)
mod_socache_shmcb.c(566): AH00839: leaving socache_shmcb_remove successfully
```

cache_disk does *NOT* relay the socache (Apache 2.4.10)
(Although I understand it's not the main issue of this bug report)

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message