-
Bug
-
Resolution: Done
-
Critical
-
None
-
5.0.0.Final
-
None
-
None
-
None
Hi all,
when testing MTA 5.0.0 Web Console I encountered the following error:
After uploading an artifact, it would throw queuing-related exceptions in the log, the package identification step would never finish.
Drilling down, I found it was related to the "inotify.max_user_watches" on my system. Yes, I also had to up the max file handles (there's a warning in the log if too low) but that didn't fix this particular issue.
This fixed it for me: (MTA 5.0.0 final Web Console on RHEL CSB 7.5)
After checking
cat /proc/sys/fs/inotify/max_user_watches
(don't remember the values, but was comparatively low, must be default, as the /etc/sysctl.conf, /etc/sysctl.d/, /usr/lib/sysctl.d/,... didn't contain this setting)
I added the max (for testing, I haven't tested any lower settings) of
fs.inotify.max_user_watches=524288
to my
/etc/sysctl.conf
and then reloaded with
sudo sysctl -p
and: ta-dah! It works
Maybe we can add a check for a sane (not 524288) value and spit out a warning. Took me some time to find the issue.
Cheers & keep up the great work, much appreciated!!