Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Too many to handle #16

Open
aitch251 opened this issue Jul 26, 2016 · 1 comment
Open

Too many to handle #16

aitch251 opened this issue Jul 26, 2016 · 1 comment

Comments

@aitch251
Copy link

Hey,

First: Great and helpful tool. Using this for one year and it was working most of the time.

Setting:
Debian
FTPd Server
Customer uploads pictures
watcher triggers a console application which makes a SQL Insert into our MySQL
a daemon handles this files and moves them where i want the files

Problem:
New customer upload sometime more than 200 Files at once
watcher seems not to be able to handle it
sometimes around 80 files don't get paste into MySQL

So i guess because of too many actions watcher can't queue the actions anymore

Suggestions? I will now check again what could be the problem.

Thanks!

@bertalanimre
Copy link

Couldn't it be this issue with you as well?

Troubleshooting

If inotify is reporting that it can't create watches due to lack of disk space, but you have plenty of disk space and inodes available, then you may have to raise the max number of inotify watches.

To check the max number of inotify watches:

cat /proc/sys/fs/inotify/max_user_watches

To set the max number of inotify watches:

echo 20000 | sudo tee -a /proc/sys/fs/inotify/max_user_watches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants