> It would be nice to know where in the code it is spending all that time. > > I would consider installing the debug symbols for python, and getting a C and > python backtrace with gdb. oprofile is also an excellent tool, and very little disruptive to the behavior of your production server. Regards, Zooko