If an inotify watch isn't used, it uses no memory. So simply increasing the limit has no overhead on the system.
It's only when they're used that they actually consume kernel memory. I don't know exactly how much is used, but I believe there's no additional overhead other than the inotify structure in the kernel.
If an inotify watch isn't used, it uses no memory. So simply increasing the limit has no overhead on the system.
It's only when they're used that they actually consume kernel memory. I don't know exactly how much is used, but I believe there's no additional overhead other than the inotify structure in the kernel.