Displaying 20 results from an estimated 9000 matches similar to: "strage mongrel cluster"
2009 Feb 04
1
How to hack a mongrel cluster to restart in an alternating manner?
Hello,
I''ve been trying (unsuccessfully) to hack my mongrel_cluster to re-ststart
in an alternating manner.
Specifically, this soluiton:
http://blog.carlmercier.com/2007/09/07/a-better-approach-to-restarting-a-mongrel-cluster/#content
Which means I an call to mongrel_rails cluster::restart to do this:
mongrel_rails start 8001
mongrel_rails stop 8001
mongrel_rails start 8002
2009 May 13
0
Unabe to restart mongrel
Hello,
I have upgraded my Redmine installation for my ite using SVN. After that
i have restarted mongrel and it failed. It is never starting again.
======================
I used this command -- mongrel_rails start -d
The error reported is :--
!!! Path to log file not valid: log/mongrel.log
!!! PID file log/mongrel.pid does not exist. Not running?
The mongrel.log file and mongrel.pid file are
2007 Mar 26
4
Monit + Mongrel woes
Hello all,
So, I''ve been using monit with mongrel for a while now, since the
0.3.x days (I think it was). It used to work fine, but now I seem to
be having some trouble. I''m currently using mongrel 1.0.1 and I am
using the same monit configuration I''ve always been using, yet
everytime monit should restart mongrel, I get "Execution failed".
For the start
2009 Nov 21
3
Using mongrel_rails: Can't install Redmine as win2003 service
Hello everyone.
After stugging 3+ hours installing redmine I got success but still
can''t install redmine as service (windows 2003).
So here is my problem. I successfully installed redmine and mapped it
to mysql, created database and initialized it with default values.
Last thing I''m trying to do is to install it as service on windows
2003, and for this I''m running in
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It
complained routes.rb, no such file or directory and then sometimes i get
application.rb, no such file or directory.Doesn''t seem correct to me.
Though not so often, but even production servers throw these errors
sometimes, and i have no special routes setup or something.Its pretty much
default one, except few changes
2007 Feb 24
3
Mongrel Cluster 1.0.1.1 Prerelease: Healing power of the pack!
Hello all...
I know its been a while since the last one, but a new prerelease is
available with a gratuitous increase in version numbers!
gem install mongrel_cluster --source http://mongrel.rubyforge.org/releases/
This one has some new features in it that need to be tested on all unix
platforms. Please run --clean and cluster::status on every *nix you can
find. I run linux so the rest are up
2009 May 13
0
Problem with mongrel server (FC8) :
Hi,
I have some problem with mongrel server.
While I am trying access http://localhost:3000,
getting the following error message
mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
**
2009 Jul 29
0
Problem uploading file to database mysql blob field
Hi All,
Please help me ,I need to look into this issue asap, I need to change
the redmine functionality of uploading files to disk to upload them to
database. I tried suggestion on
http://dizzy.co.uk/ruby_on_rails/contents/store-file-uploads-in-database
but no luck , My form is multipart but still getting the error.
Please bare with me I am new to ruby and rails.
Here is the like for my
2007 Jan 17
18
mongrel memory usage ballooning and process stomping
Hi,
I have mongrel 0.3.14, with ruby 1.8.5, rails 1.1.6 and mongrel cluster
0.2.1, on debian sage 3.1 with apache 2.0, and fastthread 0.6.1.
I am load balancing 3 mongrel processes using the random port trick.
When I start mongrel the processes have about 60MB, but after some hour of
usage the memory ballons upto more than 180MB and the site becomes terribly
slow. Forcing me to restart mongrel
2007 Jun 15
1
mongrel cluster issues, plain old mongrel OK
I just created a test rails app, and am having very wierd issues with
mongrel cluster. Here''s what I''m doing:
rails test
sudo chown -R mongrel:mongrel test
cd test
sudo mongrel_rails \
cluster::configure -e production \
-p 8000 -N 3 -a 127.0.0.1 --user mongrel \
--group mongrel
It correctly writes the mongrel_cluster.yml file to the config
directory. Now,
2006 Nov 30
1
Restarting mongrel cluster from other directories
I want to restart my Mongrels from crontab
periodically to free up memory. I tried this:
[admin at mudcrapce ~]$ mongrel_rails cluster::restart -C
/var/www/apps/mudcrapce/current/config/mongrel_cluster.yml
Restarting 5 Mongrel servers...
mongrel_rails restart -P log/mongrel.3040.pid
!!! PID file log/mongrel.3040.pid does not exist. Not
running?
mongrel::restart reported an error. Use
2008 May 30
3
Mongrel error since updating to OSX 10.5.3
Howdy, I''m getting an error message when trying to run one of my rails
apps, which seems to have started after updating to 10.5.3.
mattdaw-2:v1.5_patch mdaw$ mongrel_rails start
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment...
/usr/local/ruby-patched/lib/ruby/gems/1.8/gems/mongrel-1.1.5/bin/../
lib/mongrel/tcphack.rb:12:in
2008 Feb 21
0
Capistrano and mongrel not deploying latest revision from SVN
Hello. I recently deployed my new rails application. Everything went
fine, except for the fast that my mongrel cluster managed by
Capistrano is only serving up the first revision. For instance, i one
of my revisions I added a new action to my application. I checked it
into svn, and ran cap deploy in my application''s root directory. I
didn''t get any serious errors, except for
2007 May 25
0
deadlock issue: 1.8.6/fastthread/memcached-client/mongrel
Hi all,
I''m getting a strange, intermittent Thread deadlock in production:
deadlock 0x2a988d7008: sleep:F(3) -
/opt/ruby/default/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel.rb:723
CPU usage spikes to a full core and Apache 502''s on requests that got
handed to that particular listener each time. I tried attaching with
gdb, and gdb twisted itself into a knot.
Anyone have
2007 Jul 16
1
mongrel_rails start working mongrel_rails
Thanks Bill for the answer !
In fact, my application is working well with webrick and also with a
single mongrel instance lunched via
the command : mongrel_rails start
When I check what is the difference in the gem loaded in both cases
(mongrel_rails start and
mongrel_rails cluster::start) it seems that mongrel_rails
cluster::start does not load all the gems that the first command is
loading.
So
2006 Jul 24
3
Confused on URLs to my Rails App
I need a VERY SIMPLE solution to get to my rails app. We have a
WHM/Cpanel linux server with numerous virtual servers on it. I have an
existing website called www.mydomain.com that lives in
/home/mydomain/public_html.
I have written a rails app called "test" that is in /home/mydomain/test,
and it''s rails "root" is therefore /home/mydomain/test/public.
I am an
2006 Dec 04
5
Log problem on stop/restart
I''m using the mongrel_cluster recipes for Capistrano as laid out by
codahale.com and the new ed. of the Agile Development book, but I''m
having problems on restart and stop:
I can start:
[root current]# mongrel_rails cluster::start
Starting 3 Mongrel servers...
And I can see 3 processes running:
[root current]# ps aux | grep mongrel
mongrel 1947 0.0 8.2 24684 10776 ?
2006 Jul 13
3
Mongrel Cluster 0.2.1 prerelease
Hi Y''all,
Just a quick note announce an update to mongrel_cluster.
Changes:
- ''mongrel_rails cluster::restart'' now calls ''mongrel_rails stop'' and
''mongrel_rails start''. ''cluster::restart'' now accepts the ''force''
argument instead of ''soft''.
- Added ''.conf'' as
2008 May 13
1
mongrel cluster not working
Hi
am a newbie to mongrel.. and configuring now mongrel cluster with
apache.
when i start mongrel as a stand alone instance my app is working fine,
by issuing the follwoing command.
mongrel_rails mongrel::start
when i start the mongrel cluster it is giving the following error.
mongrel_rails cluster::start
Status: 500 Internal Server Error Content-Type: text/html
500 Internal Server Error
2007 Feb 08
1
mongrel cluster and local gems loading problem
Hello,
I''m trying to augment the GEM_PATH to load gems from ~/.gem/ using this
at the begging of the rails application config/environment.rb file:
ENV[''GEM_PATH''] = File.expand_path(''~/.gem'')
This works fine from within script/console:
$ script/console
>> require ''pdf/writer''
=> true
But when I try to run: