Re: [gamin] stress test hangs gamin
- From: Daniel Veillard <veillard redhat com>
- To: Don Lindsay <lindsayd cisco com>
- Cc: gamin-list gnome org
- Subject: Re: [gamin] stress test hangs gamin
- Date: Fri, 23 Mar 2007 04:17:51 -0400
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/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][Date Next] [
Thread Prev][Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]