Re: [Tracker] First time user on FreeBSD with some troubles

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
with results/findings.

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

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