On Feb 19, 1:09 pm, John_Nowlan <[EMAIL PROTECTED]> wrote: > Anyone run into the problem of really, really slow mod_python pylons pages? > I.e. paster serve is < 1s, but under mod_pyton is >10s? > > I had to create a virtual python installation and create various symbolic > links across file systems to get things working, but they do work, just > really, really slow. Could this be causing slowness? > > It seems like each request is 'interpreting/compiling' things from scratch. > > I do see *.pyc and *.pyo files, i.e.: > > lrwxrwxrwx 1 jnowlan ccs 35 Jan 20 05:20 httplib.py -> > /usr/local/lib/python2.5/httplib.py > -rw------- 1 jnowlan ccs 39449 Nov 24 14:46 httplib.pyc > lrwxrwxrwx 1 jnowlan ccs 36 Jan 20 05:20 httplib.pyo -> > /usr/local/lib/python2.5/httplib.pyo > > This is on a unix box, and I'm sorry for not providing more details but I've > become a windows ignoramus and don't know what might be happening under unix. > As well as being relatively new to python. > > There, have I coverd my *ss enough? > Just thought someone might know.
I don't have an answer to your question, but on a related note, I like (conceptually, at least) the idea of running Paste server behind a reverse proxy. Have you tried that setup? You could set up Paste server using this (long but fairly straightforward): <http://pylonshq.com/project/pylonshq/wiki/ DaemonTools>, then set up Apache in front. If you've already tried something like that, how did it work out? __wyatt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
