I dug in a bit more.
It's been a while so forget some of the details.
if I put some thing like
ulimit -n 8196
in the startup script it last a  little longer.
Probably gets another 100 files monitored before failing

Sent bug report to debian and to fam list.
No response :(

Pretty sure the problem is in dnotify or how fam works with  dnotify.
There is an array in the dnotify part of fam. I raised from 1024.
That had no affect.
I rebuild fam without dnotify support.
It works fine but fam becomes a real hog.
When run that way fam monitors all files as the calling user. Currently running without fam.

Restarting fam will keep you going but any previosly monitored files will no long be monitored.
I wouldn't do it in production envronment.

John


Marc DeTrano wrote:

I think the "unlimited" in that case only refers to the user's processes. "ulimit -a " will give more detail ('open files' is the field I think is most interesting here). I also setup Mandrake with the "standard" security level.

And of course, there is the trusty  lsof + wc

lsof -c famd | wc -l
398

In fact, looking at the lsof output for famd does show a lot of files opened (clearly for various fam clients), but just one userid (that changes).

Perhaps its time for some more experimentation.

Marc



Joe Baker wrote:

Marc DeTrano wrote:

If I understand this right, the file-max is a limit for all file handles on the system. I don't think I am reaching that limit:

At this moment:
cat /proc/sys/fs/file-nr
33360   0       309816

(I take that to mean I am using about 1/10th the number of possible open file handles).

I suspect that the ulimit setting of 1024 open files, for a user, may be the limiting factor here (just from googling around a bit). If I see this problem recur I may bump that up to 2048 in limits.conf. I am not sure exactly how famd is supposed to work here. It looks like famd, run via xinet, will run as the logged in user (when they launch Konqueror, for instance). If another user launches Konquerer, I see famd's user change to that user in the process list--I guess it is still keeping all the files open (for all other fam clients as well), and that may be how it is reaching the 1024 limit. (maybe?) Since the user is "changing" I would have to up the limits across the board.

Thanks for your help.

Marc



When I type "ulimit", it replies "unlimited" for my configuration. I'm running Mandrake 10.1 on the "Standard" security level rather than the "high" level. I'm sure that this has implications that are relevant here.

-Joe Baker




-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
     https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net


begin:vcard
fn:John McMonagle
n:McMonagle;John
org:Advocap Inc
adr;dom:;;2929 Harrison St;Oshkosh;WI;54936
email;internet:[EMAIL PROTECTED]
title:IT Manager
tel;work:920-426-0150
x-mozilla-html:FALSE
url:http://www.advocap.org
version:2.1
end:vcard

Reply via email to