Hi Mike - I have included our /etc/hosts.allow file (Between the ======='s 
below): Read what follows. My question to you is this: Do we need to worry 
about the swap file at all? I also checked the /usr/sbin/nbdswapd file and 
the last line is indeed - rm -f $SWAP.

Is rm -rf $SWAP something I can build into my flush file that I use to clean 
out all the open processes?
Cheers,
Keith

# ============================================================
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#                   See the manual pages hosts_access(5) and 
hosts_options(5).
#
# Example:    ALL: LOCAL @some_netgroup
#             ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#
nbdrootd: ALL: keepalive
# ============================================================
NOTE that the above does not include
nbdrootd: ALL: keepalive
nbdswapd: ALL: keepalive
as they have suggested below. - Keith

>> Hi,
>> I know, there has been a thread discussing this problem, but I didn't see 
>> any
>> solution.
>
> Well, I suppose the thing to do would be to quantify WHY they're not being
> deleted automatically.
>
> If you look at /usr/sbin/nbdswapd, the last line is:
>
> rm -f $SWAP
>
> So, when the nbd-server exits, it should clean up after the swap file.
>
> The other important file to note is:
>
> /etc/hosts.allow
>
> Which should have:
>
> nbdrootd: ALL: keepalive
> nbdswapd: ALL: keepalive
>
> in it.  That way, when you turn off the terminal, after the tcp timeout 
> period
> has elapsed, the nbd-server process will exit cleanly, and clean up the 
> file.
>
> Do you have dead nbd-server processes hanging around?
>
> Cheers,
> Scott
>
>
> -- 
> Scott L. Balneaves | "There are many causes I am prepared to die for,
> Systems Department |  but no causes I am prepared to kill for."
> Legal Aid Manitoba |    -- Mohandas Karamchand Gandhi
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's 
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the 
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _____________________________________________________________________
> 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 


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_____________________________________________________________________
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