You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@trafficserver.apache.org by James Chris Beaver <be...@algonquincollege.com> on 2011/12/21 19:16:35 UTC
How to check storage in traffic server.
Hello Folks,
Is there anyway within the traffic server app to check if raw disks are actually viewable/usable by the application? I have tried looking at the show:cache-stats in the shell and I am definitely not seeing the cache size that I anticipated however I was hoping there was a more direct way to see available storage.
Thanks in advance.
--
Chris Beaver
UNIX Systems Administrator, ITS - Algonquin College
1385 Woodroffe Ave
Ottawa, ON K2G 1V8
email: beaverj@algonquincollege.com<ma...@algonquincollege.com>
phone: (613) 727-4723 x 5385
fax: (613) 727-7719
RE: How to check storage in traffic server.
Posted by James Chris Beaver <be...@algonquincollege.com>.
I think I may have found the answer to this out: If there are any issues accessing your raw disks, ATS will log this to traffic.out. In my case it looks like this:
[Dec 21 16:32:05.391] Server {47919493290496} WARNING: unable to open '/dev/raw/raw1': -13, Permission denied
[Dec 21 16:32:05.391] Server {47919493290496} WARNING: could not initialize storage "/dev/raw/raw1" [unable to open]
[Dec 21 16:32:05.391] Server {47919493290496} WARNING: unable to open '/dev/raw/raw2': -13, Permission denied
[Dec 21 16:32:05.391] Server {47919493290496} WARNING: could not initialize storage "/dev/raw/raw2" [unable to open]
[Dec 21 16:32:05.391] Server {47919493290496} WARNING: unable to open '/dev/raw/raw3': -13, Permission denied
[Dec 21 16:32:05.391] Server {47919493290496} WARNING: could not initialize storage "/dev/raw/raw3" [unable to open]
[Dec 21 16:32:05.391] Server {47919493290496} WARNING: no cache disks specified in /usr/local/etc/trafficserver/storage.config: cache disabled
[Dec 21 16:32:05.403] Server {47919493290496} NOTE: cache clustering disabled
[Dec 21 16:32:05.403] Server {47919493290496} WARNING: unable to open cache disk(s): Cache Disabled
Hope this saves someone else some frustration.
Cheers
--
Chris Beaver
UNIX Systems Administrator, ITS - Algonquin College
1385 Woodroffe Ave
Ottawa, ON K2G 1V8
email: beaverj@algonquincollege.com<ma...@algonquincollege.com>
phone: (613) 727-4723 x 5385
fax: (613) 727-7719
From: James Chris Beaver [mailto:beaverj@algonquincollege.com]
Sent: Wednesday, December 21, 2011 1:17 PM
To: users@trafficserver.apache.org
Subject: How to check storage in traffic server.
Hello Folks,
Is there anyway within the traffic server app to check if raw disks are actually viewable/usable by the application? I have tried looking at the show:cache-stats in the shell and I am definitely not seeing the cache size that I anticipated however I was hoping there was a more direct way to see available storage.
Thanks in advance.
--
Chris Beaver
UNIX Systems Administrator, ITS - Algonquin College
1385 Woodroffe Ave
Ottawa, ON K2G 1V8
email: beaverj@algonquincollege.com<ma...@algonquincollege.com>
phone: (613) 727-4723 x 5385
fax: (613) 727-7719
________________________________