Scavenging the mail folder uncovered Aitor Grajal Crespo's letter:
> Hello , my question is a bit complex ( for me ). I have :
>
> - Linux RH 6.1
> - python 1.5.2 --with-thread (source compiled)
> - zope 2.2.x or zope 2.3.x (source compiled)
>
> In any program in python with Linux (inclusive Zope), the threads are processes,i.e,
>they consume memory and don´t share it.
this is completely wrong. threads under linux have a different pid
but are created setting the CLONE flag so they share almost anything
(address space, shared objects, etc.)
> In Linux, I have Zope running with 4 Threads. I have five processes and everyone
>consuming about 12 MB => 12 * 5 MB = 60 MB
this is what top tell you, but try using memstat to show the real
memory consumed by each process...
ciao,
federico
--
Federico Di Gregorio
MIXAD LIVE Chief of Research & Technology [EMAIL PROTECTED]
Debian GNU/Linux Developer & Italian Press Contact [EMAIL PROTECTED]
All programmers are optimists. -- Frederick P. Brooks, Jr.
_______________________________________________
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )