[Zope] No more than two threads?

Michel Pelletier michel@digicool.com
Thu, 23 Sep 1999 11:15:09 -0400


I don't think Solaris 'ps' by default shows you threads, just processes
(which can contain multiple contexts of execution -- threads).  I
suspect there is a 'ps' option to show threads.

-Michel

> -----Original Message-----
> From: Tony McDonald [mailto:tony.mcdonald@ncl.ac.uk]
> Sent: Thursday, September 23, 1999 10:25 AM
> To: Zope List
> Subject: [Zope] No more than two threads?
> 
> 
> Hi,
> My start script is;
> 
> #! /bin/sh
> reldir=`dirname $0`
> PYTHONHOME=`cd $reldir; pwd`
> export PYTHONHOME
> exec /home/Zope-2.0.0-solaris-2.6-sparc/bin/python \
>       $PYTHONHOME/z2.py -t 6 -p 'Zope.cgi' \
> #     -D "$@"
>          "$@"
> 
> The Zope.cgi part works fine, as does the Zserver part (ie on 
> port 8080).
> 
> The thing is that if I  do
> % ps -ef | grep py
> 
> I get,
>      nnle 17768 17767  0 12:57:37 ?        3:36 
> /home/Zope-2.0.0-solaris-2.6-sparc/bin/python /home/Zope-2.0.0-solari
>      nnle 17767     1  0 12:57:37 ?        0:00 
> /home/Zope-2.0.0-solaris-2.6-sparc/bin/python /home/Zope-2.0.0-solari
>      nnle 18963 18751  0 15:21:07 pts/10   0:00 grep py
> 
> That means there's just two threads running, right?
> 
> Anyone got any ideas?
> Tone
> ------
> Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
> http://nle.ncl.ac.uk/
> The Medical School, Newcastle University Tel: +44 191 222 5888
> Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://www.zope.org/mailman/listinfo/zope
> 
> (To receive general Zope announcements, see:
> http://www.zope.org/mailman/listinfo/zope-announce
> 
> For developer-specific issues, zope-dev@zope.org -
> http://www.zope.org/mailman/listinfo/zope-dev )
>