From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,6fdf80ce2c2591e7 X-Google-Attributes: gidfee84,public From: Georg Umgiesser Subject: Re: Swap space problem Date: 1996/08/29 Message-ID: <322597E6.41C6@lagoon.isdgm.ve.cnr.it>#1/1 X-Deja-AN: 178361608 references: <322489A4.1DF2@sandoz.com> content-type: text/plain; charset=us-ascii organization: ISDGM-CNR, S. Polo 1364, 30125 Venezia, Italy mime-version: 1.0 newsgroups: comp.unix.osf.osf1 x-mailer: Mozilla 3.0 (X11; I; OSF1 V2.1 alpha) Ekkehard Goerlach wrote: > > On one of our machines we still run OSF/1 V2.0. Frequently we have a > swap space problem on that workstation (a AXP 3000/300), i.e. the > system issues messages like > "Unable to allocate swap space". Shutting down all X apps does not > help. A reboot gives only a limited time to do something before the > system runs out of swap space again. > > Right now it seems to me that this is correlated to whether some > directories hold a large number (several thousand) files. When these > files are archived away, the system is quiet again. > > Is that observation resonable ? Can I change some system parameters > to improve things ? Is this unique to V2.0 or might it happen on V3.2, > too ? > > Any hints or help are welcome > Ekkehard > > -------------------------------------------------------------------- > Ekkehard Goerlach c/o Sandoz Pharma Ltd. > PCB/CF Structural and Analytical Chemistry CH-4002 Basle > email: ekkehard.goerlach@sandoz.com Switzerland I posted a possible answer to this problem some months ago: The problem is with the X server, that continues allocating memory without ever freeing it. You can solve the problem by changing in the file "/usr/lib/X11/xdm/Xservers" the line starting with ":0 local /usr/bin/X11/X" to ":0 local /usr/bin/X11/X -terminate" and then rebooting the machine. Now, every time you log out, the X server frees all the memory it has allocated during the session. Georg Umgiesser -- __ ^/..\^ ----------------------------------------------------------m( 00 )m--- Georg Umgiesser | e-mail : georg@lagoon.isdgm.ve.cnr.it Oceanography, ISDGM-CNR | web : http://www.isdgm.ve.cnr.it/~georg/ 1364 S. Polo | tel : ++39 - 41 - 5216 875 30125 Venezia, Italia | fax : ++39 - 41 - 2602 340 ---------------------------------------------------------------------