Comments (6)
Interesting. How many devices were connected at the time of the crash (best guess will do).
from wg-access-server.
It would be 2 or 3 at most. Most likely 1 or 2.
from wg-access-server.
I haven't been able to reproduce this one. I've been running wg-access-server for months now without a crash.
From the trace it looks like a leak in wireguard-go but i'm not sure tbh.
from wg-access-server.
I'm going to close this because i can't really action anything until it's reproducible. :(
from wg-access-server.
Having the same issue:
63266 time="2020-07-30T09:41:36-05:00" level=info msg="starting wireguard server on 0.0.0.0:REDACTED" file="main.go:50"
63267 time="2020-07-30T09:41:36-05:00" level=info msg="wireguard VPN network is REDACTED/24" file="main.go:60"
63268 time="2020-07-30T09:41:36-05:00" level=info msg="starting dns server on 0.0.0.0:53 with upstreams: REDACTED" file="serv
63269 time="2020-07-30T09:41:36-05:00" level=info msg="storing data in /data" file="contracts.go:55"
63270 time="2020-07-30T09:41:36-05:00" level=info msg="web ui listening on 0.0.0.0:REDACTED" file="main.go:171"
63271 runtime: program exceeds 10000-thread limit
63272 fatal error: thread exhaustion
63273
63274 runtime stack:
63275 runtime.throw(0xda9c41, 0x11)
63276 /usr/local/go/src/runtime/panic.go:774 +0x72
63277 runtime.checkmcount()
63278 /usr/local/go/src/runtime/proc.go:600 +0xac
63279 runtime.mcommoninit(0xc01c01ee00)
63280 /usr/local/go/src/runtime/proc.go:618 +0x73
63281 runtime.allocm(0xc000040a00, 0xddd630, 0x0)
63282 /usr/local/go/src/runtime/proc.go:1489 +0x150
63283 runtime.newm(0xddd630, 0xc000040a00)
63284 /usr/local/go/src/runtime/proc.go:1804 +0x39
63285 runtime.startm(0x0, 0xc000047901)
63286 /usr/local/go/src/runtime/proc.go:1969 +0x12a
63287 runtime.wakep(...)
63288 /usr/local/go/src/runtime/proc.go:2050
63289 runtime.resetspinning()
63290 /usr/local/go/src/runtime/proc.go:2430 +0x93
63291 runtime.schedule()
63292 /usr/local/go/src/runtime/proc.go:2531 +0x2a0
63293 runtime.park_m(0xc0004e5080)
63294 /usr/local/go/src/runtime/proc.go:2610 +0x9d
63295 runtime.mcall(0x0)
63296 /usr/local/go/src/runtime/asm_amd64.s:318 +0x5b
FWIW, sawtooth like memory comsumption over time:
Self-built docker image from latest commit.
Docker run cmd:
@docker run \
--restart unless-stopped \
--detach \
--name $(CONTAINER) \
--volume /etc/localtime:/etc/localtime:ro \
--volume REDACTED:/data \
--log-driver json-file \
--log-opt max-size=10m \
--log-opt max-file=2 \
--cap-add NET_ADMIN \
--device /dev/net/tun:/dev/net/tun \
--publish REDACTED:REDACTED/tcp \
--publish REDACTED:REDACTED/udp \
-e WIREGUARD_PRIVATE_KEY="REDACTED" \
$(REPO)/$(IMAGE):$(TAG)
Can provide more details if needed.
from wg-access-server.
update for anyone watching this issue; there actually was a leak in wg-access-server that I fixed during during a big refactor in late 2020.
if you're running the latest version this issue should hopefully be resolved.
please open a new issue if you're seeing thread exhaustion or jigsaw memory usage again.
from wg-access-server.
Related Issues (20)
- Arm Support HOT 3
- the input device is not a TTY
- Initial VPN
- Cannot parse endpoint from wireguard android app HOT 2
- Control trafic user HOT 2
- [Feature request] label outdated devices HOT 1
- doc / feature to port forward in yaml rules ? HOT 1
- Disable basic auth at all HOT 3
- Fresh install on Kubernetes cant access services
- Fresh install on Kubernetes cant access services HOT 2
- how to use grpc?
- Can this app be used with an existing wireguard?
- How can I continue to see the transmission flow of each Peer on the management page?
- Running on Mac M2 HOT 1
- OIDC Azure issue HOT 3
- How to configure Docker's NAT? HOT 1
- linux/arm64/v8 HOT 1
- can't initialize iptables table `filter': Table does not exist HOT 1
- Help! HOT 1
- Need to change DNS address and DHCP SERVER. HOT 1
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 wg-access-server.