View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002272 | GNUnet | statistics service | public | 2012-04-18 09:31 | 2012-06-02 19:15 |
| Reporter | Matthias Wachs | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | closed | Resolution | fixed | ||
| Product Version | Git master | ||||
| Target Version | 0.9.3 | Fixed in Version | 0.9.3 | ||
| Summary | 0002272: Statistics notifications with get and watch are not reliable | ||||
| Description | In perf_ats_mlp: Starting statistics service: Giving handle to ATS in gnunet-service-ats_addresses_mlp.c:GAS_mlp_init ATS sets 2 statistics values perf_ats_mlp reads the values with statistics_get or statistics_watch Notifications are not always received But statistics value are existing when calling gnunet-statistics | ||||
| Additional Information | gnunet-service-ats_addresses_mlp.c sets the values: `# LP execution time (ms)' `# MLP execution time (ms)' perf_ats_mlp uses: GNUNET_STATISTICS_watch (stats, "ats", "# LP execution time (ms)", &stat_lp_it, NULL); GNUNET_STATISTICS_watch (stats, "ats", "# MLP execution time (ms)", &stat_lp_it, NULL); | ||||
| Tags | No tags attached. | ||||
|
|
wachs@fulcrum:~/gnunet/gnunet-debug/src/ats$ .libs/perf_ats_mlp Apr 18 09:57:40-117311 statistics-23730 ERROR Received request to update statistic on `hostlist:# milliseconds between hostlist downloads' (2) to/by 3600000 Apr 18 09:57:40-117341 statistics-23730 ERROR Received request to update statistic on `datastore:# bytes used in file-sharing datastore `sqlite'' (2) to/by 87531083 Apr 18 09:57:40-117350 statistics-23730 ERROR Received request to update statistic on `datastore:# bytes stored' (3) to/by 89965564 Apr 18 09:57:40-117358 statistics-23730 ERROR Received request to update statistic on `datastore:# bytes purged (low-priority)' (3) to/by 232539 Apr 18 09:57:40-117484 statistics-23730 ERROR Received request to watch statistic on `ats:watch' Apr 18 09:57:40-117506 statistics-23730 ERROR Received request to update statistic on `ats:watch' (0) to/by 1 Apr 18 09:57:40-117662 perf_ats_mlp-23729 ERROR Statistics service ready Apr 18 09:57:40-128033 ats-mlp-23729 ERROR 1 1 Apr 18 09:57:40-128515 perf_ats_mlp-23729 ERROR Problem solved successfully Apr 18 09:57:40-128558 statistics-23730 ERROR Received request to watch statistic on `ats:# LP execution time (ms)' Apr 18 09:57:40-128577 statistics-23730 ERROR Received request to watch statistic on `ats:# MLP execution time (ms)' Apr 18 09:57:40-128601 statistics-23730 ERROR Received request to update statistic on `ats:UNSPECIFIED_QUOTA_OUT' (1) to/by 429496729 Apr 18 09:57:40-128615 statistics-23730 ERROR Received request to update statistic on `ats:UNSPECIFIED_QUOTA_IN' (1) to/by 429496729 Apr 18 09:57:40-128630 statistics-23730 ERROR Received request to update statistic on `ats:LOOPBACK_QUOTA_OUT' (1) to/by 429496729 Apr 18 09:57:40-128643 statistics-23730 ERROR Received request to update statistic on `ats:LOOPBACK_QUOTA_IN' (1) to/by 429496729 Apr 18 09:57:40-128651 statistics-23730 ERROR Received request to update statistic on `ats:LAN_QUOTA_OUT' (1) to/by 429496729 Apr 18 09:57:40-128658 statistics-23730 ERROR Received request to update statistic on `ats:LAN_QUOTA_IN' (1) to/by 429496729 Apr 18 09:57:40-128665 statistics-23730 ERROR Received request to update statistic on `ats:WAN_QUOTA_OUT' (1) to/by 65536 Apr 18 09:57:40-128672 statistics-23730 ERROR Received request to update statistic on `ats:WAN_QUOTA_IN' (1) to/by 65536 Apr 18 09:57:40-128680 statistics-23730 ERROR Received request to update statistic on `ats:WLAN_QUOTA_OUT' (1) to/by 1048576 Apr 18 09:57:40-128687 statistics-23730 ERROR Received request to update statistic on `ats:WLAN_QUOTA_IN' (1) to/by 1048576 Apr 18 09:57:40-128694 statistics-23730 ERROR Received request to update statistic on `ats:# MLP address updates' (1) to/by 50 Apr 18 09:57:40-128710 statistics-23730 ERROR Received request to update statistic on `ats:# addresses in MLP' (1) to/by 50 Apr 18 09:57:40-128718 statistics-23730 ERROR Received request to update statistic on `ats:# peers in MLP' (1) to/by 10 Apr 18 09:57:40-128726 statistics-23730 ERROR Received request to update statistic on `ats:# LP problem solved' (1) to/by 1 Apr 18 09:57:40-128733 statistics-23730 ERROR Received request to update statistic on `ats:# LP execution time (ms)' (0) to/by 1 Apr 18 09:57:40-128742 statistics-23730 ERROR Received request to update statistic on `ats:# LP execution time average (ms)' (0) to/by 1 Apr 18 09:57:40-128750 statistics-23730 ERROR Received request to update statistic on `ats:# MLP problem solved' (1) to/by 1 Apr 18 09:57:40-128761 statistics-23730 ERROR Received request to update statistic on `ats:# MLP execution time (ms)' (0) to/by 0 Apr 18 09:57:40-128769 statistics-23730 ERROR Received request to update statistic on `ats:# MLP execution time average (ms)' (0) to/by 0 Apr 18 09:57:40-128800 perf_ats_mlp-23729 ERROR Received: `# LP execution time (ms)' : 1 Apr 18 09:57:40-128823 perf_ats_mlp-23729 ERROR Assertion failed at perf_ats_mlp.c:134. |
|
|
Not notified, missing: Apr 18 09:57:38-888726 perf_ats_mlp-23727 ERROR Received: `# MLP execution time (ms)' : 1 Apr 18 09:57:38-888735 perf_ats_mlp-23727 ERROR Assertion failed at perf_ats_mlp.c:140. |
|
|
Watch did not notify about fresh created values with value 0 Fixed in 21005. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-04-18 09:31 | Matthias Wachs | New Issue | |
| 2012-04-18 09:58 | Matthias Wachs | Note Added: 0005715 | |
| 2012-04-18 09:58 | Matthias Wachs | Note Added: 0005716 | |
| 2012-04-18 11:57 | Matthias Wachs | Status | new => resolved |
| 2012-04-18 11:57 | Matthias Wachs | Resolution | open => fixed |
| 2012-04-18 11:57 | Matthias Wachs | Note Added: 0005718 | |
| 2012-04-18 15:56 | Christian Grothoff | Fixed in Version | => 0.9.3 |
| 2012-04-18 15:56 | Christian Grothoff | Target Version | => 0.9.3 |
| 2012-06-02 19:15 | Christian Grothoff | Status | resolved => closed |