Yep, I was not out of the woods yet...

This is a tough issue to reliably test. It looks like in addition to the soft and hard limits you can set in the limits.conf, there is also a kernel-limit to cap it all off. root can override that limit, so I also added:

ulimit -n 2048

in the start section of /etc/init.d/xinetd (and perhaps a similar modification would be done to famd's init script if not using xinetd).

This *seems* to be working better now. But only time (and end users) will tell.

Marc



John McMonagle wrote:

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







-------------------------------------------------------
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






-------------------------------------------------------
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

Reply via email to