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:
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
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
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
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
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
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/
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
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
:) 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
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
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
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
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
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
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
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
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
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!
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
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)
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
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
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.
[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
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 (
26 matches
Mail list logo