Project

General

Profile

Bug #76

Updated by Nitesh Mor about 7 years ago

The Local GDP seems to be crashing a lot. I see same errors as in bug # 69 .

```
sbuser@swarmnuc015:~$ gdp-reader -s -t tamu.watch.2KMX
Reading GCL 107OxcL32wGOxpz7Q_NVoJ2kQMIC93pP-Is584lzODE
2016-10-15 21:07:29.946093 -0500 gdp-reader: _gdp_req_freeall: couldn't acquire req lock: ERROR: request freed while in use [Berkeley:Swarm-GDP:31]

[ERROR] gdp-reader: Cannot open GCL:
ERROR: Connection timed out [EPLIB:errno:110]
exiting after 0 records with status ERROR: Connection timed out [EPLIB:errno:110]
```



This can happen randomly. Even when writing data to GDP. The above probelm seems to be solved by restarting the gdplogd.

The router log file contains these:

```
2016-10-16 02:11:05.022208 selected: write failed: 0: Success
2016-10-16 02:11:05.022212 selected: write failed: 0: Success
2016-10-16 02:11:05.022216 selected: write failed: 0: Success
2016-10-16 02:11:05.022220 selected: write failed: 0: Success
2016-10-16 02:11:05.022224 selected: write failed: 0: Success
2016-10-16 02:11:05.022228 selected: write failed: 0: Success
2016-10-16 02:11:05.022232 selected: write failed: 0: Success
2016-10-16 02:11:05.022236 selected: write failed: 0: Success
2016-10-16 02:11:05.022240 selected: write failed: 0: Success
2016-10-16 02:11:05.022243 selected: write failed: 0: Success
2016-10-16 02:11:05.022247 selected: write failed: 0: Success
2016-10-16 02:11:05.022251 selected: write failed: 0: Success
2016-10-16 02:11:05.022255 selected: write failed: 0: Success
2016-10-16 02:11:05.022258 selected: write failed: 0: Success
2016-10-16 02:11:05.022262 selected: write failed: 0: Success
2016-10-16 02:11:05.022266 selected: write failed: 0: Success
2016-10-16 02:11:05.022269 selected: write failed: 0: Success
2016-10-16 02:11:05.022273 selected: write failed: 0: Success
2016-10-16 02:11:05.022276 selected: write failed: 0: Success
```



The gdplogd log file for a few hours is

```
2016-10-15 22:34:14.330872 _gdp_chan_open: talking to router at 127.0.0.1:8007
2016-10-15 22:34:16.240442 get_open_handle: opening 107OxcL32wGOxpz7Q_NVoJ2kQMIC93pP-Is584lzODE
2016-10-15 22:34:16.243379 get_open_handle: opening guJr0NNjgsxlSrzCMGWDfcCU-3hoVheRh4i9F82JDWg
2016-10-15 22:42:39.207176 get_open_handle: opening 107OxcL32wGOxpz7Q_NVoJ2kQMIC93pP-Is584lzODE
2016-10-15 22:42:39.209659 get_open_handle: opening guJr0NNjgsxlSrzCMGWDfcCU-3hoVheRh4i9F82JDWg
2016-10-16 00:35:54.792280 2016-10-15 17:35:54 -0700 Running /usr/sbin/gdplogd -D*=10
2016-10-16 00:35:54.794070 _gdp_lib_init(NULL)
2016-10-16 00:35:54.794093 @(#)libgdp 0.7.2 (2016-10-14 07:32) 2023d77857ad557a53cf8d9b044ed94e7c0228f2
2016-10-16 00:35:54.794351 My GDP routing name = GFh8bl8BQXeuvUYHu-z7mhS7mRMdKj2bmUvaXkwcjMM
2016-10-16 00:35:54.794438 gdp_lib_init: OK
2016-10-16 00:35:54.794450 disk_init: log dir = /var/swarm/gdp/gcls, mode = 0600
2016-10-16 00:35:54.794463 Signature strictness = 0x1
2016-10-16 00:35:54.794545 Trying Zeroconf:
2016-10-16 00:35:54.797634 _gdp_chan_open(127.0.0.1)
2016-10-16 00:35:54.797659 Trying 127.0.0.1
2016-10-16 00:35:54.797771 _gdp_chan_open: talking to router at 127.0.0.1:8007
2016-10-16 00:36:01.547141 get_open_handle: opening 107OxcL32wGOxpz7Q_NVoJ2kQMIC93pP-Is584lzODE
2016-10-16 00:37:51.154603 get_open_handle: opening guJr0NNjgsxlSrzCMGWDfcCU-3hoVheRh4i9F82JDWg
2016-10-16 02:11:35.131718 2016-10-15 19:11:35 -0700 Running /usr/sbin/gdplogd -D*=10
2016-10-16 02:11:35.146140 _gdp_lib_init(NULL)
2016-10-16 02:11:35.146149 @(#)libgdp 0.7.2 (2016-10-14 07:32) 2023d77857ad557a53cf8d9b044ed94e7c0228f2
2016-10-16 02:11:35.151879 My GDP routing name = GFh8bl8BQXeuvUYHu-z7mhS7mRMdKj2bmUvaXkwcjMM
2016-10-16 02:11:35.151935 gdp_lib_init: OK
2016-10-16 02:11:35.151941 disk_init: log dir = /var/swarm/gdp/gcls, mode = 0600
2016-10-16 02:11:35.151952 Signature strictness = 0x1
2016-10-16 02:11:35.152028 Trying Zeroconf:
2016-10-16 02:11:35.155993 _gdp_chan_open(127.0.0.1)
2016-10-16 02:11:35.156002 Trying 127.0.0.1
2016-10-16 02:11:35.156066 _gdp_chan_open: talking to router at 127.0.0.1:8007
2016-10-16 02:11:54.580867 _gdp_event_cb: got EOF, 0 bytes left
2016-10-16 02:11:55.581090 Trying Zeroconf:
2016-10-16 02:11:55.584546 _gdp_chan_open(127.0.0.1)
2016-10-16 02:11:55.584563 Trying 127.0.0.1
2016-10-16 02:11:55.584595 _gdp_chan_open: talking to router at 127.0.0.1:8007
2016-10-16 02:12:02.055778 get_open_handle: opening 107OxcL32wGOxpz7Q_NVoJ2kQMIC93pP-Is584lzODE
2016-10-16 02:12:02.066733 get_open_handle: opening guJr0NNjgsxlSrzCMGWDfcCU-3hoVheRh4i9F82JDWg
```

Back