[
https://issues.apache.org/jira/browse/TS-21?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leif Hedstrom resolved TS-21.
-----------------------------
Resolution: Fixed
Checked in.
> Stats: snap statistics directory not set correctly for stats file 'stats.snap'
> ------------------------------------------------------------------------------
>
> Key: TS-21
> URL: https://issues.apache.org/jira/browse/TS-21
> Project: Traffic Server
> Issue Type: Bug
> Components: Stats
> Affects Versions: 2.0a
> Environment: ubuntu 9.04 x86_64-bit w/ gcc 4.3.3
> Reporter: George Paul
> Attachments: TS-21_stats_patch1.diff, TS-21_stats_patch2.diff,
> TS-21_stats_patch3.diff
>
>
> The statistics snap shot file 'stats.snap' is not being written out since the
> default directory does not exist and is not created during the install.
> Warnings are generated like the following:
> [Nov 6 10:52:08.307] Server {3880728912} WARNING: unable to open stats.snap:
> No such file or directory
> [Nov 6 10:52:08.307] Server {3880728912} WARNING: unable to snap statistics
> [Nov 6 10:53:08.303] Server {3880728912} WARNING: unable to open stats.snap:
> No such file or directory
> Currently the default directory is set '<prefix>/etc/<package>/internal'. A
> better place would be 'pkglocalstatedir'. The proposed solution is to have 2
> Records Config variables 'proxy.config.stats.snap_dir' with default
> 'pkglocalstatedir' and 'proxy.config.stats.snap_file' with default
> 'stats.snap'.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.