[Zope] large numbers of pcgi_publisher.py instances...

Tony McDonald tony.mcdonald@ncl.ac.uk
Wed, 23 Jun 1999 14:43:31 +0100


Hi all,
I've just noticed that when I shutdown my Zope server (1.10.2 on 
SunOS5.6) to load up new products and restart it (by reloading the 
site in my web browser) that I have a lot of processes lying around;

% ps -ef | grep py
   nobody 12289     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12171     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12163     1  0   Jun 18 ?        0:03 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12299     1  0   Jun 18 ?        0:02 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12323     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12309     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12317     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12291     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 24943     1  0 14:29:17 ?        0:02 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12311     1  0   Jun 18 ?        0:02 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12295     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12167     1  0   Jun 18 ?        0:02 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12307     1  0   Jun 18 ?        0:02 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12303     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12285     1  0   Jun 18 ?        0:03 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
   nobody 12272     1  0   Jun 18 ?        0:00 python 
/home/nnle/zope/pcgi/pcgi_publisher.py
     nnle 24957 24917  0 14:31:47 pts/5    0:00 grep py
   nobody 12293     1  0   Jun 18 ?        0:03 python 
/home/nnle/zope/pcgi/pcgi_publisher.py

The correct pid (from var/pcgi.pid) is 24943.

Obviously, these processes have been around for a while (and the 
server has been running all the time since then), but after my last 
escapade with pcgi  (I had it running whilst I had a port:9673 
invocation of Zope running under ZopeHTTPServer .... bad karma, blown 
database) I thought I'd better check....

any ideas?
tone.
------
Dr Tony McDonald,  FMCC, Networked Learning Environments Project
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2