Intermittant slow startup
Michael Mossey
michaelmossey at yahoo.com
Thu Apr 8 21:22:43 EDT 2004
michaelmossey at yahoo.com (Michael Mossey) wrote in message news:<9badaf0.0404081413.5cc83413 at posting.google.com>...
> Michael Hudson <mwh at python.net> wrote in message news:<m3fzbesmcx.fsf at pc150.maths.bris.ac.uk>...
> > michaelmossey at yahoo.com (Michael Mossey) writes:
> >
> > > Erik Max Francis <max at alcyone.com> wrote in message news:<4071A86D.97CA6CAE at alcyone.com>...
> > > > Michael Mossey wrote:
> > > >
> > > > > Runnng python 2.2 on HP-UX, I get intermittant slow startup.
> > > > > Sometimes python starts up in a small fraction of a second, and
> > > > > sometimes takes 3-5 seconds. This applies to any script I run, or
> > > > > just typing 'python' at the prompt.
> > > > >
> > > > > I also observed something similar on Linux.
> > > > >
> > > > > Any ideas what would cause *intermittant* slow startup?
> > > >
> > > > Caching? Is it a long time between invocations that it takes a long
> > > > time to start up?
> > >
> > > It is quite intermittant without much of a pattern I can see. One
> > > thing that is definitely true is that if I start up python several
> > > times in a row one right after the other, some can be slow and some
> > > fast. I just observed it start fast twice, then start slow. I don't
> > > remember if it ever does the other way around but I think it does.
> >
> > Does HP-UX have a version of strace/truss/ktrace?
> >
> > Cheers,
> > mwh
>
> Yes, it has strace. What do I do with that?
>
> -Mike
Okay, the thousands of people who have dropped everything to work on
this for me, you can go back to what you were doing. ;) My shared
library load path included an AFS directory that wasn't necessary.
When I took that out, it worked fine.
Thanks everyone,
Mike
More information about the Python-list
mailing list