"No app instances" Message on Long Running Task?

21 views
Skip to first unread message

project...@googlemail.com

unread,
Nov 3, 2008, 10:02:23 AM11/3/08
to scalr-discuss
Hi,

We seem to have an ongoing problem, receiving the "No app instances"
message. It seems to be happening when we invoke a long running
process via the web front end. We're running Drupal and a common task
is to clear the Drupal caches from the admin panel, this can take a
minute or so if the caches are full. I don't know if the duration of
the process is a red herring but it's typically when we see the "no
app instances". When I clear the caches using the app instances IP
(i.e. I don't go through www) the process completes with no issues, to
me this suggests an issue between www and app...

There's nothing in the Apache logs to suggest any restarts or other
issues.

Any help much appreciated.
Paul.

Alex Kovalyov

unread,
Nov 3, 2008, 10:33:16 AM11/3/08
to scalr-...@googlegroups.com
It's an issue with a default nginx read/write timeout being too small for
you.

Here's what you may want to do:

1. Add the following lines in /etc/nginx/nginx.conf:

proxy_read_timeout 240;
proxy_send_timeout 240;

Somewhere after proxy_buffering parameter.

The default values for both are 60 seconds. Having 240 should help.


On 03.11.08 17:02, "project...@googlemail.com"

project...@googlemail.com

unread,
Nov 3, 2008, 10:48:28 AM11/3/08
to scalr-discuss
Excellent. Thanks for your help (again!).

On Nov 3, 3:33 pm, Alex Kovalyov <alex.koval...@gmail.com> wrote:
> It's an issue with a default nginx read/write timeout being too small for
> you.
>
> Here's what you may want to do:
>
> 1. Add the following lines in /etc/nginx/nginx.conf:
>
> proxy_read_timeout 240;
> proxy_send_timeout 240;
>
> Somewhere after proxy_buffering parameter.
>
> The default values for both are 60 seconds. Having 240 should help.
>
> On 03.11.08 17:02, "project.auth...@googlemail.com"
Reply all
Reply to author
Forward
0 new messages