Re: [Tracker] First time user on FreeBSD with some troubles
- From: Jamie McCracken <jamiemcc blueyonder co uk>
- To: Aron Stansvik <elvstone gmail com>
- Cc: tracker-list gnome org
- Subject: Re: [Tracker] First time user on FreeBSD with some troubles
- Date: Mon, 24 Apr 2006 17:27:41 +0100
Aron Stansvik wrote:
Okay, I think my directories are pretty moderately broad. I'm also
suspecting some file handle limit, but it's puzzling to not see any
"Too many open files" messages. I digged some into FreeBSD
documentation and found in tuning(7):
"The kern.maxfiles sysctl determines how many open files the system sup-
ports. The default is typically a few thousand but you may need to bump
this up to ten or twenty thousand if you are running databases or large
descriptor-heavy daemons. The read-only kern.openfiles sysctl may be
interrogated to determine the current number of open files on the system."
I shall do some investigation based on this information. I'll be back
as tracker does not seg fault I'm not sure gdb will help?
I suggest valgrind though bear in mind it will run a lot slower in it.
run it with :
valgrind --tool=memcheck --num-callers=20 --track-fds=yes -v trackerd
it should at least show where file handles were opened and not closed
and any other errors.
Mr Jamie McCracken
] [Thread Prev