Skip to content

Commit 3032eb9

Browse files
committed
TASK-91082: Replying to review feedbacks
Signed-off-by: Doug Koerich <[email protected]>
1 parent ec456ba commit 3032eb9

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

content/momentum/4/modules/dnsbuf-new.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ The `dnsbuf` module is configured as follows:
1818

1919
```
2020
dnsbuf {
21-
sndbuf_size = "65536" # Default value is 131072
22-
rcvbuf_size = "65536" # Default value is 131072
21+
sndbuf_size = "65536" # In Linux this is set to 131072
22+
rcvbuf_size = "65536" # In Linux this is set to 131072
2323
}
2424
```
2525

@@ -65,6 +65,8 @@ while sleep 1; do (netstat --udp -s | grep error; echo summary |
6565
/opt/msys/ecelerity/bin/ec_console | grep DNS); echo; done
6666
```
6767

68+
> **NOTE:** Whenever possible, prefer to use the [HTTP-API statistics](/momentum/4/http-api-stats/summary) instead of the `summary` command for performance reasons.
69+
6870
The following is an example in which Momentum started with ~30,000 unresolvable domains in the queue. Notice that the "packet receive errors" number has increased, and there are a high number of pending DNS queries.
6971

7072
```

content/momentum/4/modules/dnsbuf.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ The `dnsbuf` module is configured as follows:
2121

2222
```
2323
dnsbuf {
24-
sndbuf_size = "65536" # Default value is 131072
25-
rcvbuf_size = "65536" # Default value is 131072
24+
sndbuf_size = "65536" # In Linux this is set to 131072
25+
rcvbuf_size = "65536" # In Linux this is set to 131072
2626
interval = "30" # Default value is 60 seconds
2727
}
2828
```
@@ -132,6 +132,8 @@ while sleep 1; do (netstat --udp -s | grep error; echo summary |
132132
/opt/msys/ecelerity/bin/ec_console | grep DNS); echo; done
133133
```
134134
135+
> **NOTE:** Whenever possible, prefer to use the [HTTP-API statistics](/momentum/4/http-api-stats/summary) instead of the `summary` command for performance reasons.
136+
135137
The following is an example in which Momentum started with ~30,000 unresolvable domains in the queue. Notice that the "packet receive errors" number has increased, and there are a high number of pending DNS queries.
136138
137139
```

0 commit comments

Comments
 (0)