Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-05 Thread Tomas Doran
Octavian Râsnita wrote: My development and test server is under Windows and the production server under Linux, so because perl is not a really fully portable language, I also need to do tests under the production server, which is not very nice. If your development environment doesn't look as

Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-05 Thread Ash Berlin
On 5 May 2009, at 04:36, Jon Schutz wrote: Octavian Râsnita wrote on 5/4/09 5:43 PM: It would be nice to be able to limit the number of requests per fastcgi child process... On Mon, 2009-05-04 at 19:56 -0500, Peter Karman wrote: Catalyst::Plugin::AutoRestart Would I be correct in

[Catalyst] Slow fastcgi

2009-05-04 Thread Octavian Rasnita
Hi, I have started using fastcgi with a Catalyst app, using it as an external server, but I've seen that it works very slow and many requests give a timeout error and display a 500 error because of this. I started the Catalyst app using: /oct/TB/script/tb_fastcgi.pl -l /tmp/tb.socket -n 5

Re: [Catalyst] Slow fastcgi

2009-05-04 Thread Joel Bernstein
On 4 May 2009, at 09:19, Octavian Rasnita wrote: I have started using fastcgi with a Catalyst app, using it as an external server, but I've seen that it works very slow and many requests give a timeout error and display a 500 error because of this. [snip] Here is the configuration for the

Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-04 Thread Ian Wells
On 4 May 2009, at 09:19, Octavian Rasnita wrote: I have started using fastcgi with a Catalyst app, using it as an external server, but I've seen that it works very slow and many requests give a timeout error and display a 500 error because of this. This is a fairly standard sort of problem,

Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-04 Thread Octavian Râsnita
From: Ian Wells i...@cack.org.uk On 4 May 2009, at 09:19, Octavian Rasnita wrote: I have started using fastcgi with a Catalyst app, using it as an external server, but I've seen that it works very slow and many requests give a timeout error and display a 500 error because of this. This is

Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-04 Thread Ian Wells
I tried it, but it gave the following error which I don't understand: 2009-05-04 20:04:04: (plugin.c.165) dlopen() failed for: /usr/lib64/lighttpd/mod_fastcgi.so /usr/lib64/lighttpd/mod_fastcgi.so: cannot open shared object file: No such file or directory 2009-05-04 20:04:04: (server.c.621)

Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-04 Thread Octavian Râsnita
From: Ian Wells i...@cack.org.uk I tried it, but it gave the following error which I don't understand: 2009-05-04 20:04:04: (plugin.c.165) dlopen() failed for: /usr/lib64/lighttpd/mod_fastcgi.so /usr/lib64/lighttpd/mod_fastcgi.so: cannot open shared object file: No such file or directory

Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-04 Thread Peter Karman
Octavian Râsnita wrote on 5/4/09 5:43 PM: It would be nice to be able to limit the number of requests per fastcgi child process... Catalyst::Plugin::AutoRestart -- Peter Karman . http://peknet.com/ . pe...@peknet.com ___ List:

Re: [Catalyst] Slow fastcgi: A debugging aid

2009-05-04 Thread Jon Schutz
Octavian Râsnita wrote on 5/4/09 5:43 PM: It would be nice to be able to limit the number of requests per fastcgi child process... On Mon, 2009-05-04 at 19:56 -0500, Peter Karman wrote: Catalyst::Plugin::AutoRestart Would I be correct in my reading of the code, that since the exit()