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 <albert.ab...@gmail.com <mailto:albert.ab...@gmail.com>> wrote:

    With djangoeurope.com <http://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
    <http://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
    <http://myhostname.org/web2py/gluon/widget.py>", line 866, in start
        server.start()
      File "/home/aabril/myhostname.org/web2py/gluon/main.py
    <http://myhostname.org/web2py/gluon/main.py>", line 656, in start
        self.server.start()
      File "/home/aabril/myhostname.org/web2py/gluon/rocket.py
    <http://myhostname.org/web2py/gluon/rocket.py>", line 202, in start
        self._threadpool.start()
      File "/home/aabril/myhostname.org/web2py/gluon/rocket.py
    <http://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








Reply via email to