This page is specific to Ubuntu versions 7.10, 8.04
If you find this information applicable to additional versions/releases, please edit this page and modify this header to reflect that. Please also include any necessary modifications for this information to apply to the additional versions.
Applications such as Firefox and Openoffice.org utilize what you call X11 "Pixmap caching", which caches viewed images on local thin-client memory (READ: not the server) for fast viewing. This can be troublesome for low-memory thin-clients (< 256MB typically), as pixmap cache can consume ALL of the thin-client memory, causing X to crash as well as other undesired behavior. This practice contradicts the generally accepted view that thin-clients need not large amounts of memory, since they rely on the server for the heavy lifting (CPU/Memory requirements).
Steps are being taken by the Firefox and Openoffice.org team to make their programs more robust for thin-client environments such as LTSP by limiting the amount of pixmap caching that happens. In the meanwhile, however, and with other offending applications, the following procedure can be executed to limit the amount of havoc that occurs when an application tries to consume all of a thin-client's memory:
Create and/or edit /var/lib/tftpboot/ltsp/i386/lts.conf (or the directory of your thin-client architecture) and add the following line:
- Reboot your thin-clients.
"X_RAMPERC" stands for "X RAM PERCENT". It will cause Firefox, OpenOffice.org and other offending applications to crash (with no warning) after consuming 80% of the total thin-client memory, yet will not cause the ultimate havoc of locking the entire X session.
Apparently, Firefox 3 has optimization capabilities for thin-client environments such as LTSP.