Aric's suggestion seems to have done the trick. I just added from
web.wsgiserver import WorkerThread and then did exactly as the code snippet
that Aric sent below.
- Neha
On Mon, Jun 15, 2009 at 3:27 PM, Aric Coady aric.co...@gmail.com wrote:
On Jun 15, 2009, at 12:12 PM, Neha Gupta wrote:
Hello,
I have a very simple webserver that I set up using web.py. See the simplest
example here:
http://webpy.org/cookbook/helloworld
The only change that I have above is that I also have a /search url that is
handled using class search which just searches an index and prints out
the hits. The
On Jun 15, 2009, at 12:12 PM, Neha Gupta wrote:
The problem am having is that when I send a few requests one after
the other
then the server crashes. I tried to put initVM() right after import
lucene
statement at the top of the program but the crash still happens. I
also read
this post:
On Mon, 15 Jun 2009, Neha Gupta wrote:
The problem am having is that when I send a few requests one after the other
then the server crashes. I tried to put initVM() right after import lucene
statement at the top of the program but the crash still happens. I also read
this post:
I have lucene-2.4.1-py2.5-macosx-10.5-i386.egg installed which I believe
should be the latest?
- Neha
On Mon, Jun 15, 2009 at 3:36 PM, Andi Vajda va...@apache.org wrote:
On Mon, 15 Jun 2009, Neha Gupta wrote:
The problem am having is that when I send a few requests one after the
other