Hello all,

I have a bunch of CGIs that make use of pythonw (+cgiwrap) to allow me  
to send AppleEvents (via appscript) to applications on the web server  
machine.

Everytime I hit one of these CGIs, pythonw launches a Python  
application (which makes sense). While this machine is under heavy-ish  
load (CPU hogging applications), it feels like launching pythonw takes  
"too long" (read: a second or two, which is too long in CGI time.)

Is it possible to leave pythonw open all of the time, and avoid paying  
the "launch costs", or is the price for launching pythonw too minimal  
to notice ("time... says...")? (Meaning that I should try to optimize  
my system some other way, like moving the CPU hogging process off that  
machine...)

Thanks for your advice on the situation,
_Ryan Wilcox

_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to