Re: [Zope] Problem with Zope Threads on Debain

2005-04-20 Thread Andrew Langmead
On Apr 20, 2005, at 5:43 AM, David wrote:
I do : ps -aux  . There is one zope process (user : zope) running in 
every moment :

zope 19004  0.3 11.0 171460 114380 ? S09:58   0:16 
/usr/bin/python2.3 /usr/lib/zope2.7/lib/python/Zope/Startup/run.py -C 
/var/lib/zope2.7/instance/ ...

However, there are a lot of apache process (6) running.
Do you know another way to obtain the number of zope threads running?
Apache spawns multiple processes, not threads. (that changes a bit with 
Apache 2, but lets ignore that for the moment.) Zope uses threads 
instead.

The Linux kernel, before version 2.6 had relatively primitive thread 
support, and built threads out of multiple processes with some memory 
sharing. Linux 2.6 has more advanced thread support that supports the 
pthread standard. One side effect of real pthreads is that all threads 
are really within the same process.

If you use the command and options "ps auxm", you will see displayed 
the threads within the process.

___
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] Problem with Zope Threads on Debain

2005-04-20 Thread David
David wrote:
>> I have installed the zope debian (sarge) package. The default number 
of
>> threads is 4 but only one thread is running.
>> I installed this package in several machines and I have this problem 
in
>> everyone.

> How are you deducing that only one thread is running?
> Chris
I do : ps -aux  . There is one zope process (user : zope) running in 
every moment :

zope 19004  0.3 11.0 171460 114380 ? S09:58   0:16 
/usr/bin/python2.3 /usr/lib/zope2.7/lib/python/Zope/Startup/run.py -C 
/var/lib/zope2.7/instance/ ...

However, there are a lot of apache process (6) running.
Do you know another way to obtain the number of zope threads running?
___
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] Problem with Zope Threads on Debain

2005-04-19 Thread Chris Withers
David wrote:
I have installed the zope debian (sarge) package. The default number of 
threads is 4 but only one thread is running.
I installed this package in several machines and I have this problem in 
everyone.
How are you deducing that only one thread is running?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
   - http://www.simplistix.co.uk
___
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 )


[Zope] Problem with Zope Threads on Debain

2005-04-14 Thread David
I have installed the zope debian (sarge) package. The default number of 
threads is 4 but only one thread is running.
I installed this package in several machines and I have this problem in 
everyone.
Somebody knows whats the possible problem?

Sorry for bad english and thank for advance.
David.
--

David Zapico
<[EMAIL PROTECTED]>
Neo Ingeniería Informática S.L.
< http://www.neosystemssl.com >
Tlfn/fax: 895 313 424

--
___
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 )