On May 15, 12:56 am, voltron <[EMAIL PROTECTED]> wrote:
> Hi all
>
> I have taken the advice from this forum and have installed nginx as a
> proxy to the paster server. this works well, but I´m really, really
> worried about using the Paster server in a production site, for
> example, when testing a Mako template, the server just died. Are there
> tips out there to ensure stability? Or at least to make sure that all
> types of errors are handled gracefully?

I'm not sure this is a Paster issue. I think any back end server will
crash on an unhandled exception.

I've been using Apache/Paster/daemontools in production with no Paster
issues at all. (Aside: I use daemontools to control/monitor Postgres
and Apache along with the Paster server.)

You could wrap all your render_response calls in a try/except (via a
custom render_response method, say) and email any unexpected errors to
yourself. Or something of that nature...

__wyatt


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to