> Hello, > Is there any limitation about size when using raw device with ATS > 4.1.2 ? > I am trying to use FreeBSD 10 with an upto 8TB (single or multiple) > raw device volume (underlying is hardware RAID 5). > Best regards, > Denis
I've noticed that each device used might not exceed around 200 millions of direntries whatever the value of proxy.config.cache.min_average_object_size. In the system I am configuring, it works with 3 partitions of 2TB each and proxy.config.cache.min_average_object_size INT 12000, "http_stat" tells direntries.total=548862528. Dividing partition size by min_average_object_size gives approximately 183 millions of entries, so 3 partitions for less than 549 millions of direntries, it seems to be that, what do you think of it ? With proxy.config.cache.min_average_object_size INT 12000, if I give 2 partitions of 4TB each it doesn't work, here is the most revelant diag "cache disk operation failed WRITE -1 22" Regards, Denis ------------------------------------------------------ ==> manager.log <== [Jun 23 17:48:59.432] Server {0x804006400} NOTE: traffic server running [Jun 23 17:48:59.433] Server {0x804008400} WARNING: disk header different for disk /dev/da0p7: clearing the disk [Jun 23 17:48:59.433] Server {0x804009000} WARNING: disk header different for disk /dev/da0p8: clearing the disk ==> traffic.out <== [Jun 23 17:48:59.433] Server {0x80400a400} DEBUG: (cache_hosting) Volume: 1 Size: 8388352 [Jun 23 17:48:59.433] Server {0x80400a400} DEBUG: (cache_init) volume 1 [Jun 23 17:48:59.433] Server {0x80400a400} DEBUG: (cache_init) volume successfully filled from forced disks: volume_number=1 [Jun 23 17:48:59.434] Server {0x80400a400} DEBUG: (cache_hosting) Disk: 0: Vol Blocks: 1: Free space: 0 [Jun 23 17:48:59.434] Server {0x80400a400} DEBUG: (cache_hosting) Vol: 1 Size: 536870813 [Jun 23 17:48:59.434] Server {0x80400a400} DEBUG: (cache_hosting) Block No: 1 Size: 536870813 Free: 0 [Jun 23 17:48:59.434] Server {0x80400a400} DEBUG: (cache_hosting) Disk: 1: Vol Blocks: 1: Free space: 0 [Jun 23 17:48:59.434] Server {0x80400a400} DEBUG: (cache_hosting) Vol: 1 Size: 536870813 [Jun 23 17:48:59.434] Server {0x80400a400} DEBUG: (cache_hosting) Block No: 1 Size: 536870813 Free: 0 [Jun 23 17:48:59.434] Server {0x80400a400} DEBUG: (cache_init) Cache::open - proxy.config.cache.min_average_object_size = 12000 [Jun 23 17:48:59.436] Server {0x80400a400} DEBUG: (cache_init) allocating 3659112448 directory bytes for a 4398045700096 byte volume (0.083199%) ==> manager.log <== [Jun 23 17:48:59.436] Server {0x80400a400} NOTE: clearing cache directory '/dev/da0p7 802816:536870813' [Jun 23 17:49:02.869] Server {0x80400d400} WARNING: cache disk operation failed WRITE -1 22 [Jun 23 17:49:02.869] Server {0x804006400} WARNING: unable to clear cache directory '/dev/da0p7 802816:536870813' ==> traffic.out <== [Jun 23 17:49:02.872] Server {0x80400a400} DEBUG: (cache_init) allocating 3659112448 directory bytes for a 4398045700096 byte volume (0.083199%) ==> manager.log <== [Jun 23 17:49:02.872] Server {0x80400a400} NOTE: clearing cache directory '/dev/da0p8 802816:536870813' [Jun 23 17:49:06.367] Server {0x804010400} WARNING: cache disk operation failed WRITE -1 22 [Jun 23 17:49:06.368] Server {0x80400ac00} WARNING: unable to clear cache directory '/dev/da0p8 802816:536870813' ==> traffic.out <== [Jun 23 17:49:06.368] Server {0x80400b000} DEBUG: (cache_init) CacheProcessor::cacheInitialized - theCache, total_size = 1073741626 = 8388606 MB [Jun 23 17:49:06.368] Server {0x80400b000} DEBUG: (cache_init) CacheProcessor::cacheInitialized - failed to initialize the cache for http: cache disabled ==> manager.log <== [Jun 23 17:49:06.368] Server {0x80400b000} WARNING: failed to initialize the cache for http: cache disabled [Jun 23 17:49:06.368] Server {0x80400b000} NOTE: cache disabled