similar to: Multiple logs from Mongrels

Displaying 20 results from an estimated 100000 matches similar to: "Multiple logs from Mongrels"

2009 Mar 27
1
Starting Mongrels = no such file to load -- initializer (load error)
I''ve searched high and low and cannot find a solution to this problem. Any help would be appreciated. My problem is when starting my mongrels with this command: mongrel_rails start -d -p 3000 -P log/mongrel1.pid I get this error in my mongrel_rails_persist.log: ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with production environment...
2007 May 09
7
Webbrick and/or Mongrels Dies Overnight
I have a SuSE 10.0 server that was first running Webbrick, and now Mongrel. In both cases, I can have them running and used all day. However, either one of them will go unresponsive in the middle of the night for seemingly no reason. Being that I only use Mongrel now, I check the mongrel.log, and nothing unusual there. I check /var/log/ messages, and nothing there. Still, a request to
2007 Nov 16
2
strange Mongrel 500 error
Hi, When I start mongrel as a non root user, I will get an 500. In my log/production.log I see this: file /home/paul/rails/Test/releases/20071115232111/tmp/sessions// ruby_sess.9a975fe464a2f6ba not readable ... when I start mongrel as root everything works fine. Can anyone imagine whats up there? Thanks in advance, Paul PS: is it a bad idea to run mongrel as root? (security etc.)
2007 May 24
0
reverse proxy holding onto port, complicated
I have a rails app that is behind a firewall and I need to be able to ssh into the box, so I do this... - create a reverse tunnel from the rails system to my system using ssh -R - ssh from my system to the rails system thru the reverse tunnel It works great ! But, if/when I restart my mongrel cluster, one of the mongrels always fails with an "port in use" error. I guess
2007 Mar 28
2
[OT] Starting Mongrel on Mac: Launchd or Crontab?
I have some Rails apps I use on my Mac to do brutally stupid stuff like track time and activities. They''re always running, but each time I restart, I (duh) have to restart the Mongrels. Well, I know better than that, right? So I dug around in Google to find out how people are getting Mongrels started using Launchd. There are some detailed posts, but none of them seemed to work. My
2007 Oct 03
1
Vlad problems
I am having trouble getting rake vlad:start to work.. here is the output: ivan:04:39 PM:www2.sustainablewebsites.com> rake vlad:start (in /Users/ivan/Sites/www2.sustainablewebsites.com) !!! PID file log/mongrel.8000.pid does not exist. Not running? mongrel::stop reported an error. Use mongrel_rails mongrel::stop -h to get help. !!! PID file log/mongrel.8001.pid does not exist. Not running?
2008 Apr 18
2
synchronize mongrel cluster
Hi everyone, I would like to know if there''s a way to synchronize the actions in a mongrel cluster. Basically, how do I make sure that a specific controller action gets executed by only one mongrel server at one time? I obviously cannot use Mutex::synchronize, because we''re talking about different processes. I looked into using optimistic and pessimistic locking. I
2007 Aug 27
0
layout not seen by some clustered mongrel instances
Hi -- I have setup a fairly simple Rails site. It uses a layout and 4 clustered instances of Mongrel running on ports 8001 through 8004. The instance of Mongrel running on port 8001 seems to work perfectly. For some reason, the other 3 instances Mongrel are behaving as though they don''t see the layout. Does anyone know why that is; and, more importantly, what to do about it? Thanks.
2007 Jun 06
10
Attachment_fu S3 uploads killing mongrel
I was wondering if anyone here has seen a similar error to this... >From mongrel.log /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/ transactions.rb:85:in `transaction'': Transaction aborted (ActiveRecord::Transactions::TransactionError) from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/ configurator.rb:293:in `call'' from
2007 May 22
4
Process safe log files with multiple mongrels
I have a rails application that runs on multiple mongrels and I would like to make the log files non-interlacing. Are there any logging modifications/other loggers out there that I could use to create process safe logging? Thank you, Matt Margolis
2008 Nov 21
1
mongrel problems
Hi, I am using mongrel on win2k. after i start mongrel only one engine handles all the request so the requests are served serially. How can i run multiple instances of mongrel so that requests are directed to the mongrel instance which is not busy. Another thing is that sometimes if the request takes long then mongrel does not time out the request.(i am using mongrel on windows) . As a result
2006 Aug 25
2
running multiple mongrels from same application root - is it safe?
Hi All I was wondering if I run multiple mongrels from same application root (one physical path) on the same machine is it safe as far as logging is concerned. I mean won''t there be race conditions or file locks and out of sequence logging statements? TIA -daya -------------- next part -------------- An HTML attachment was scrubbed... URL:
2010 Jan 26
1
Mongrels Hanging in mysql_adapter.rb
Hi everyone, I have been trying to solve this problem for quite some time now and I really don''t have any further clue to investigate. I am running a mongrel_cluster 1.0.5-2 (mongrel verison : 1.1.5-5) on a ubuntu box with apache2 2.2.12-1ubuntu2.1 I have 4 different apps on the same box and each app has two mongrel instances. After a short period of time ( < 2 hours ) some of the
2007 Apr 10
1
AWD page 624-626 Understanding how Apache, Mongrel and Rais work together?
I''m trying to understand the ''Big Picture'' of how Ruby on Rails applications are deployed and operate in distributed environment (one deployment server, many remote servers). I follow AWD by Dave Thomas'' explanation from pages 624-626. From reading these pages I have these questions; 1. How does the RonR instance on the ''remote'' server gain
2008 Oct 07
7
Rails production version not accessible from other machines
Hi, I just deployed my first rails application in production mode using Capistrano and mongrel clusters. Here are the lines in my mongrel_cluster.yml file. cwd: /myrailsdeploymath/current log_file: log/mongrel.log port: "8000" environment: production address: myserver.mydomain.org id_file: tmp/pids/mongrel.pid servers: 3 My development and production machine are the same. When I run
2007 Jul 19
0
one mongrel with *lots* of close_wait tcp connections
* cross posted to the mongrel mailing list* Hi, I''m running into a strange issue where one mongrel will sometimes develop hundreds of CLOSE_WAIT TCP connections, mostly to apache (I think -- see sample lsof output below). I haven''t had a chance to get the mongrel with this behavior into USR1 debug mode yet. I wrote a little loop below that will catch it next time. This
2007 Jan 29
8
Cluster 3 mongrel servers residing in different machines (Windows)
Hi All, Machine A: has Apache 2.2 doing load balancing, also has DB and 8 mongrel processes I''m using mongrel_cluster . Now, I want to run Mongrels on Machine''s B and C (ie Cluster 3 Mongrels in three different machines). Is this possible? If possible then, please describe me the steps required (I''m using windows machines, and already losdt one week :-( ) Best
2006 Dec 14
0
Apache2, Mongrel & multiple apps
I''m running Apache 2.0 as a proxy to several Mongrel/Rails apps, so that all of my Mongrel apps can be routed through the single Apache IP address. The problem I''m having is that this setup works well for apps that do not use the public/index.html file as the main page. For any apps that do use public/inedx.html as the main page, none of the links off of index.html work. So no
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
2006 Nov 05
2
logrotate, mongrel cluster and monit
While I could figure this out, I''m asking here first to see if anyone has already dealt with/created this. I''m running a mongrel cluster, running 4 mongrels on ports 8001-4. I''m using capistrano to deploy. And I''d like to use monit to check to make sure everything is running nice. I''d like to have monit restart only single mongrels if they fail, and