Community


All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: segfault in client with multiple connections.
PostPosted: Thu Jul 25, 2019 7:30 am 
Offline

Joined: Sat May 12, 2018 9:27 am
Posts: 4
Folks,

We've been generally happy with neorouter and have over 300 clients networked; however,
we have encountered what appears to be a bug in the client. Running ubuntu 18.04 / running server/client version 2.6.2.5020-pro-ubuntu-amd64.deb

A central server (not our neo server) collects data from our sites and runs a job that starts 10 separate collection processes. Each process collects data from an assigned subset of all sites, e.g. 300 sites, 10 jobs, each job polls 30 sites.

We often notice the lost of the nrtap interface on our central server. We see the below in kern.log. As a work around we have a monitoring process which restarts the client, but would like a real fix. Happy to supply additional info.

Jul 25 07:43:33 new-office kernel: [143862.666356] nrservice[14644]: segfault at 47 ip 000000000042936b sp 00007ffff745df00 error 4 in nrservice[400000+2cf000]
Jul 25 07:45:05 new-office kernel: [143955.000368] nrservice[15243]: segfault at 10000001f ip 00000000004da1c5 sp 00007ffe46d89170 error 4 in nrservice[400000+2cf000]
Jul 25 07:45:23 new-office kernel: [143972.976056] nrservice[15494]: segfault at 16 ip 000000000042936b sp 00007ffd295e4020 error 4 in nrservice[400000+2cf000]
Jul 25 08:05:19 new-office kernel: [145168.337348] nrservice[15857]: segfault at 33303372 ip 00000000004288f5 sp 00007ffc1c144900 error 4 in nrservice[400000+2cf000]
Jul 25 08:05:52 new-office kernel: [145201.363096] nrservice[16789]: segfault at 10 ip 000000000042936b sp 00007fff5c0316b0 error 4 in nrservice[400000+2cf000]


Top
 Profile  
 
 Post subject: Re: segfault in client with multiple connections. (SOLVED)
PostPosted: Fri Aug 02, 2019 7:16 am 
Offline

Joined: Sat May 12, 2018 9:27 am
Posts: 4
Just wanted to share this. Did some debug with tech support and have
a solution:
---------------------
Upgraded to latest client/server versions (2.6.2.5020) and implemented fix from NeoRouter support by creating a Feature.ini file in /usr/local/ZebraNetworks/NeoRouter with the following contents on new-office and aws1.

This stops a feature in the client which attempts to optimize performance by choosing a direct connection to another Neo client on the same local network, instead of using the relay from the Neo Server.

[Default]
UdpOnly=0
P2P=0

No problems since then on any data collection runs.


Top
 Profile  
 
 Post subject: Re: segfault in client with multiple connections.
PostPosted: Tue Aug 06, 2019 6:27 am 
Offline

Joined: Tue Aug 06, 2019 6:13 am
Posts: 1
Location: United States, Washington
Did it turn out to solve the problem? Do not tell me how?

_________________
Blockchain in Goverment


Top
 Profile  
 
 Post subject: Re: segfault in client with multiple connections.
PostPosted: Tue Aug 06, 2019 6:48 am 
Offline

Joined: Sat May 12, 2018 9:27 am
Posts: 4
We worked with tech support and turned on debug in the client.

They were able to track the problem down to a fault occurring in the the peer-to-peer logic. They don't have a fix in the code yet.

We do not use that feature overall. But it seems clients on the same local network will try to use peer-to-peer. The Feature.ini disables that entirely.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron