[squid-users] I see this error in cache.log file no free membufs

From: Ragheb Rustom <ragheb_at_smartelecom.org>
Date: Wed, 20 Jul 2011 22:21:49 +0300

Dear All,

I have a squid cache proxy which is delivering content to around 3000+
users. After some problems with performance on AUFS under peak hour loads I
have used one of my cache_dirs as COSS disk following Amos Settings on
squid-cache website while left all others as AUFS that hold files bigger
than 1MB. After running perfectly for some time with coss and very beautiful
results I started seeing the below messages in my cache.log file:

storeCossCreateMemOnlyBuf: no free membufs.  You may need to increase the
value of membufs on the /cache3/coss1 cache_dir

here are my squid.conf settings:

cache_dir coss /cache3/coss1 110000 max-size=1048575 max-stripe-waste=32768
block-size=8192 membufs=15
cache_dir aufs /cache1 115000 16 256 min-size=1048576
cache_dir aufs /cache2 115000 16 256 min-size=1048576
cache_dir aufs /cache4/cache1 240000 16 256 min-size=1048576

Please note all my Hdds are SAS 15k drives sizes as follows:

/cache1                                147GB
/cache2                                147GB
/cache3                                147GB
/cache4                                450GB

The system is dual Xeon quad core intel server with 16GB of physical Ram

Do you think I should increase the membufs value and what do you think the
best or optimal value for a such system should be?

Sincerely,

Ragheb Rustom
Smart Telecom S.A.R.L
Received on Wed Jul 20 2011 - 19:22:07 MDT

This archive was generated by hypermail 2.2.0 : Thu Jul 21 2011 - 12:00:07 MDT