max_user_watches for epoll should say 1/25, rather than 1/32
Unified · Split
| @@ -380,5 +380,5 @@ This configuration option sets the maximum number of "watches" that are · 379 unmodified lines | |||
| 380 | allowed for each user. | 380 | allowed for each user. |
| 381 | Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes | 381 | Each "watch" costs roughly 90 bytes on a 32bit kernel, and roughly 160 bytes |
| 382 | on a 64bit one. | 382 | on a 64bit one. |
| 383 | The current default value for max_user_watches is the 1/32 of the available | 383 | The current default value for max_user_watches is the 1/25 (4%) of the |
| 384 | low memory, divided for the "watch" cost in bytes. | 384 | available low memory, divided for the "watch" cost in bytes. |