mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-16 08:18:51 +00:00
noReadAhead option, CLOEXEC the LMDB file
This commit is contained in:
1
TODO
1
TODO
@ -28,4 +28,3 @@ rate limits (maybe not needed now that we have plugins?)
|
||||
|
||||
misc
|
||||
? periodic reaping of disconnected sockets (maybe autoping is doing this already)
|
||||
? why isn't the LMDB mapping CLOEXEC
|
||||
|
2
golpe
2
golpe
Submodule golpe updated: 67830690a6...8d21667dd0
@ -115,6 +115,10 @@ config:
|
||||
desc: "Size of mmap() to use when loading LMDB (default is 10TB, does *not* correspond to disk-space used)"
|
||||
default: 10995116277760
|
||||
noReload: true
|
||||
- name: dbParams__noReadAhead
|
||||
desc: "Disables read-ahead when accessing the LMDB mapping. Reduces IO activity when DB size is larger than RAM."
|
||||
default: false
|
||||
noReload: true
|
||||
|
||||
- name: events__maxEventSize
|
||||
desc: "Maximum size of normalised JSON, in bytes"
|
||||
|
@ -11,6 +11,9 @@ dbParams {
|
||||
|
||||
# Size of mmap() to use when loading LMDB (default is 10TB, does *not* correspond to disk-space used) (restart required)
|
||||
mapsize = 10995116277760
|
||||
|
||||
# Disables read-ahead when accessing the LMDB mapping. Reduces IO activity when DB size is larger than RAM. (restart required)
|
||||
noReadAhead = true
|
||||
}
|
||||
|
||||
events {
|
||||
|
Reference in New Issue
Block a user