Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0
On 04/02/15 10:09, 최종우 wrote:
> To reproduce the problem, you can run this script. It exhausted inotify
> watches. (in order to get the result more quickly, decrease the value of
> max_user_watches.)
>
> let count=0; echo $count>>a.log; ./tail -F a.log & while true; do mv a.log
> a.log.$count; let count=count+1; echo $count>>a.log; done
>
> I tested this problem in coreutils 8.4 and 8.23.
Proposed patch to fix this is attached.
thanks,
Pádraig.