> -----Ursprüngliche Nachricht-----
> Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]
> Gesendet: Freitag, 29. Juli 2005 15:15
> An: [email protected]
> Betreff: Re: AW: Performance
>
>
> Eickvonder Bjoern wrote:
> >>>PS: By the way where and in what kind of form can/should I post
> >>>XIndice patches that I developed like a solution for the "too many
> >>>open files problem" that can occur on linux systems (if you have a
> >>>large number of collections)?
> >
> >
> >>IMHO, you can create your collections with custom configuration which
> >>specifies maximum number of descriptors allowed (See
> >>CONFIG_DESCRIPTORS_MAX =
> >>"max-descriptors") instead of relying on the default
> >>(DEFAULT_DESCRIPTORS_MAX = 16).
> >
> >
> > Yes I know but what if at one time a collection "A" gets a high load and
> > would need 16 and sometimes later a collection "B" gets this high load
> > while "A" is not used. In that case I would prefer that the open
> > descriptors for "A" get closed if they are not used for a (configurable)
> > amount of time
>
> There is a problem with such reasoning, it is: "what if *all*
> collections get
> high load at the same time?". In this situation, you can't borrow
> descriptor
> from another collection, and you can't block and wait - this might cause
> deadlocks. Any ideas? :)
>

Yes I know, I did not say that my solution yet elimates this problem. It
just works quite well for me as in my case I got some collections that got a
very high load for an hour or so and then most probably no other collection
is touched and after this period this collection is not touched for even
days by anyone.
But I'll try to find time to think about a more sophisticated solution, I'll
tell you if I got one.

Bjoern Eickvonder

____________
Virus checked by G DATA AntiVirusKit
Version: AVK 15.0.6302 from 28.07.2005

Reply via email to