What are you making the HTTP request to? How do you know it is going into an infinite loop and what specifically is going into an infinite loop?
Some more detail would be helpful in understanding the issue. Graham On 12 February 2012 06:08, Phyllipe <[email protected]> wrote: > Hi everyone, > I have a django application that works pretty fine with django web- > server. > I have a python file that uses Http() from httplib2, it works very > well! But when I create a thread and in this thread use this python > file(more precisely a class) that uses Http() it seems that I got in a > infinite loop. > I am very noob in this kind of problems, but I think the problem is in > Apache or mod_wsgi because if I use django webserver it works as well! > But if I use Apache2 + mod_wsgi it doesn't work! Other strange thing > is that in my house it works ;/, it doesn't work at my server ;(. > If I use this class(that calls Http() ) without a thread involving it, > it works fine too ;/. > This my configuration Apache/2.2.14 (Ubuntu) DAV/2 SVN/1.6.6 PHP/ > 5.3.2-1ubuntu4.10 with Suhosin-Patch mod_wsgi/3.3 Python/2.7 > configured -- resuming normal operations > I have tested with other python version too. > My httpd.conf: > ### > LoadModule wsgi_module /usr/lib/apache2/modules/mod_wsgi.so > WSGIScriptAlias / /srv/www/ufcgjudge/apache/django.wsgi > ######## > At sites-available/ufcgjudge: > """ > WSGIDaemonProcess ufcgjudge processes=2 threads=15 display-name=% > {GROUP} > WSGIProcessGroup ufcgjudge > > WSGIScriptAlias / /srv/www/ufcgjudge/apache/django.wsgi > """ > Exactly the same way that is in my house.(And works here!) > > -- > 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.
