Cache: Update comments and examples in proxy/config/storage.config
------------------------------------------------------------------
Key: TS-47
URL: https://issues.apache.org/jira/browse/TS-47
Project: Traffic Server
Issue Type: Bug
Components: Cache
Affects Versions: 2.0a
Environment: All Linux
Reporter: George Paul
Priority: Trivial
Updating the comments and examples in proxy/config/storage.config to reflect
how to use a file for cache storage and also that support for O_DIRECT exists
for kernels >= 2.6.3. "Raw device" support has been declared obsolete since
kernel 2.6.3. http://lkml.org/lkml/2007/2/16/431 in favor of 'O_DIRECT' flag
which is in Jira TS-13.
Using a file for the cache storage:
<pathname> <size>
Where 'pathname' is full path to the directory where you want the cache-file to
live and 'size' is size in bytes
Example: 128MB cache file(/usr/local/trafficserver/cache/cache.db)
/usr/local/trafficserver/cache 134217728
Example: Using O_DIRECT on disks (kernel >= 2.6.3) or cooked disks (kernel <
2.6.3)
/dev/sdb # 250GB drive
/dev/sdc # 250GB drive
/dev/sdd # 500GB drive
-George
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.