Displaying 13 results from an estimated 13 matches for "maxprocesses".
2006 Feb 01
3
apache2 / fcgi / RoR - no connection
...levant bit of httpd.conf:
<IfModule mod_fastcgi.c>
AddHandler fastcgi-script .fcgi
</IfModule>
FastCgiIpcDir /tmp
FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20-initial-env RAILS_ENV=development -processes 2
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1
[ ... ]
<Directory /tmp/rubystuff/testapp/public>
RewriteEngine On
RewriteRule ^$ index.html [QSA]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA...
2006 Apr 08
3
FastCGI issues
...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
PATH="c:/ruby/bin;c:/windows/system32;c:/windows;C:/mysql/bin" \
-initial-env RUBYOPT=rubygems
in httpd.conf per this article:
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows
As soon as I try to access any...
2006 Jan 11
3
Idle Apache+FastCGI sleeping?
...ails/public"
<Directory "approot/rails/public">
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from localhost 127.0.0.1
Order allow,deny
AddHandler fastcgi-script .fcgi
</Directory>
</VirtualHost>
FastCgiConfig -initial-env RAILS_ENV=production -maxProcesses=1
Am I missing anything?
--
Jason Anderson
http://www.thenewjhp.com
2005 Jun 30
4
A Memoir on FastCGI and Apache
...kslashes in the above FastCgiServer line
should be removed--those three lines are really one line.)
- An example dynamic configuration:
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc/
AddHandler fastcgi-script .fcgi
FastCgiConfig -restart -minProcesses 5 -maxProcesses 50 \
-initial-env RAILS_ENV=production -idle-timeout 360 \
-pass-header HTTP_AUTHORIZATION
</IfModule>
As of this writing, I have been unable to get the dynamic processes
to stay running (they die mysteriously and do not get restarted even
though the -restart direc...
2018 Apr 25
0
qemu crash, qemu_thread_create: Resource temporarily unavailable
Hi
My qemu is 2.9.0, libvirt is 3.4.0.
I start many guest in short time(128G pyhsical memory ,1G per guest, 90 guest), and then run memtest on guest system.memtest just occupy guest memory,so when run memtest, host will allocate memory for guest. I run memtest on all my guest, and some guest will encounter crash. qemu log has qemu_thread_create: Resource temporarily unavailable record,I ask
2019 Jul 27
1
Dovecot, FreeBSD, and Solr?
On Fri, Jul 26, 2019 at 2:44 PM @lbutlr via dovecot <dovecot at dovecot.org>
wrote:
> On 26 Jul 2019, at 09:35, dovecot at filter.demeijer.com wrote:
> > I basically followed https://www.c0ffee.net/blog/mail-server-guide/ And
> > dovecot with solr is running fine on freebsd for me.
>
> Thanks for that link, looks very straight-forward.
>
>
I too followed that
2006 Feb 03
0
FastCgiExternalServer vs. static/dynamic
I''m trying to switch to the "external" fcgi method.
In httpd.conf, this works:
FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20 -processes 4
FastCgiConfig -maxClassProcesses 2 -maxProcesses 2 -minProcesses 1
-processSlack 1
This fails with an error (the public/500.html page is returned):
FastCgiExternalServer "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20 -host localhost:19999
For the external, I am also starting
$ cgi-fcgi -start -connect localhost:199...
2006 Jan 19
0
Rails with Apache - application failed to start
...article
http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows
to make rails work with apache:
Install Apache2, latest stable version
Install the latest Ruby Installer for Windows
Install the latest Ruby For Apache
In httpd.conf I have:
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env PATH=e:/ruby/bin;d:/windows/system32;d:/windows \
-initial-env RUBYOPT=rubygems \
-initial-env
MAGICK_CONFIGURE_PATH=e:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.7.0-mswin32/config
When I browse http://127.0.0.1/ it shows ok, but when I click...
2005 Dec 30
0
XP Apache FastCGI ok if RAILS_ENV="", crash when RAILS_ENV="production"
....0.55 (msi)
- Ruby for Apache 1.3.1
- Database backend is now Oracle 8.1
Everything run fine with default environment, I''m confused for
switching into ''production''.
By default RAILS_ENV is null, and my env is like explained by Deme :
FastCgiConfig -maxClassProcesses 1 -MaxProcesses 1 -minProcesses 1
-processSlack 1 \
-initial-env PATH="c:/ruby/bin;C:/oracle/ora817/bin;[snip]
-initial-env RUBYOPT=rubygems \
-initial-env MAGICK_CONFIGURE_PATH=C:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.2-mswin32/config
Also tried to add more process values.
This setup works fi...
2006 Aug 05
0
RMagick and FastCGI on Windows
...so that is
misleading.
For prod, I am running Apache2 and FastCGI (yes, I got it working.)
RMagick is not working however. The best lead I have is from here:
(http://dema.ruby.com.br/articles/2005/08/23/taming-fastcgi-apache2-on-windows)
It says to try this:
FastCgiConfig -maxClassProcesses 1 -maxProcesses 1 -minProcesses 1
-processSlack 1 -initial-env
PATH="c:/ruby/bin;c:/windows/system32;c:/windows;"
-initial-env RUBYOPT=rubygems \
-initial-env
MAGICK_CONFIGURE_PATH="c:/ruby/lib/ruby/gems/1.8/gems/RMagick-win32-1.9.2-mswin32/lib;"
No luck.
Can anyone give me any ideas to tr...
2006 Dec 15
2
Dovecot "open files" (again?)
I'm a new dovecot user, just began using it last week. I switched from
courier because my research showed that Dovecot did indexes, and allows me
to store them anywhere I chose. I did this, and it fixed some severe disk IO
issues that my server had. (25k horde only webmail install using imap
proxy).
I'm using quotas, and by default had it set to 'dirsize'. my postfix is
already
2008 Sep 23
3
7.0-stable: a hung process - scheduler bug?
Hello!
I was trying to build OpenOffice using all of my 4 CPUs. To be able to
do other work on the machine comfortably, I ran the build under nice,
and assigned real-time priority to the two Xorg processes.
The build started at about 23:10 last night, and hung at 23:46. The
procstat output for the make's process group is:
PID PPID PGID SID TSID THR LOGIN WCHAN EMUL
2006 Feb 08
5
debugging 500 Internal Server Error when dispatch.fcgi run?
I''m trying to get my Ruby on Rails application to work under Apache. It
works fine when run as WEBrick ("ruby script/server").
As suggested in
http://www.ocssolutions.com/support/ruby/troubleshooting-ruby-on-rails.php
, I tried running dispatch.fcgi on the command line. When I run it, no
matter where I run it, it outputs:
500 Internal Server Error
Both the #! (shebang)