Re: [Tracker] "too many files opened" critical messages



On 24/07/09 18:51, Laurent Aguerreche wrote:
Hi!

Hi :)

tracker-miner-fs prints many critical messages like this one:

(tracker-miner-fs:19358): Tracker-CRITICAL **: Could not open directory
'file:///local/laguerre/Bullet/src/BulletCollision/NarrowPhaseCollision': Trop de fichiers ouverts

where "Trop de fichiers ouverts" means "Too many files opened".

I found that this message is printed by tracker-crawler.c, around line
854. It seems that the crawler is trying to open as many files as it
can  :-/

I haven't seen this since I started writing the code and forgot to close things up :)

How many files can you have open? For me it is this:

$ cat /proc/sys/fs/file-max
334640

I never see this error of course.

Also, can you break at that point and tell me what crawler->private->enumerations is set as? It shouldn't be > 100.

--
Regards,
Martyn



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]