The famd issue persisted so I gave up on xinetd altogether, and started running famd with an init script, with the ulimit setting.

Does anyone know if there is a way to stop famd from changing its user (is this part of how it implements security on the monitoring?). I've been "slaying" users on logout via the TakeConsole script, but had to work in a big kludge so famd did not get killed as well.

For anyone interested, here is my famd init script for Mandrake:

#!/bin/bash
#
# famd     Starts famd
#
#
# chkconfig: 2345 30 99
# description: This is FAM version 2.7.0.

. /etc/rc.d/init.d/functions

case "$1" in
   start)
       gprintf "Starting famd"
       ulimit -n 2048
       daemon /usr/sbin/famd -T 0
       RETVAL=$?
       [ $RETVAL -eq 0 ] && touch /var/lock/subsys/fam
       ;;
   stop)
       killall famd
       rm -f /var/lock/subsys/fam
       ;;

   *)
   echo $"Usage: $0 {start|stop|}"
   exit 1
   ;;
esac


Marc DeTrano wrote:

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









-------------------------------------------------------
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 the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_____________________________________________________________________
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