Comments (12)
Anything interesting in dmesg, /var/log/messages or /var/log/stratux.log ?
from stratux.
I see a number of references in kern.log like this:
kern.log:Sep 17 20:22:01 raspberrypi kernel: [17520.741910] INFO: task gen_gdl90:2377 blocked for more than 120 seconds.
kern.log:Sep 17 20:22:01 raspberrypi kernel: [17520.741951] gen_gdl90 D 80521498 0 2377 1868 0x00000000
kern.log:Sep 17 20:24:01 raspberrypi kernel: [17640.741681] INFO: task gen_gdl90:2377 blocked for more than 120 seconds.
kern.log:Sep 17 20:24:01 raspberrypi kernel: [17640.741721] gen_gdl90 D 80521498 0 2377 1868 0x00000000
In Stratux.log, I see many pages of message queue overflows:
2015/09/17 00:39:56 192.168.10.10:43211 - message queue overflow.
2015/09/17 00:39:56 192.168.10.10:4000 - message queue overflow.
2015/09/17 00:39:56 192.168.10.11:43211 - message queue overflow.
2015/09/17 00:39:56 192.168.10.10:43211 - message queue overflow.
2015/09/17 00:39:56 192.168.10.11:43211 - message queue overflow.
I don't know the mechanism for aging out client devices, but I don't think both devices (iphone and ipad) were still connected during this period, which may have resulted in the queue overflow.
Those are the only items that look interesting to me.
from stratux.
It's using ICMP pings to determine if the clients are responding, if not then it should not be queueing messages for them. Sounds like it may have run out of resources. Are you able to replicate this at all? If so, can you check "free -m; df -h", and other messages in dmesg?
from stratux.
FWIW - I tried this as an experiment yesterday. I left a system running the v0.3b3 image all day and overnight. By mid-afternoon ForeFlight had stopped seeing the "FreeFlight" device but the AHRS continued to work. This morning both the "FreeFlight" and the "Stratux" devices were gone. When I tried to SSH in to take a look I was able to connect but kept getting memory allocation errors whenever the shell tried to fork any other process. Pretty much a sure sign of a memory leak.
I'm running the experiment again today and will monitor the memory usage periodically.
from stratux.
Try with latest code - referenced commit (post-v0.3b3) above improves memory usage and there was a further commit that writes some vital stats (including memory usage) to /var/log/stratux.log.
from stratux.
I will give it a shot. Thank you.
On Wed, Sep 23, 2015 at 7:36 AM, cyoung [email protected] wrote:
Try with latest code - referenced commit (post-v0.3b3) above improves
memory usage and there was a further commit that writes some vital stats
(including memory usage) to /var/log/stratux.log.—
Reply to this email directly or view it on GitHub
#48 (comment).
from stratux.
Anyone want to throw memprof on it before trying to reproduce it?
from stratux.
Having some kind of problem compiling current code. Output of make is:
root@raspberrypi:~/stratux# make
GOOS=linux GOARCH=arm GOARM=7 go build -ldflags " -X main.stratuxVersion=`git describe --abbrev=0 --tags` -X main.stratuxBuild=`git log -n 1 --pretty=%H`" main/gen_gdl90.go main/traffic.go main/ry835ai.go main/network.go main/managementinterface.go main/sdr.go
# command-line-arguments
usage: 5l [options] main.5
-1 use alternate profiling code
-B info
define ELF NT_GNU_BUILD_ID note
-C check Go calls to C code
-D addr
data address
-E sym
entry symbol
-G debug pseudo-ops
-I interp
set ELF interp
-L dir
add dir to library path
-H head
header type
-K add stack underflow checks
-M disable software div/mod
-O print pc-line tables
-Q debug byte-register code gen
-P debug code generation
-R rnd
address rounding
-S check type signatures
-T addr
text address
-V print version and exit
-W disassemble input
-X name value
define string data
-Z clear stack frame on entry
-a disassemble output
-c dump call graph
-d disable dynamic executable
-extld ld
linker to run in external mode
-extldflags ldflags
flags for external linker
-f ignore version mismatch
-g disable go package data checks
-installsuffix suffix
pkg directory suffix
-k sym
set field tracking symbol
-linkmode mode
set link mode (internal, external, auto)
-n dump symbol table
-o outfile
set output file
-r dir1:dir2:...
set ELF dynamic linker search path
-race
enable race detector
-s disable symbol table
-shared
generate shared object (implies -linkmode external)
-tmpdir dir
leave temporary files in this directory
-u reject unsafe packages
-v print link trace
-w disable DWARF generation
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2
from stratux.
That has to do win the -ldflags arg -- think it might have to do with an
older go version. I've got it going on 1.5.1. Check path also
On Wednesday, September 23, 2015, Steven Sokol [email protected]
wrote:
Having some kind of problem compiling current code. Output of make is:
root@raspberrypi:~/stratux# make
GOOS=linux GOARCH=arm GOARM=7 go build -ldflags " -X main.stratuxVersion=git describe --abbrev=0 --tags
-X main.stratuxBuild=git log -n 1 --pretty=%H
" main/gen_gdl90.go main/traffic.go main/ry835ai.go main/network.go main/managementinterface.go main/sdr.gocommand-line-arguments
usage: 5l [options] main.5
-1 use alternate profiling code
-B info
define ELF NT_GNU_BUILD_ID note
-C check Go calls to C code
-D addr
data address
-E sym
entry symbol
-G debug pseudo-ops
-I interp
set ELF interp
-L dir
add dir to library path
-H head
header type
-K add stack underflow checks
-M disable software div/mod
-O print pc-line tables
-Q debug byte-register code gen
-P debug code generation
-R rnd
address rounding
-S check type signatures
-T addr
text address
-V print version and exit
-W disassemble input
-X name value
define string data
-Z clear stack frame on entry
-a disassemble output
-c dump call graph
-d disable dynamic executable
-extld ld
linker to run in external mode
-extldflags ldflags
flags for external linker
-f ignore version mismatch
-g disable go package data checks
-installsuffix suffix
pkg directory suffix
-k sym
set field tracking symbol
-linkmode mode
set link mode (internal, external, auto)
-n dump symbol table
-o outfile
set output file
-r dir1:dir2:...
set ELF dynamic linker search path
-race
enable race detector
-s disable symbol table
-shared
generate shared object (implies -linkmode external)
-tmpdir dir
leave temporary files in this directory
-u reject unsafe packages
-v print link trace
-w disable DWARF generation
Makefile:7: recipe for target 'all' failed
make: *** [all] Error 2—
Reply to this email directly or view it on GitHub
#48 (comment).
from stratux.
https://github.com/cyoung/stratux/releases/tag/v0.3b4
memprof if able
from stratux.
Any further info @ssokol?
from stratux.
Oops. Created a new issue with logs, screen-shots, etc.
#60
On Thu, Sep 24, 2015 at 4:38 PM, cyoung [email protected] wrote:
Any further info @ssokol https://github.com/ssokol?
—
Reply to this email directly or view it on GitHub
#48 (comment).
Steven Sokol
408 Camelot Drive
Liberty, MO 64068
mobile: +1 816-806-8844
fax: +1 816-817-0441
from stratux.
Related Issues (20)
- Cant install maps from ‘abatzill.de’ HOT 5
- description of issue HOT 1
- Building for Banana Pi BPI-M2 ZERO HOT 2
- Receiving Flarm in France HOT 6
- US Version HOT 1
- AHRS - What does "Error identifying IMU: remote I/O error" - mean? HOT 2
- Lost Stratux home page on my iPad HOT 3
- Traffic not showing and green flashing, red solid
- WPA to WPA2
- RAW Dump Data
- Sense Hat
- Error when executing 'make' HOT 7
- T-Beam Communication problem HOT 2
- uAvionix Ping USB support HOT 9
- How to convert 978 mhz antenna to 1090 mhz HOT 1
- [BUG]stratus is unable to filter Mode s traffic to ADSB traffic
- USB to Serial Adapter for EFIS wired Traffic/WX
- Is serial traffic data limited in any way HOT 1
- After upgrade to 029 US build, GPS no longer able to achieve fix reliably. HOT 25
- BMP280 on i2c bus causing "Error identifying IMU: remote I/O error" log entries and unable to be read
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stratux.