The attempt in ltspserver:/etc/rc.local to save space my unmounting the initial ramdisk always fails with EBUSY (Device or resource busy) because initrd:/bin/dhclient is still running as a demon. This wastes 2000KB of RAM, which is 1/3 of available memory on a client with 8MB RAM [the stock ltsp kernel uses 2MB], and should not be ignored even on a 16MB client.
The quick-and-dirty solution: before the umount, do kill -TERM `ps ax | sed -n -e '/dhclient/s/ *\([0-9]*\).*/\1/p'` 2>/dev/null where stderr is discarded because both the dhclient and the sed command string match. This is dirty because the dhcp lease info is lost; there will be a problem when the dhcp lease expires (default 3hrs). Forwarding the dhclient state files is cumbersome because the ramdisk on /tmp is not available yet. Perhaps some re-arranging of steps in rc.local can fix this. dhclient might offer a "no demon" option, but I could not find it. I could not get "kill -TERM dhclient" to work, contrary to documentation.
With careful kernel .config, compiling-in the driver for a specific ethernet card, removing unneeded modules from initrd (down to 630KB), and using NFS swap, I have gotten to runlevel 3 on a 25MHz 486 with only 4.6MB RAM. I expect runlevel 4 and print+modem client to work reasonably. Swapping to local IDE disk should allow X11 to run.
Regards,
------------------------------------------------------- This SF.Net email is sponsored by: INetU Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php _____________________________________________________________________ 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
