Re: Django FCGI process randomly dying

2011-05-19 Thread Alexander Schepanovski
Or just don't use fcgi. Django's runfcgi command uses flup package which is slow and buggy. Just switched ne of our projects to uwsgi and load average dropped from 12 to 4. On 18 май, 21:07, Simon Connah wrote: > On 18 May 2011, at 10:14, Vincent den Boer wrote: > > > On Monday 16 of May 2011 14:

Re: Django FCGI process randomly dying

2011-05-18 Thread Cal Leeming [Simplicity Media Ltd]
Might I recommend the OP try "Supervisor" (google for Supervisord and supervisorctl). They are absolutely marvellous for this sort of thing, we've been using it in production for over a year now :) On Wed, May 18, 2011 at 2:07 PM, Simon Connah wrote: > > On 18 May 2011, at 10:14, Vincent den Boe

Re: Django FCGI process randomly dying

2011-05-18 Thread Simon Connah
On 18 May 2011, at 10:14, Vincent den Boer wrote: > On Monday 16 of May 2011 14:12:45 Alexander Schepanovski wrote: >> Do you log django's stdout/stderr. You could do that with --outlog and >> --outerr options of runfcgi command > > It's running with those options now. And I'm waiting for it to

Re: Django FCGI process randomly dying

2011-05-18 Thread Vincent den Boer
On Monday 16 of May 2011 14:12:45 Alexander Schepanovski wrote: > Do you log django's stdout/stderr. You could do that with --outlog and > --outerr options of runfcgi command It's running with those options now. And I'm waiting for it to die again ;). -- You received this message because you are

Re: Django FCGI process randomly dying

2011-05-16 Thread Alexander Schepanovski
Do you log django's stdout/stderr. You could do that with --outlog and --outerr options of runfcgi command On 16 май, 17:06, Vincent den Boer wrote: > Hi, > > I'm using Django 1.3 with Lighttpd 1.4.28 via FCGI. It works fine, but the > Django > process tends to die randomly. After it dies I have

Django FCGI process randomly dying

2011-05-16 Thread Vincent den Boer
Hi, I'm using Django 1.3 with Lighttpd 1.4.28 via FCGI. It works fine, but the Django process tends to die randomly. After it dies I have to manually restart it. Does anyone have an idea what could cause this? Kind regards, Vincent den Boer -- You received this message because you are subsc

Re: Django fcgi deployment on bluehost

2010-06-10 Thread John Shaver
I know a bit about setting it up on bluehost. Have you already tried following their helpdesk article? http://helpdesk.bluehost.com/index.php/kb/article/000531 Are you installing your own python, or are you using the already installed one? You should have python 2.6 already installed (/usr/bin/

Re: Django fcgi

2010-06-10 Thread Kenneth Gonsalves
On Thursday 10 June 2010 19:13:54 Jeliuc Alexandr wrote: > Thank You! :) > It was tag. > beer on you next time we meet ;-) -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google Groups "Django users" group. To po

Re: Django fcgi

2010-06-10 Thread Jeliuc Alexandr
Thank You! :) It was tag. On Jun 10, 3:34 pm, Kenneth Gonsalves wrote: > On Thursday 10 June 2010 17:53:56 Jeliuc Alexandr wrote: > > > I'don't know.. if i have debug-toolbar in my isntalled applications it > > shows debug toolbar stacked on screen if i take it out i got > > simple white screet

Re: Django fcgi

2010-06-10 Thread Jeliuc Alexandr
:) It is very good idea. I've some js blocks. Thank You. Kenneth On Jun 10, 3:34 pm, Kenneth Gonsalves wrote: > On Thursday 10 June 2010 17:53:56 Jeliuc Alexandr wrote: > > > I'don't know.. if i have debug-toolbar in my isntalled applications it > > shows debug toolbar stacked on screen if i take

Re: Django fcgi

2010-06-10 Thread Kenneth Gonsalves
On Thursday 10 June 2010 17:53:56 Jeliuc Alexandr wrote: > I'don't know.. if i have debug-toolbar in my isntalled applications it > shows debug toolbar stacked on screen if i take it out i got > simple white screet without any data ... > what should it be? fcgi file? or .htaccess ? > my only expe

Re: Django fcgi

2010-06-10 Thread Jeliuc Alexandr
I'don't know.. if i have debug-toolbar in my isntalled applications it shows debug toolbar stacked on screen if i take it out i got simple white screet without any data ... what should it be? fcgi file? or .htaccess ? On Jun 10, 3:20 pm, Kenneth Gonsalves wrote: > On Thursday 10 June 2010 17:29:3

Re: Django fcgi

