I have host A keeps rsync files to host B and a shell script is running in host B to process whenever file is received.
Whenever the number of files synchronization is larger than 9893, i observed the problem starting from 9894 cannot be processed, what could be wrong? would it be related to any sysctl variable?
I've used inotifywatch to check and I believe rsync running in host A does the rsync work fine
inotifywait -m $TARGET_PATH -e create -e moved_to | while read path action file; do cat $TARGET_PATH/$file >> /tmp/result.txt rm -f $TARGET_PATH/$file done