In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Jason R. Mastaler) wrote:

> Doug Hardie <[EMAIL PROTECTED]> writes:
> 
> > The interesting thing is that a ktrace of the entire process
> > (including sendmail, dspam, and tmda) shows that 85% of the ktrace
> > output is python reading (and re-reading) its various library
> > modules.  dspam uses most of the remaining 15%.  However,
> > tmda-rfilter code is read at least 3 times.  In addition,
> > /etc/hosts, /etc/services, the password file etc. are read numerous
> > times.  Often several times in a row.  There is an unbeliveable
> > amount of overhead in this.
> 
> Weird. As I alluded to before, this isn't typical. Not sure what it is
> about your setup that's causing this though. You do have TMDA
> byte-compiled, right? All the .py should be byte-compiled into
> .pyc files which should help.

Yes, the .pyc files are all there.  My initial testing was with python 
2.5.  The real test system used python 2.4 and its a bit different.  In 
addition to all the items above it also tries to delete every file with 
a .so extension each time it runs.  Obviously that won't happen as 
python is running as a user id and the python files are owned by root.  
However, there are no .so files to begin with.

_____________________________________________
tmda-users mailing list (tmda-users@tmda.net)
http://tmda.net/lists/listinfo/tmda-users

Reply via email to