Ok. It's a RAM issue. the djangoeurope support answered me that:
Hello, >> >> I checked this and found the follow problem. >> web2py needs more then 60 MB ram. I temporary increased the ram limit to >> 100 MB and started the web2py with different number of threads. >> With one thread you need 71600 KB. >> 2 threads: 79796 KB >> 3 threads: 89012 KB >> 4 threads: 97208 KB >> >> You can definie the thread number with the option: "-n NUMTHREADS" >> >> aab...@s10:~/web2py$ ./web2py.py -n 2 --nogui --ip=127.0.0.1 --port=64033 >> >> >> I increased now the ram limit to 80MB for free. >> > On Mon, May 10, 2010 at 4:16 PM, Timothy Farrell <[email protected]> wrote: > It seems that the Python installed on that platform doesn't support > threads. I know of no way to lock down a process in *nix to say "You can > only have X number of threads." but that would be stupid. However, > compiling Python w/o threads is common to avoid GIL thread issues. > > I'm not sure of a better way to check this. > > > On 5/10/2010 9:13 AM, Albert Abril wrote: > > Seems that is it about permisions in threading? or maybe memory? > > On Mon, May 10, 2010 at 4:04 PM, Albert Abril <[email protected]>wrote: > >> With djangoeurope.com you can set up local proxies, which allows you to >> run your own stand-alone web servers (for example lighttpd or Django >> development server). >> Well, I tryed to config web2py with rocket but i got some errors. >> >> I opened a subdomain like: web2py.myhostname.org , and I opened a local >> port ( 64033 ), so.. >> >> >> >> aab...@s10:~/web2py: python web2py.py --nogui --ip=127.0.0.1 --port=64033 >> --a='testPassword' >> >> Version 1.77.3 (2010-04-20 02:48:54) >> Database drivers available: pysqlite2, MySQL, PostgreSQL >> Starting hardcron... >> please visit: >> http://127.0.0.1:64033 >> use "kill -SIGTERM 10388" to shutdown the web2py server >> Traceback (most recent call last): >> File "web2py.py", line 20, in <module> >> gluon.widget.start(cron=True) >> File "/home/aabril/myhostname.org/web2py/gluon/widget.py", line 866, in >> start >> server.start() >> File "/home/aabril/myhostname.org/web2py/gluon/main.py", line 656, in >> start >> self.server.start() >> File "/home/aabril/myhostname.org/web2py/gluon/rocket.py", line 202, in >> start >> self._threadpool.start() >> File "/home/aabril/myhostname.org/web2py/gluon/rocket.py", line 529, in >> start >> thread.start() >> File "/usr/lib/python2.5/threading.py", line 440, in start >> _start_new_thread(self.__bootstrap, ()) >> thread.error: can't start new thread >> >> >> >> I'm missing something or i'm doing something wrong. >> >> Regards, >> Albert >> >> >> >> >> >> >> > >

