Installing Webpack 9.1 on "low-memory" machine (SUSE-10.2)

Jan 29, 2007 5 Replies

Hallo,



I tried to install Webpack 9.1 on three different Suse 10.2 machines: Centrino with 1.5 GiByte, Dual P2 with 640 MiByte and Athlon with 512 MiByte. Only on the Centrino machine, the install finalized. On both "low-memory" machines, install aborted without any further notice at about "86 %" of the install progress bar.



"strace" showed



18644 mmap2(NULL, 8392704, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,\ -1, 0) = -1 ENOMEM (Cannot allocate memory)
18643 NULL) = 0 and soon after that
18644 --- SIGABRT (Aborted) @ 0 (0) ---

Plenty of Swap was available, but not touched. "top" reported over 1 GiByte "VIRT" memory usage short before that abort.



Any other similar observations? Is this perhaps somethind Suse/Linux specific?



Thanks


Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

On a sunny day (Mon, 29 Jan 2007 18:25:17 +0000 (UTC)) it happened Uwe Bonnes wrote in :

Installs fine on a 360 MB memory Linux Debian machine here. Are you sure swap was enabled? man swapon?

On a sunny day (Mon, 29 Jan 2007 18:49:56 GMT) it happened Jan Panteltje wrote in :

Oh and it says it only works on 32 bit processors, the Athlon is out?

Older athlons are still 32-bit, perhaps you remember ;-)

Linux hertz 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006\ i686 athlon i386 GNU/Linux

Uwe Bonnes bon@elektron.ikp.physik.tu-darmstadt.de Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt --------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

Yes, other programs do use swap.

-- Uwe Bonnes snipped-for-privacy@elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik Schlossgartenstrasse 9 64289 Darmstadt

--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

If you run WebPACK on a 64-bit Linux system, the installer will complain and tell you how to run the 32-bit installer (buried in a bin directory). That will run fine (at least on Fedora Core 6).

Once it's installed, there's one further hurdle. The settings.sh file (or the .csh equivalent) use the output of a "uname -m" command to decide whether the host is 32-bit or 64-bit, and set the PLATFORM environment variable appropriately. Unfortunately since WebPACK only comes in 32-bit, it gets this wrong. But if you replace the conditional in that script that sets PLATFORM with simply "PLATFORM=lin", then it works fine.

Eric

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required