On Thu, Mar 22, 2007 at 02:22:58PM -0700, Don Lindsay wrote: > > I tried a stress test, which involved calling watch_file() a great many > times. > > After about 1300 filenames, the test hung. From debug printouts, I believe > that a watch_file() never returned to my Python app. > > As it happens, I want this to work - or anyway, to be broken at a rather > larger number of calls. > > Any suggestions about what could be wrong, or what the productive line of > investigation might be?
The maximum number of file descriptor availsble to a process, since you're using RHEL4 and this use dnotify which need to open an handle on every watch. Daniel -- Red Hat Virtualization group http://redhat.com/virtualization/ Daniel Veillard | virtualization library http://libvirt.org/ [EMAIL PROTECTED] | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ _______________________________________________ Gamin-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gamin-list
