mirror of
https://github.com/openoms/bitcoin-tutorials.git
synced 2025-12-19 04:54:18 +01:00
keep open file limits after restart
This commit is contained in:
@@ -522,7 +522,17 @@ sysctl fs.inotify
|
||||
```
|
||||
Fix:
|
||||
```
|
||||
sudo sysctl fs.inotify.max_user_instances=512
|
||||
sudo sysctl -w fs.inotify.max_user_instances=1024
|
||||
|
||||
sudo sysctl -w fs.inotify.max_user_watches=524288
|
||||
```
|
||||
|
||||
To keep after reboot:
|
||||
```
|
||||
echo "\
|
||||
fs.inotify.max_user_instances=1024
|
||||
fs.inotify.max_user_watches=524288
|
||||
" | sudo tee -a /etc/sysctl.conf
|
||||
```
|
||||
|
||||
## Free space without restart
|
||||
|
||||
Reference in New Issue
Block a user