hi, i have two problem when helping someone setting up a site

first, for it is a very simple site that what they need is just a
query interface for translation and original message

so i made a simple app and run it with the built-in server
but after days using it, they report me that it will increse memory
usage when server running, i checked it and find they are right
so is there any solution can made the built-in server's memory usage
be controlable , like release those memory after user request complete

the secondary problem is that after that, i think what i should do it
change it under fastcgi mode, so i use the fastcgi mode which is my
faverest

my target we server is nginx for which i configure to let all request
be handled to the fastcgi server made by web.py

and then in my application, the url router is like

/key point to processer
and
/.* point to index redirect

urls = (
    "/key", "queryProcesser",
    "/.*", "index"
)

class index:
    def GET(self):
        raise we.seeother("/static/index.htm")

this works well on the built-in server
but under the fastcgi mode

when i open http://localhost/ by brownser
it will take me  to  http://localhost/static/index.htm
and then to http://localhost/static/index.htm/static/index.htm
and then to http://localhost/static/index.htm/static/index.htm/static/index.htm
and ...

is it a bug or just the fastcgi mode's limit?



-- 
welcom to gtalk me
http://hi.baidu.com/jyf1987

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en.

Reply via email to