<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
-----BEGIN PGP SIGNED MESSAGE----- <br>
Hash: SHA256 <br>
<br>
Squid has its own in-memory cache, what's the point to put the disk
cache to the same ?!<br>
<br>
13.10.15 20:05, Nelson Manuel Marques пишет:<br>
<span style="white-space: pre;">><br>
> Hi all,<br>
><br>
> We have a squid running for quite a few years and with the
increase of<br>
> traffic we noticed a bit of I/O hammering on the squid server
(local<br>
> disks).<br>
><br>
> For some testing, I've made a small 1.2GB tmpfs and pointed
cache_dir<br>
> to it so that our cache would be in the 'ramdrive'.<br>
><br>
> This did help a lot with I/O, but squid eventually once in a
while<br>
> implodes when it fills 1.2GB of the ramdrive (cache_dir is
configured<br>
> for 1G, leaving 200MB free).<br>
><br>
> This is on a CentOS based system:<br>
><br>
> [####EDIT#### squid]# rpm -qi squid<br>
> Name : squid Relocations: (not<br>
> relocatable)<br>
> Version : 3.1.23 Vendor:
CentOS<br>
> Release : 9.el6 Build Date: Fri
24 Jul 2015<br>
> 09:59:03 AM WEST<br>
> Install Date: Tue 13 Oct 2015 02:31:20 PM WEST Build
Host:<br>
> c6b8.bsys.dev.centos.org<br>
> Group : System Environment/Daemons Source RPM:
squid-3.1.23<br>
> -9.el6.src.rpm<br>
> Size : 6649558 License: GPLv2
and<br>
> (LGPLv2+ and Public Domain)<br>
> Signature : RSA/SHA1, Fri 24 Jul 2015 09:39:20 PM WEST, Key
ID<br>
> 0946fca2c105b9de<br>
> Packager : CentOS BuildSystem
<a class="moz-txt-link-rfc2396E" href="http://bugs.centos.org"><http://bugs.centos.org></a><br>
> URL : <a class="moz-txt-link-freetext" href="http://www.squid-cache.org">http://www.squid-cache.org</a><br>
> Summary : The Squid proxy caching server<br>
> Description :<br>
><br>
> Anyone can help? Imagine I want to keep working on a ramdrive
with<br>
> 1.5G. How much can I get cache_dir configured with a safe
margin so it<br>
> doesnt fill the space?<br>
><br>
> Any options I should look over again which might help me
diagnose if it<br>
> happens again?<br>
><br>
> Kindest Regards,<br>
> NMM<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> squid-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:squid-users@lists.squid-cache.org">squid-users@lists.squid-cache.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.squid-cache.org/listinfo/squid-users">http://lists.squid-cache.org/listinfo/squid-users</a></span><br>
<br>
-----BEGIN PGP SIGNATURE-----
<br>
Version: GnuPG v2
<br>
<br>
iQEcBAEBCAAGBQJWHRO2AAoJENNXIZxhPexGl/gH/jR2oSVvX6AiRIVe+gCB1O9F
<br>
XB2UODRAAlvowF0wKW0Gccbpa9L3iiOJiYNKnomVMIzqwaRhqLeRXRk11kbwN/KP
<br>
/pEIfNOOYici9UzDIFb99ZOe/R0lR2YG4udCpCayb2+6GzbcAoX6F/4F+eMTIn7y
<br>
qgnvTNF9JQ1LEUxRtjSNG889RwA2ZKgw9nhhTP2PVFB1ttzP4BWy0nH5SRPkv/PR
<br>
VO2yZa5FQLTOyk4tEE8c3/b9DwDUiZKalqBEWdQNB6fQN2NH6dXe9jhEV25gcqI4
<br>
snS1fc6WTuM6pTVR8irtbSPQyw2jvRbzeEIOYM0z5cydhgqeqJg6eHgvCN3u93g=
<br>
=QjIl
<br>
-----END PGP SIGNATURE-----
<br>
<br>
</body>
</html>