Dear All, Iwrite applications that in module makes multiprocessing computations. to du so, I run python multiprocessing library with pool.imap loop.
However, when more than one users uses the application simultaneously, I get ValueError: semaphore or lock released too many times according to https://groups.google.com/forum/#!topic/web2py/mOTg7HMal6E I tried to add from gluon.shell import env globals().update(env('appname',import_models=True)) inside the function called in pool.imapp but then I got : RuntimeError: cannot join current thread My questions are: - how is web2py suited for simultanous usage? (e.g. should there be any problems with loading/refreshing webpage)? - how ti incorporate my multiprocessing computations on server for multiple simultanous calls? I am afraid that mixing multiprocessing and threads (as I guess - a part of web2py) in python can cause deadlocks ? Please, advice. with kind regards, Piotr -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

