Closed sereinity closed 9 months ago
Confirm, same problem here.
Thanks! Fixed in master :)
@ErikReider could you please consider to create a new release? That way downstream distros will easily bring this last fix to end-users that are not closely following master. TBH I find this bug is quite annoying and I'm looking forward to get the update in AUR. Thank you.
@ErikReider could you please consider to create a new release? That way downstream distros will easily bring this last fix to end-users that are not closely following master. TBH I find this bug is quite annoying and I'm looking forward to get the update in AUR. Thank you.
Thanks for reminding me! I'll get to it after work and my uni lectures :)
Describe the bug After ~300 notifications, swaync will display errors on
Too many open files
notification every time a notification is send.To Reproduce Steps to reproduce the behavior:
example-script
andexample-action-script
ls /dev/$(pgrep swaync)/fd | wc -l
(13 files)notify-send hello world
nofile
limit (hint: reduce it to quickly reach the limit)Expected behavior Running scripts shouldn't leak opend file descriptor.
Please provide logs if you're experiencing notification errors / bugs Logs once the limit is reached:
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Once we empty the
scripts
section in the config file, swaync will not increase the number of opened file descriptors.