Re: [Zope] Re: INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-07 Thread Lennart Regebro
On 10/7/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Ok, does this error message mean that it is "just" a swap problem so that I 
> wont have to install gcc, Python anymore?
> Having run "top", I could dectect that there is 10,241,428k total Swap. About 
> 3,856,000k of it is actually being used and approximately 6,384,000k is free 
> and about 463,000k is cached.

I seriousy doubt you are using 3 GB of swap, you probably mean 3,856K.
:) Meaning that you have a total of 10MB of swap which is very little.

> I expect the 6,384,000k free space not to be enough - right? But what 
> processes am I allowed to kill? Are there any processes that are absolutely 
> neccessary?

A good rule of thumb is to have the same amount of swap as you have
internal memory. This should be somewhere between 128MB and several GB
for any reasonably configured computer.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-07 Thread benmania

Hello, 

Ok, does this error message mean that it is "just" a swap problem so that I 
wont have to install gcc, Python anymore? 
Having run "top", I could dectect that there is 10,241,428k total Swap. About 
3,856,000k of it is actually being used and approximately 6,384,000k is free 
and about 463,000k is cached. 
I expect the 6,384,000k free space not to be enough - right? But what processes 
am I allowed to kill? Are there any processes that are absolutely neccessary? 

Ben


Nikko Wolf <[EMAIL PROTECTED]> schrieb am 06.10.05 17:00:38:
> 
> Jens Vagelpohl wrote:
> > 
> > On 6 Oct 2005, at 11:39, [EMAIL PROTECTED] wrote:
> >>
> >> virtual memory exhausted: Nicht genügend Hauptspeicher verfügbar
> >> error: command 'gcc' failed with exit status 1
> >> make *** [build] Fehler 1
> > 
> > 
> > Have you actually *read* the output? It tells you, quite clearly,  even 
> > in German, that you don't have enough memory on that machine.
> > 
> 
> Indeed, although it's virtual memory (a.k.a. "swap space" or "swap" -- 
> although more RAM might help)  Not meaning to insult you, but see: 
> http://de.wikipedia.org/wiki/Virtuelle_Speicherverwaltung
> 
> At the command prompt, run "top" and look at the "Swap:" line, which 
> should show large values for "total" and "free" such as:
> Swap: 1959888k total, 356276k used, 1603612k free, 124196k cached
> 
> If "total" is high, but "free" is not, you can have 'ps' list the 
> virtual memory used by each process and sort it in increasing usage with 
> something like:
> ps -Ao pid,user,stime,vsize,args | sort +3n
> 
> Cheers,
> N
> 
> 
> 


__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Re: INSTALLING gcc (and ZOPE) on DEBIAN

2005-10-06 Thread Jens Vagelpohl


On 6 Oct 2005, at 11:39, [EMAIL PROTECTED] wrote:

The whole error message is (after entering the "make" - command) :

---
"/usr/bin/python" "/Zope-2.7.5-final/setup.py"\
build --build-base="/Zope-2.7.5-final/build-base/python-2.3" -- 
build-lib="/Zope-2.7.5-finale/build-base/python-2.3/build-lib" -- 
build-scripts="/Zope-2.7.5-finale/build-base/python-2.3/build- 
scripts" --build-temp="/Zope-2.7.5-final/build-base/python-2.3/ 
build-temp"

running build
running build_py
running build_ext
building 'ExtensionClass' extensions
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict- 
prototypes -fPIC -I/Zope-2.7.5-final/lib/Components/ExtensionClass/ 
src -I/usr/include/python2.3 -c ../Components/ExtensionClass/src/ 
ExtensionClass.c -o /Zope-2.7.5-final/build-base/python-2.3/build- 
temp/../Components/ExtensionClass/src/ExtensionClass.o


virtual memory exhausted: Nicht genügend Hauptspeicher verfügbar
error: command 'gcc' failed with exit status 1
make *** [build] Fehler 1


Have you actually *read* the output? It tells you, quite clearly,  
even in German, that you don't have enough memory on that machine.


jens

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )