similar to: can''t kill infinite loop with FastCgiConfig directive

Displaying 20 results from an estimated 400 matches similar to: "can''t kill infinite loop with FastCgiConfig directive"

2006 Jan 03
1
Max Execution Time with fastcgi (and in general). Getting it done.
The purpose of this email is not to argue that there is a need to have the option of killing a single response if it takes longer than say 30 seconds. This is a worthwhile feature, years of work in php has shown me that it is. Thanks to a bit of help from various source in the community, I''ve been able to find something that works with fastcgi and surely should work with webbrick.
2005 Dec 13
1
Locals and partials
Since i can''t figure out how to use heredocs with erb. im looking at solving my problem with partials, but since partials seem to have a completely separate namespace/scope im looking for a way to pass the entire scope of the calling rhtml to the partial. ------------------------------------------------------------------------ Hunter Peress
2005 Dec 15
1
A way to handle looong executions?
Is there somewhere I can specify a maximum execution time for a given request. (Eg, someone does something in my application that brings about and infinite loop). The idea of potentially huge queries or even a programmer mistake is not impossible, and I have a hard time accepting that I will release an application that has no way of handling that.
2005 Dec 14
0
relative subdirectory of partials
if im in the views dir for the railtstest controller and render a partial like so: render(:partial=>''container/ thepartial'') then it will only work if that partial is in views/container/thepartial not if its in views/railstest/container/thepartial as I expected. but what i want is to have a dir called container inside of railstest and be able to render a partial
2005 Dec 06
0
infinite loop with breakpointer
I''ve tried my script (shouldnt matter what) with webbrick and fcgi and it errors, so I go to retry with breakpoint (and run ruby script/breakpointer) there have been times when i can get the breakpointer to work but currently with both fcgi and webbrick the entire ruby controller is looping. Sigh...any help in understanding why this is happening?
2005 Aug 11
0
fastcgiconfig in .htaccess?
Digging through some mailing list archives, I found a solution[1] (maybe) to my occasional fastcgi deaths, which return 500''s. Since I don''t have access to httpd.conf on my hosted server, is it possible to modify my .htaccess file in order to increase the idle-timeouts for fastcgi? What is the syntax? I tried adding the line: FastCgiConfig -idle-timeout 1200 -maxClassProcesses
2005 Jun 30
4
A Memoir on FastCGI and Apache
With the release of our filmfury.com project, I''ve been trying to rise to the stature of a true system administrator in the last couple of days (haha). I''m trying to understand how all of the pieces to this apache/fastcgi deployment fit together. Here''s what I''ve learned so far: * You need a separate FastCGI server for each Rails application on your
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
Hi, I''ve generated a new Rails app and dummy controller "foo" with method "hello". I am trying to run it under Apache/2.0.53 with fastcgi, and getting the index.html page when I hit http://localhost/foo/hello, or for any other request (http://localhost/kdjfslkfjs). Also, there is nothing in the rails logs, and no errors in the apache logs. Relevant bit of
2006 Jul 14
0
avoiding the application startup time
We are currently running our servers with Apache 1.3 and fastcgi (using cPanel). We have lots or rails applications running under different virtual hosts. Everything works pretty well and applications are served fast. The problem we would like to overcome is the startup time for the applications when you hit the website for the first time. We do not want to run fastcgi processes persistently due
2006 May 30
0
Performance problem with Apache-FCGI-Rails
We have our Rail 1.0 application running on Apache 1.3 with FastCGI. The httpd.conf has : <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc FastCgiServer /root/zs/public/dispatch.fcgi -processes 2 FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production -idle-timeout 120 -maxClassProcesses 2 -killInterval 300 </IfModule> The dispatch.fcgi is the default provided in the
2007 May 31
0
Branch 'as' - 8 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_string.c libswfdec/swfdec_as_strings.c libswfdec/swfdec_as_types.c test/trace
libswfdec/swfdec_as_context.c | 20 + libswfdec/swfdec_as_interpret.c | 9 libswfdec/swfdec_as_string.c | 15 - libswfdec/swfdec_as_strings.c | 2 libswfdec/swfdec_as_types.c | 2 test/trace/Makefile.am | 28 + test/trace/isnan-5.swf |binary
2006 Jul 28
7
Uploading 2+ files simultaneously
I''m having trouble uploading 2+ files simultaneously (from different client machines)... the upload page just hangs... I''m running... - ruby 1.8.4 (2005-12-24) [i686-linux] - rails 1.1.4 - red hat el 4 - apache - fcgi (0.8.7, 0.8.6.1) - firefox 1.5.0.5 - httpd.conf <IfModule mod_fastcgi.c> FastCgiIpcDir /tmp/fcgi_ipc/ AddHandler fastcgi-script .fcgi FastCGIConfig
2005 Sep 28
2
fastcgi timeout settings
I have few lengthly processes in my application, and I''m getting fastcgi timeout after 30 seconds. From apache log: FastCGI: comm with (dynamic) server "D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji I tried to set timeout in apache conf by: <IfModule> FastCgiConfig
2008 Jul 14
5
so many problem CENTOS 5.2 with DELL servers????
?I have been installed?CENTOS 5.2 on several DELL servers and have following problems (even?latest patches apply): ? 1. DELL 2650 can NOT boot under?CENTOS 5.2 PAE mode ? 2. DELL R900 can NOT boot under?CENTOS 5.2 PAE mode (inifinite boot loop) ? 3. DELL R900 with 128 GB RAM can only see 15 GB RAM under?CENTOS 5.2 Xen mode ? Anyone know why?? IS?CENTOS 5.2 certify with DELL server? ? Does?CENTOS
2010 Apr 10
0
[LLVMdev] VMKit assertion failure
OK, I know why you get that UnsatisfiedLinkError. You have made symlinks of GNU Classpath libraries with the .so suffix. Since you're on MacOS, you should do symlinks with the .dylib suffix (I notice that I'm not saying that on the webpage, I'll fix that right now). I'm not sure what to do about that core__init function. I will try to create a bigger stack to see if that changes
2010 Apr 11
2
[LLVMdev] VMKit assertion failure
On 10 Apr 2010, at 22:33, nicolas geoffray wrote: > OK, I know why you get that UnsatisfiedLinkError. You have made > symlinks of GNU Classpath libraries with the .so suffix. Since > you're on MacOS, you should do symlinks with the .dylib suffix (I > notice that I'm not saying that on the webpage, I'll fix that right > now). Thanks - that did it! All my tests
2008 Jul 25
2
[LLVMdev] Slightly improve bugpoint output
Hi all, after seeing a near inifinite stream of "Checking instruction ''" from bugpoint, I thought to improve that a bit. Turns out that bugpoint outputs the name, which is often empty (especially for the big bitcodes you want to pull through bugpoint :-). Below patch changes the behaviour to output the assembly version of the instruction instead of the name, which makes things
2005 Dec 23
1
FastCGI and large file uploads
I use dreamhost for my hosting provider, and I am working on app where it requires large files (max 10 MB) to be uploaded to the server. As of right now the fastcgi processes are configured with: FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production \ -idle-timeout 120 -maxClassProcesses 5 -killInterval 300 My problem is that I try and upload a file via the web that is around 5 MB
2006 Jan 11
3
Idle Apache+FastCGI sleeping?
Wondering: Does Apache shut down inactive FastCGI processes if it doesn''t get any requests for a while? My app works fine if it''s being used regularly, but it will respond very slowly to the first request after an hour of zero traffic. Is there a way to keep FastCGI ready all the time, even when there haven''t been any requests for a while? We''re deploying
2006 Apr 08
3
FastCGI issues
I am attempting to get Rails running on Windows with an Apache 2 server. I seem to be having some trouble, and in spite of my best efforts to find a solution, I could not. I believe that I configured Apache correctly. I have included EnableSendfile Off EnableMMAP Off Win32DisableAcceptEx FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1 -processSlack 1 \ -initial-env