2010-06-10 Thread Kenneth Gonsalves
On Thursday 10 June 2010 17:29:31 Jeliuc Alexandr wrote: > Hello. I just installed django on remote host using fcgi mode... > Now I've strange problem it works for chrome and gives error for > firefox > what error? -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You rec

Django fcgi

2010-06-10 Thread Jeliuc Alexandr
Hello. I just installed django on remote host using fcgi mode... Now I've strange problem it works for chrome and gives error for firefox What is the problem? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Django fcgi deployment on bluehost

2010-06-09 Thread Jeliuc Alexandr
Hello. Is there any one using django on bluehost? Two days I'm trying to set up it... :( Please help me!! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscr

Re: Django, FCGI, Cherokee. Spawning PHP Processes and detaching?

2009-04-30 Thread Oli Warner
You're a fair way down this route already but I'll tell you what I would do faced with a similar situation: 1. Set up a local-only site inside Cherokee with my PHP and have it output the results in a nice format (I'd use JSON) 2. Use urllib2 and simplejson to pull the data back into Djang

Django, FCGI, Cherokee. Spawning PHP Processes and detaching?

2009-04-29 Thread aaron smith
Hey All, Sorry If I don't have some of this terminology correct. Here's my problem. I have a django app, which I'm serving with Cherokee and FCGI. My django app manages a bunch of stuff, and has to make a couple calls to an external soap service, to record some customer data. Unfortunately, I ca

Re: lighttpd & django, fcgi issues

2008-04-07 Thread Douglas E
On Apr 8, 4:12 am, skunkwerk <[EMAIL PROTECTED]> wrote: > thank you so much Ramiro, >I've removed the .fcgi file. the problem turned out to be that the > url.rewrite part of the configuration was in my original setup, but > was producing a warning and was being ignored because I hadn't > unco

Re: lighttpd & django, fcgi issues

2008-04-07 Thread skunkwerk
thank you so much Ramiro, I've removed the .fcgi file. the problem turned out to be that the url.rewrite part of the configuration was in my original setup, but was producing a warning and was being ignored because I hadn't uncommented the mod_rewrite module in lighttpd.conf it's working now!

Re: lighttpd & django, fcgi issues

2008-04-07 Thread Ramiro Morales
On Sun, Apr 6, 2008 at 6:53 PM, skunkwerk <[EMAIL PROTECTED]> wrote: > > I'm having trouble running django with lighttpd (I'm not on a shared > host). Here is what I've installed: > > ubuntu 7.10 > lighttpd > flup > cmemcache > python > > When I go to my web address which maps to the djan

Re: lighttpd & django, fcgi issues

2008-04-07 Thread skunkwerk
thanks Douglas, i guess there's something wrong with the way lighttpd and django are connecting, because both of them are installed properly. Which means there has to be something wrong with one or more of: a) the start fcgi daemon command b) lighttpd.conf c) yourfilename.fcgi as far as a)

Re: lighttpd & django, fcgi issues

2008-04-07 Thread Douglas E
On Apr 6, 11:53 pm, skunkwerk <[EMAIL PROTECTED]> wrote: > I'm having trouble running django with lighttpd (I'm not on a shared > host). Here is what I've installed: > > ubuntu 7.10 > lighttpd > flup > cmemcache > python > > When I go to my web address which maps to the django project > directory

lighttpd & django, fcgi issues

2008-04-06 Thread skunkwerk
I'm having trouble running django with lighttpd (I'm not on a shared host). Here is what I've installed: ubuntu 7.10 lighttpd flup cmemcache python When I go to my web address which maps to the django project directory, all I see is a directory listing, not any django pages. I started fcgi lik

Django + FCGI on 1and1 shared hosting

2006-09-28 Thread Ivan Manolov
I was able to get Django to work with FCGI but the problem I'm running into is that I get a 500 Error randomly on every few requests. I downloaded a copy of the application and ran it using mod_python. Everything seems to be fine. Here is what my django.fcgi and .htaccess files look like: django.

Re: running django fcgi process as a normal user

2006-07-03 Thread Ivan Sagalaev
[EMAIL PROTECTED] wrote: > I am a bit nervous running my fcgi django server as root. Is there a > way of downgrading the process to another user id ? As I understand, > execution does not run through the web server anymore (which is running > as nobody) I'm not a unix admin but I've managed to mak

running django fcgi process as a normal user

2006-07-03 Thread [EMAIL PROTECTED]
Hi I've setup my fcgi server to run through a SysV style init script, but now the server runs as root. I am a bit nervous running my fcgi django server as root. Is there a way of downgrading the process to another user id ? As I understand, execution does not run through the web server anymore (