Displaying 20 results from an estimated 2000 matches similar to: "mongrel not daemonizing for me.."
2007 Mar 13
18
Daemonizing a camping server
I''m having no luck trying to daemonize mongrel running a camping server.
When mongrel daemonizes, I get:
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:723:in
`accept'': closed stream (IOError)
        from
/usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/configurator.rb:293:in
`join''
...
(This was after I disabled the unhandled exception catchall in the
2007 Oct 27
8
mongrel 1.0.3
Hello!
Run problems after upgrading to mongrel 1.0.3 from 1.0.1:
# uname -sr
FreeBSD 7.0-BETA1
# mongrel_rails start
** Starting Mongrel listening at :3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready.  TERM => stop.  USR2 => restart.  INT => stop (no restart).
** Rails signals registered.  HUP => reload
2006 Jun 13
1
log and pid file problems when using a config file w/ -C
Hi there,
I''m using Mongrel (0.3.13 prerelease, installed today) to serve up some
Rails apps in production. Everything works fine if I give all the
appropriate options on the command line, such as:
$ mongrel_rails start -c /home/mcornick/rails/mcornick.org/current -P log/mongrel.pid -l log/mongrel.log -e production -d -a 127.0.0.1 -p 6833
So, having accomplished that, I thought it
2007 Oct 17
9
proxy errors with apache2.2.3 + mongrels
I''ve posted this to rails-deployment as well.
I have to administer a medium size rails app (1''5 million requests
each day), recently I''ve switched from lighttpd + fcgi to apache +
mongrel. In the following lines I am going to describe the platform:
All machines are running Debian Etch, with 4 gb ram and dual core
intel32 processors. Web server runs debian''s
2011 Nov 24
2
This is not the error: ActionView::MissingTemplate
Hey everyone,
I am getting the following error:
Started POST "/rubyamf/gateway" for 127.0.0.1 at 2011-11-24 16:27:20 +1300
  Processing by RubyamfController#gateway as */*
  Processing by ProjectsController#templates as */*
  ←[1m←[36mProject Load (1.0ms)←[0m  ←[1mSELECT `projects`.* FROM 
`projects` ←[0
m
Completed 200 OK in 34ms (Views: 3.0ms | ActiveRecord: 28.0ms)
Completed 500
2011 Feb 01
10
SSL problems with RoR, MySQL and Apace
Hello All -
           This is my first post into this forum and somewhat of a newb
to RoR so I''m hoping someone can help.  I currently have a RoR app that
runs on Ubuntu with Apache and Mysql. There are two issues I''m having
and they are causing me to bang my head against the wall.
First one is RAILS_ENV: If I run ruby script/console it says that my
environment is development
2007 Jul 16
2
mongrel_rails start working mongrel_rails cluster::start not working
Hi everybody,
I have installed mongrel and mongrel cluster in a new linux box .... at the
end of the day I was able to lunch mongrel (mongrel_rails start -e
production) and all is working fine with.
However, when I tried to set a mongrel cluster the command mongrel_rails
cluster::start get the following output :
starting port 8000
starting port 8001
starting port 8002
But when I lunched the
2006 Aug 04
2
anyone experience problems with mongrel and sessions?
I''ve moved an application that was running under apache2/fcgi to
apache2/mongrel(mod_proxy).
under the original setup i had no problems with sessions.
now under mongrel, the users are experiencing application errors.
after looking at the logs, I am seeing that a piece of code that
relies on a session variable is what is causing the error. It seems
that the session variable no longer
2007 Oct 29
1
evented mongrel dies on USR2
Sorry if this is the wrong place to ask, but when I run mongrel
evented using swiftiply and then send it the USR2 signal to restart
it, it dies.  Without eventing, USR2 restarts mongrel as expected.
Anyone else seen this?
Here''s a dump:
$ EVENT=1 mongrel_rails start -d -P /tmp/m.pid -p 4321
Using Evented Mongrel
** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded
$ kill
2007 Oct 15
24
Design flaw? - num_processors, accept/close
Rails instances themselves are almost always single-threaded, whereas 
Mongrel, and it''s acceptor, are multithreaded.
In a situation with long-running Rails pages this presents a problem for 
mod_proxy_balancer.
If num_processors is greater than 1 ( default: 950 ), then Mongrel will 
gladly accept incoming requests and queue them if its rails instance is 
currently busy.    So even
2007 Mar 16
7
how to send mp3 inline?
hey all,
I''m trying to do a:
 send_file @file, :type => ''audio/mp3'', :disposition => ''inline'' ,:stream=>true
I tried with all browsers and it always asks me to download the file
or open it with a player. Is there a way to make it open in the
embeded player (QT,Windows media player,Mplayer etc)? Only with
konqueror if I open in new tab then I
2006 Oct 15
14
Mongrel can''t handle some URLs that IE6 sends
IE6 happily sends unsafe* characters unencoded if you''ve typed them
into the URL bar of your IE6 window.  This could happen if you copy &
paste a URL from an email or web page.
Mongrel doesn''t seem to handle these properly.  In 0.3.13.3 it would
print out something like:
   Sun Oct 15 23:05:38 CST 2006: BAD CLIENT (192.168.1.2): Invalid
HTTP format, parsing fails.
0.3.13.5
2007 May 22
4
Recommendations for eternally-running backgroundrb workers?
I''ve got some workers that I want to have running all the time.  Right
now I''m just launching them manually, by requesting a special page in
my rails app that includes lines like:
      MiddleMan.new_worker(:class=> :receiver, :job_key=>:r,
:args=>{:sleep_time=>10})
This strikes me as a really weak way to fire up my workers.  I
basically want to automate things so
2006 May 11
2
C++ Set_Metadata Problem
I refer to a problem that appeared on the flac list last August that was
either solved off-list or abandoned.
(http://lists.xiph.org/pipermail/flac/2005-August/000468.html)
The problem is with using the C++ encoder classes, particularly the
FLAC::Encoder::File:set_metadata
function. JC said that the developers version of how to add a simple
metadata block looked right, but it did not work for
2005 May 05
7
Fix for ''acpi=off''
I''ve checked in a patch that will hopefully fix ''acpi=off'' and 
''acpi=ht'' modes for domain0. It''s been tested on just one machine so 
far, so it''d be good to get some wider feedback. :-)
  -- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
2017 Feb 21
3
[PATCH 1/3] dib: unset all temporary dirs envvars in fake-sudo
The real sudo does it as well, and leaving them when preserving the
environment (-E) maybe breaks the applications, as e.g. chroot will have
a TMPDIR path pointing outside of it.
---
 dib/dib.ml | 5 +++++
 1 file changed, 5 insertions(+)
diff --git a/dib/dib.ml b/dib/dib.ml
index df83ba1..d15cd19 100644
--- a/dib/dib.ml
+++ b/dib/dib.ml
@@ -301,6 +301,11 @@ if [ -z \"$preserve_env\" ];
2006 Jun 30
12
Mongrel 0.3.13.3 -- Ruby Licensed Release
Hello Everyone,
This is the official 0.3.13.3 release of Mongrel.
Mongrel is now released under the *Ruby license* instead of the LGPL.
I''m hoping this increases the adoption of Mongrel even further and
hopefully I can start pushing to get Mongrel included in Ruby directly.
INSTALL
As usual, you install it with your friendly gem install method of
choice:
  gem install mongrel
Or
2008 Oct 22
24
Problems with enabling hypervisor C and P-state control
Hi,
Is there any documentation on enabling hypervisor support for both C
and P-state control?
On xen-unstable and linux-2.6.18-xen.hg, if I enable cpuidle=1 on the
xen command line and then run xenpm, I will get output for C-states
(shown below) but it complains that "Xen cpufreq is not enabled!"
cpu id               : 0
total C-states       : 2
idle time(ms)        : 73264
C0        
2009 Dec 15
1
[PATCH] The autotest timeout is now a command line configurable option.
By default it's 120 ms, but can be changed through command line
arguments.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
 autotest.sh |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/autotest.sh b/autotest.sh
index c67931a..bcd9bd5 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -62,6 +62,7 @@ Usage: $ME [-n test_name] [LOGFILE]
   -i:
2015 Jun 10
3
Failed to init inotify - Too many open files
Hello,
I've a problem on my system with inotify.
In the smbd logfile are shown a lot messages like this:
[2015/06/10 11:15:21.644453,  0, pid=57030, effective(12700, 100),
real(0, 0)] smbd/notify_inotify.c:297(inotify_setup) Failed to init
inotify - Too many open files
[2015/06/10 11:15:23.968497,  0, pid=57030, effective(12700, 100),
real(0, 0)] smbd/notify_inotify.c:297(inotify_setup)