

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
27 messages in ru.sysoev.nginxRe: spawn-fcgi-1.6.0rc1-r16 prerelease]| From | Sent On | Attachments |
|---|---|---|
| Cliff Wells | Feb 18, 2009 6:36 pm | |
| mike | Feb 18, 2009 10:25 pm | |
| Phillip B Oldham | Feb 19, 2009 1:40 am | |
| mike | Feb 19, 2009 2:04 am | |
| Cliff Wells | Feb 19, 2009 3:14 am | |
| mike | Feb 19, 2009 8:09 am | |
| Jim Ohlstein | Feb 19, 2009 8:31 am | |
| Icy -- | Mar 8, 2009 11:09 am | |
| mike | Mar 8, 2009 12:00 pm | |
| Icy -- | Mar 8, 2009 12:39 pm | |
| mike | Mar 8, 2009 1:17 pm | |
| Jim Ohlstein | Mar 8, 2009 1:21 pm | |
| Icy -- | Mar 8, 2009 3:01 pm | |
| Grzegorz Nosek | Mar 8, 2009 3:09 pm | |
| mike | Mar 8, 2009 3:16 pm | |
| mike | Mar 8, 2009 3:18 pm | |
| Grzegorz Nosek | Mar 8, 2009 3:30 pm | |
| Grzegorz Nosek | Mar 8, 2009 3:31 pm | |
| Icy -- | Mar 8, 2009 3:38 pm | |
| Grzegorz Nosek | Mar 8, 2009 3:39 pm | |
| Icy -- | Mar 8, 2009 4:05 pm | |
| mike | Mar 8, 2009 4:20 pm | |
| Icy -- | Mar 8, 2009 4:45 pm | |
| mike | Mar 8, 2009 5:16 pm | |
| Grzegorz Nosek | Mar 8, 2009 11:27 pm | |
| Grzegorz Nosek | Mar 8, 2009 11:41 pm | |
| mike | Mar 9, 2009 12:25 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread Paste this link in email or IM: |
| Atom feed for this thread Paste this URL into your reader: |
| Subject: | Re: spawn-fcgi-1.6.0rc1-r16 prerelease] | Actions... |
|---|---|---|
| From: | Grzegorz Nosek (grze...@gmail.com) | |
| Date: | Mar 8, 2009 3:30:07 pm | |
| List: | ru.sysoev.nginx | |
On nie, mar 08, 2009 at 11:02:02 +0100, Icy -- wrote:
I have never used fcgiwrap and in fact just discovered it. As I understand it, it uses fcgi to then spawn cgi processes? Why not code the application as a FastCGI one? That would be way faster in terms of performance. The only reason you would need that is to either run CGI apps on a remote host or to overcome the lack of cgi support in nginx.
Well, I wrote it to run unmodified CGI scripts under Nginx. Yes, it's basically a FastCGI server that handles requests by running CGI scripts and passing data to/from them.
And all you find via google are invalid bugreports. Saying something can be found on the internet doesn't make it true. Again I think you guys completely misunderstand the role of spawn-fcgi. It sets up some sockets and spawns a processes. That's basically it. It is in NO way involved with handling the requests. If something crashes or hangs then that's the fault of the application. PHP in this case (and it has been known to do so in past releases). This is not spawn-fcgi's fault. After spawning the application, spawn-fcgi is no more around normally. How can something that is not running cause such problems?
QFT.
Aside from that, even though fcgiwrap is capable of running several processes simultaneously, spawn-fcgi will only start one. I may be wrong
... one fcgiwrap, which can then fork into several ones, overcoming that limitation.
but I believe that's an inherent limitation of spawn-fcgi's command options.
I believe that's just a missing feature. There's nothing (except added complexity of process management) preventing spawn-fcgi from adding a --prefork=<num> option.
You can of course (as I said earlier) start multiple processes by calling spawn-fcgi multiple times (with different command options for the address).
This is not equivalent. If I want multiple identical FastCGI processes, I always run them on the same socket to completely avoid load balancing issues.
Telling spawn-fcgi to spawn like 10 processes is not possible because how should it know which addresses to bind to?
Run them all on the same socket.
Best regards, Grzegorz Nosek







