Skip to content

Commit 37ea85f

Browse files
defguard-communitygitbook-bot
authored andcommitted
GITBOOK-425: change request with no subject merged in GitBook
1 parent adef56f commit 37ea85f

2 files changed

Lines changed: 51 additions & 0 deletions

File tree

SUMMARY.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,3 +144,4 @@
144144
* [Client "All traffic" connection issues](resources/troubleshooting/client-all-traffic-connection-issues.md)
145145
* [WebAuthn security keys](resources/troubleshooting/webauthn-security-keys.md)
146146
* [Unable to sign in to your defguard instance with correct credentials](resources/troubleshooting/unable-to-sign-in-to-your-defguard-instance-with-correct-credentials.md)
147+
* ["No buffer space available" error in the gateway logs](resources/troubleshooting/no-buffer-space-available-error-in-the-gateway-logs.md)
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# "No buffer space available" error in the gateway logs
2+
3+
## Problem
4+
5+
The following error appears in the gateway logs:
6+
7+
```bash
8+
Interface configuration failed: Firewall error: Netlink error: Failed while reading a message from socket: Os { code: 105, kind: Uncategorized, message: "No buffer space available" }
9+
```
10+
11+
## Symptoms
12+
13+
* This error appears in the logs.
14+
* VPN functionality continues to work.
15+
* No stats are visible on the dashboard.
16+
17+
## Cause
18+
19+
This issue is related to **insufficient socket buffer sizes** on the host system, which causes the Netlink communication with the Linux kernel to fail.
20+
21+
## Solution
22+
23+
To resolve the issue, increase the system's socket buffer sizes by updating your `sysctl.conf` file.
24+
25+
#### 1. Edit `/etc/sysctl.conf`
26+
27+
Add the following lines to the end of your file:
28+
29+
```bash
30+
bashCopyEdit# Increase socket buffer sizes
31+
net.core.rmem_max = 67108864
32+
net.core.wmem_max = 67108864
33+
net.ipv4.tcp_rmem = 4096 87380 67108864
34+
net.ipv4.tcp_wmem = 4096 65536 67108864
35+
net.core.rmem_default = 524288
36+
net.core.wmem_default = 524288
37+
```
38+
39+
#### 2. Apply the changes
40+
41+
Run the following command to reload the settings:
42+
43+
```bash
44+
sudo sysctl -p
45+
```
46+
47+
## Verification
48+
49+
* Check the gateway logs to ensure the error no longer appears.
50+
* Confirm that stats are now visible in the dashboard.

0 commit comments

Comments
 (0)