Read: http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading
In particular guidelines at end. In short, you are running in multithreaded configuration so different requests can interfere with each other if use globals which are mutex protected. Graham On Thursday, September 16, 2010, Jan Koprowski <[email protected]> wrote: > Hi, > > I just red > http://code.google.com/p/modwsgi/wiki/ApplicationIssues#Application_Global_Variables > and I have few questions. I wrote simple application (thanks Your > supplementary-groups) in Bobo framework using many global variables. > Few days ago noticed strange behavior - application act like one > request rewrite to global variables of different request. Is it > possible? My Apache work in prefork mode and my DaemonProcess > configuration looks: > > WSGIDaemonProcess abc user=username group=master_group supplementary- > groups=supplementary_group processes=3 threads=25 python-path=/user/ > username/reviewboard/westerlee/conf:/user/username/ system/lib/ > python2.6/site-packages > > This is caused by threads=25 or other bahaviour? > > Greetings from Poland! > -- > Jan Koprowski > > -- > You received this message because you are subscribed to the Google Groups > "modwsgi" 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/modwsgi?hl=en. > > -- You received this message because you are subscribed to the Google Groups "modwsgi" 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/modwsgi?hl=en.
