[Rails] Re: Mongrel hangs with 100% CPU / EBADF (Bad file descriptor)

2013-08-28 Thread Anthony E.
you guys got my hopes up. thought this was the 2013 Revival Tour for my post. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, s

[Rails] Re: Mongrel hangs with 100% CPU / EBADF (Bad file descriptor)

2013-08-28 Thread Daniel Weber
Sorry, I didn't mean to hurt your feelings. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+u

Re: [Rails] Re: Mongrel hangs with 100% CPU / EBADF (Bad file descriptor)

2013-08-27 Thread Hassan Schroeder
On Tue, Aug 27, 2013 at 3:48 PM, Daniel Weber wrote: > ruby 1.9.2p136 > > gettimeofday is being called as fast as possible, using up 99% of a CPU. Something's probably trying desperately to catch up to the present. ( Currently: late summer, 2013. ) Seriously, you're responding to a 5-year-old p

[Rails] Re: Mongrel hangs with 100% CPU / EBADF (Bad file descriptor)

2013-08-27 Thread Daniel Weber
I have had the same issue. It does not always reproduce, but I have a machine that runs into it at least once a day. ruby 1.9.2p136 gettimeofday is being called as fast as possible, using up 99% of a CPU. Has anyone found a solution? -- Posted via http://www.ruby-forum.com/. -- You receive

[Rails] Re: Mongrel::HttpParserError: Invalid HTTP format, parsing fails

2011-08-22 Thread Frederick Cheung
On Aug 22, 1:18 pm, "Gaurav S." wrote: > Same problem facing here got any solution? > Well if you're saying that the mime type is application/x-www-form- urlencoded but you're sending arbitrary binary data, then mongrel is quite rightly saying that what you've given to it isn't an application/

[Rails] Re: Mongrel::HttpParserError: Invalid HTTP format, parsing fails

2011-08-22 Thread Gaurav S.
Same problem facing here got any solution? Regards Gaurav Saini Uma Mahe wrote in post #932433: > Hi All, > >How to solve this issue ? > Thu Aug 12 10:49:15 +0530 2010: HTTP parse error, malformed request > (127.0.0.1): # fails.> > >I'm working with the drag and drop files upload

[Rails] Re: Mongrel not starting up for new apps, but is fine on old

2010-12-28 Thread Cameron Vessey
ok I notice that the builds are diferent old apps dont have a Configuration/application.rb but the new applications does it has Bundler.require(:default, Rails.env) if defined?(Bundler) and i do have bundler 1.0.7 installed doubt thats the problem but its the only diference The old apps we

Re: [Rails] Re: Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError

2010-12-01 Thread Rob Biedenharn
On Dec 1, 2010, at 12:25 PM, Ralph Shnelvar wrote: OMG. Do you actually have spaces in your image file names? -- Hassan Schroeder hassan.schroe...@gmail.com twitter: @hassan Yes ... why not? I have not had any troubles with spaces in file names on my Windows developm

Re: [Rails] Re: Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError

2010-12-01 Thread Walter Lee Davis
On Dec 1, 2010, at 12:25 PM, Ralph Shnelvar wrote: Yes ... why not? I have not had any troubles with spaces in file names on my Windows development environment, Linux static web page environment, or Linux RoR environment. What's the issue? A URL must not contain spaces, which is why bro

Re: [Rails] Re: Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError

2010-12-01 Thread Hassan Schroeder
On Wed, Dec 1, 2010 at 9:25 AM, Ralph Shnelvar wrote: > I have not had any troubles with spaces in file names on my Windows > development environment, Linux static web page environment, or Linux RoR > environment. > > What's the issue? You just found it -- or at least one -- apparently :-) Spac

[Rails] Re: Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError

2010-12-01 Thread Ralph Shnelvar
> OMG. Do you actually have spaces in your image file names? > > -- > Hassan Schroeder hassan.schroe...@gmail.com > twitter: @hassan Yes ... why not? I have not had any troubles with spaces in file names on my Windows development environment, Linux static web page environ

[Rails] Re: Mongrel is Terminating Automatically

2010-06-30 Thread pepe
If you google for 'segmentation fault' you'll get many hits on the topic. I have read a couple of them and they seem to be related to memory problems with the garbage collection mechanism or with hardware that is not able to perform the requested operations. I don't know if this is the case but ma

[Rails] Re: Mongrel is Terminating Automatically

2010-06-29 Thread laz
I face the same problem with my webrick server. I am new to ROR, so any thought on why this occurs would be very helpful. -Laz On Jun 11, 3:34 am, sumanta wrote: > Dear All, > > I am facing a problem - when I am hittinghttp://localhost:3000/login_c > to enter to our system, webrick/mongrel quiti

[Rails] Re: mongrel / webrick process not shutting down properly in dev env. after ^C

2010-06-07 Thread Michael Nissim
pixelhandler wrote: > FYI - I found a way to stop the process... > > http://railstips.org/2007/2/12/oops-i-did-it-again > > comand line... (shows your process) > ps aux | grep script/server > sudo kill -9 (kill your process X is the PID) Thank bro, that helps a lot! Got it working again fo

[Rails] Re: mongrel issue dev vs. prod

2010-05-04 Thread Frederick Cheung
On May 3, 11:25 pm, Me wrote: > I can start this app in dev mode fine but it blows up when I do -e > production.  Here is what I get from the brief output in the cli:   No > idea what is going on and why it would do that in prod mode. > The main difference between production mode and development

Re: [Rails] Re: Mongrel not starting

2010-03-03 Thread Michael Pavling
On 3 March 2010 16:19, John Mcleod wrote: > Thank you for the reply. > > Yes, after 1 minute of nothing. > > John Nothing? You're going to have to help us to help you: How are you trying to start it? (command line? in an IDE? in a script?) What gets displayed? (** Starting Mongrel listening at 0

[Rails] Re: Mongrel not starting

2010-03-03 Thread John Mcleod
Thank you for the reply. Yes, after 1 minute of nothing. John -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscr

[Rails] Re: Mongrel not starting

2010-03-03 Thread Frederick Cheung
On Mar 3, 2:58 pm, John Mcleod wrote: > Hello all, > I'm have a problem starting Mongrel. > > I get the following... > > user-fc0e6f:ProjectDB johnmcleod$ script/server mongrel > ^C/Library/Ruby/Gems/1.8/gems/mongrel-1.1.5/lib/mongrel/gems.rb:11:in > `require': Interrupt Interrupt usually means

[Rails] Re: Mongrel not starting

2010-03-03 Thread John Mcleod
Maybe a gem list would help too. - Gems - *** LOCAL GEMS *** acl9 (0.12.0) actionmailer (2.3.5, 2.3.4, 2.2.2, 1.3.6) actionpack (2.3.5, 2.3.4, 2.2.2, 1.13.6) actionwebservice (1.2.6) activerecord (2.3.5, 2.3.4, 2.2.2, 1.15.6) activerecord-oracle-adapter (1.0.0.9250) activeresource (2.3.5, 2.3.4,

Re: [Rails] Re: Mongrel to Apache

2010-01-12 Thread Norm Scherer
Marnen Laibow-Koser wrote: ... Yup. It's hard to think of a good reason to use Mongrel with Apache these days. Best, --  Marnen Laibow-Koser http://www.marnen.org mar...@marnen.org Running on Windows might be a reason -- You received this message because you are subscrib

[Rails] Re: Mongrel to Apache

2010-01-11 Thread Marnen Laibow-Koser
Jeff Burlysystems wrote: > For mongrel deployment behind apache, you might want to check out: > http://mongrel.rubyforge.org/wiki/Apache > > Instead of mongrel, you may want to look at deploying via passenger: > http://www.modrails.com/install.html Yup. It's hard to think of a good reason to use

[Rails] Re: Mongrel to Apache

2010-01-11 Thread Jeff Lewis
For mongrel deployment behind apache, you might want to check out: http://mongrel.rubyforge.org/wiki/Apache Instead of mongrel, you may want to look at deploying via passenger: http://www.modrails.com/install.html Jeff On Jan 9, 12:05 pm, Derek Smith wrote: > Hi All, > > We have a RoR app, SQLi

[Rails] Re: Mongrel fails to start after installation of plugin prawnto

2010-01-10 Thread Fritz Trapper
Fritz Trapper wrote: >uninitialized constant ActiveSupport::Memoizable (NameError) This was nonsense, sorry. mysql was missing. After running apt-get install libmysqlclient15-dev gem install mysql My app now runs again. Thanks for your help. -- Posted via http://www.ruby-forum.com/.

[Rails] Re: Mongrel fails to start after installation of plugin prawnto

2010-01-10 Thread Fritz Trapper
Frederick Cheung wrote: > the version to use is set in environment.rb (unless you have frozen > rails into vendor) Thanks, now the debugger is starting up, but the bad news is, that I still get the same message, than with the former version: uninitialized constant ActiveSupport::Memoizable (N

[Rails] Re: Mongrel fails to start after installation of plugin prawnto

2010-01-10 Thread Frederick Cheung
On 10 Jan, 14:45, Fritz Trapper wrote: > Frederick Cheung wrote: > > > Sounds like your app is using a version of rails that is too old > > That's what I guessed and for that completly uninstalled rails and gem > from my system and reinstalled gem1.8 + rails 2.3.5 > > But it did not change anyt

[Rails] Re: Mongrel fails to start after installation of plugin prawnto

2010-01-10 Thread Fritz Trapper
Frederick Cheung wrote: > On 10 Jan, 11:23, Fritz Trapper wrote: >> After I installed prawnto in my project, Mongrel fails to start with >> these backtrace lines: > > Sounds like your app is using a version of rails that is too old That's what I guessed and for that completly uninstalled rails a

[Rails] Re: Mongrel fails to start after installation of plugin prawnto

2010-01-10 Thread Frederick Cheung
On 10 Jan, 11:23, Fritz Trapper wrote: > After I installed prawnto in my project, Mongrel fails to start with > these backtrace lines: Sounds like your app is using a version of rails that is too old fred > /home/inet/Aptana RadRails > Workspace/wvz/vendor/rails/activesupport/lib/active_supp

[Rails] Re: mongrel stand alone for small site

2009-11-24 Thread MJFuzz
Great Thanks! On Nov 24, 4:17 pm, Niels Meersschaert wrote: > Mongrel will easily handle that volume.  Up until a couple years ago, mongrel > was the defacto deployment system for Rails.  One thing to keep an eye on > with mongrel is memory usage.  You might want to restart it periodically to

[Rails] Re: mongrel

2009-10-25 Thread Rick
The default server was changed to webrick. Assuming you have already installed mongrel (gem install mongrel) then you can just type: script/server mongrel On Oct 25, 10:53 am, Wang Pengcheng wrote: > How do you update your rails? > Use the gem or not? > > Maybe you should reinstall your mong

[Rails] Re: mongrel

2009-10-25 Thread Wang Pengcheng
How do you update your rails? Use the gem or not? Maybe you should reinstall your mongrel. 2009/10/25 老鼠 > > On Oct 25, 3:47 pm, Michael Gao > wrote: > > I update rails from 2.0.2 to 2.2.3. I enter the command ruby > > script/server, it always start mongrel by default before, but now the > > s

[Rails] Re: mongrel

2009-10-25 Thread 老鼠
On Oct 25, 3:47 pm, Michael Gao wrote: > I update rails from 2.0.2 to 2.2.3. I enter the command ruby > script/server, it always start mongrel by default before, but now the > server start webrick. How can I start the server by mongrel now? > -- > Posted viahttp://www.ruby-forum.com/. try to ins

[Rails] Re: mongrel

2009-10-25 Thread Leonardo Mateo
On Sun, Oct 25, 2009 at 4:47 AM, Michael Gao wrote: > > I update rails from 2.0.2 to 2.2.3. I enter the command ruby > script/server, it always start mongrel by default before, but now the > server start webrick. How can I start the server by mongrel now? Have you updated mongrel gem as well? -

[Rails] Re: mongrel + mysql can't connect in custom mysql install

2009-10-08 Thread oc
Same on 1.8.6p287 - OSX (Leopard) :⋋ ruby --version ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] Built gem with: :⋋ sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql- config=/usr/local/mysql/bin/mysql_config :⋋ ls -al /usr/local/mysql lrwxr-xr-x 1 root wheel

[Rails] Re: mongrel, static files, and haproxy healtchecks

2009-10-05 Thread buddy12lbcat
further investigation leads me to think this is true. i can make my app sleep for 60 seconds and i don't get it marked as down or show missed health checks in haproxy. the one caveat is that if i delete the check.txt from my public directory then i get missing file check.txt in my rails production

[Rails] Re: mongrel + mysql can't connect in custom mysql install

2009-10-01 Thread Cris Shupp
I just tried with 1.8.7. Same results. It is not a 1.9 issue. Cris heimdull wrote: > That error looks more like a mysql gem and ruby 1.9 compatibility > issue. > > Have a look at this site http://isitruby19.com/mysql that talks about > issues with Ruby 1.9 > > On Oct 1, 9:41�am, Cris Shupp

[Rails] Re: mongrel + mysql can't connect in custom mysql install

2009-10-01 Thread heimdull
That error looks more like a mysql gem and ruby 1.9 compatibility issue. Have a look at this site http://isitruby19.com/mysql that talks about issues with Ruby 1.9 On Oct 1, 9:41 am, Cris Shupp wrote: > Hi all... > > The linux box I am working on I do not have root access to, and given I > am a

[Rails] Re: Mongrel and mimetype?

2009-08-21 Thread Bjorn Boulder
Easy answer: Read this: http://mongrel.rubyforge.org/wiki/HOWTO Write that: --- .manifest: text/cache-manifest .css: text/css .gif: image/gif .htm: text/html .html: text/html .jpeg: image/jpeg .jpg: image/jpeg .js: text/javascript .png: image/png .swf: application/x-shockwave

[Rails] Re: Mongrel and mimetype?

2009-08-21 Thread bill walton
Hi b, On Fri, 2009-08-21 at 11:02 -0700, bornboulde...@gmail.com wrote: > Dear Mongrel People, This is a Rails list, not Mongrel. While I don't consider myself a Mongrel expert I think I can help you with your question. > lighttpd allows me to assign a mimetype to a file which ends with a > spe

[Rails] Re: Mongrel in development

2009-08-19 Thread Robert Walker
Marnen Laibow-Koser wrote: > Elliott Golden wrote: > [...] >> What's your thoughts on running Mongrel on my dev box and Passenger in >> production? > > That's what I do. It hasn't been a problem at all. I don't really see > much point in putting Passenger on my laptop. Same here. I use mongre

[Rails] Re: Mongrel in development

2009-08-19 Thread Marnen Laibow-Koser
Elliott Golden wrote: [...] > What's your thoughts on running Mongrel on my dev box and Passenger in > production? That's what I do. It hasn't been a problem at all. I don't really see much point in putting Passenger on my laptop. Maybe if I had a computer that I used only for Web development

[Rails] Re: Mongrel in development

2009-08-19 Thread elliottg
I hear you on that. Thanks for your time! EG On Aug 19, 1:38 pm, Matt Harrison wrote: > On Wed, Aug 19, 2009 at 10:29:57AM -0700, elliottg wrote: > > > Thanks Matt. > > > That clears some things up for me. I didn't realize Mongrel could > > stand alone. I am actually trying to switch over to Pa

[Rails] Re: Mongrel in development

2009-08-19 Thread Matt Harrison
On Wed, Aug 19, 2009 at 10:29:57AM -0700, elliottg wrote: > > Thanks Matt. > > That clears some things up for me. I didn't realize Mongrel could > stand alone. I am actually trying to switch over to Passenger as that > will be my new Production env. and I want to develop in a similar > env.. I a

[Rails] Re: Mongrel in development

2009-08-19 Thread elliottg
Thanks Matt. That clears some things up for me. I didn't realize Mongrel could stand alone. I am actually trying to switch over to Passenger as that will be my new Production env. and I want to develop in a similar env.. I am having some issues getting Passenger running though cause of some syste

[Rails] Re: Mongrel in development

2009-08-19 Thread Matt Harrison
On Wed, Aug 19, 2009 at 09:04:52AM -0700, elliottg wrote: > > A newbie Q here... > > In the default leopard env. Is mongrel serving dev rails apps without > sitting behind apache? > In know on a production env apache or nginx etc. Is a required part of > the stack. The reason I ask is, when I sh

[Rails] Re: Mongrel Server error - newbie question.

2009-07-20 Thread salai
I was able able solve the problem ... On Fri, Jul 17, 2009 at 5:38 PM, nuam wrote: > > Dear All, > > I am very new to RoR. I have got the following error after Chnaging > mysql database.yml and restart the Server. > - > rails employee > > rails -d mysql employee > > and insert Username & Passwor

[Rails] Re: mongrel issue.

2009-07-16 Thread bill walton
Hi Santosh, On Thu, 2009-07-16 at 10:49 +0200, Santosh Turamari wrote: > Hello Guys, > > As our pids are getting lost again and again, we need to restart > mongrel_cluster again and again, I have one doubt that , for this we may > need to configure mongrel_cluster.yml, but I can find in that

[Rails] Re: Mongrel Malformed Request error - help!

2009-06-29 Thread Adam Wilson
Maurício Linhares wrote: > Mongrel doesn't support SSL, you'll have to disable this on dev mode. > > - > Maur�cio Linhares > http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr > > On Mon, Jun 29, 2009 at 12:32 PM, Adam Thanks We had this all working before on my old macbook, I c

[Rails] Re: Mongrel Malformed Request error - help!

2009-06-29 Thread Maurício Linhares
Mongrel doesn't support SSL, you'll have to disable this on dev mode. - Maurício Linhares http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr On Mon, Jun 29, 2009 at 12:32 PM, Adam Wilson wrote: > > I've just migrated my system over to a new macbook. > > I've been having a nightmar

[Rails] Re: Mongrel crashes while running 'exec' through ruby

2009-06-11 Thread Tahir Rauf
Got the solution, exec starts a new process so don't use it.. just use the shell command in ruby like this `sh /home/abc.sh` in the controller.. It runs fine Thanks Every body -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this

[Rails] Re: Mongrel crashes while running 'exec' through ruby

2009-06-11 Thread Frederick Cheung
On Jun 11, 8:31 am, Tahir Rauf wrote: > Frederick Cheung wrote: > > On Jun 11, 7:54 am, Tahir Rauf > > wrote: > >> Hi All, > > >> I have a ruby on rails application and in the controller, I try to run a > >> shell script using exec command > > > You know that the whole point of the exec comman

[Rails] Re: Mongrel crashes while running 'exec' through ruby

2009-06-11 Thread Tahir Rauf
Frederick Cheung wrote: > On Jun 11, 7:54�am, Tahir Rauf > wrote: >> Hi All, >> >> I have a ruby on rails application and in the controller, I try to run a >> shell script using exec command > > You know that the whole point of the exec command is that it replaces > the current process with what

[Rails] Re: Mongrel crashes while running 'exec' through ruby

2009-06-11 Thread Frederick Cheung
On Jun 11, 7:54 am, Tahir Rauf wrote: > Hi All, > > I have a ruby on rails application and in the controller, I try to run a > shell script using exec command You know that the whole point of the exec command is that it replaces the current process with what you tell it to run? You may be more

[Rails] Re: Mongrel not playing nicely with older rails/ruby

2009-06-07 Thread Frederick Cheung
On Jun 7, 2:09 am, rusty wrote: > Ok, now I get this...? Any clue as to what I'm missing? > that looks like your app is requiring ruby-debug but that the gem isn't installed Fred > ** Starting Mongrel listening at 0.0.0.0:3000 > ** Starting Rails with development environment ... > /usr/local/l

[Rails] Re: Mongrel not playing nicely with older rails/ruby

2009-06-06 Thread rusty
Ok, now I get this...? Any clue as to what I'm missing? ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with development environment ... /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__': no such file to load -- ruby-debug (MissingSourceFile) f

[Rails] Re: Mongrel not playing nicely with older rails/ruby

2009-06-05 Thread Maurício Linhares
Looks like what you need is a newer version of Rubygems and not ruby or mongrel. You can get the latest one here -> http://rubyforge.org/frs/?group_id=126 - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://codeshooter.wordpress.com/ (en) On Fri, Jun 5, 2009 at 4:30 PM, rusty

[Rails] Re: Mongrel error on read file after upload

2009-05-25 Thread Jim ruther Nill
Jim ruther Nill wrote: > i'll try asking that to the java developers. I have no control over the > java code. i'll keep you posted. thanks! i run the client in the same pc as the server. but it did not solve the problem. if it helps, using webrick doesn't produce any errors. one other thing i

[Rails] Re: Mongrel error on read file after upload

2009-05-24 Thread Jim ruther Nill
Frederick Cheung wrote: > On May 22, 10:32�am, Jim ruther Nill s.net> wrote: > > Does the java code run as a different user than your mongrel ? > > Fred i'll try asking that to the java developers. I have no control over the java code. i'll keep you posted. thanks! -- Posted via http://www.r

[Rails] Re: Mongrel error on read file after upload

2009-05-22 Thread Frederick Cheung
On May 22, 10:32 am, Jim ruther Nill wrote: > I have a java client that uploads files to a web server.  The problem is > that whenever the client uploads a file, and mongrel saves it in a > temporary file (in this case, mongrel13800-0), mongrel can't read the > file resulting in the error below

[Rails] Re: Mongrel problem

2009-02-10 Thread Freddy Andersen
First... First I would recommend that you use thin and not mongrel.. Second.. Whats your ruby version? ruby -v Third... are you able to start one mongrel like so mongrel_rails start -d ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Rails] Re: Mongrel Socket read error on .pages (iWork) file

2009-02-08 Thread Jeremy Olliver
That's a good point, and I agree is probably the reason why. BTW if you do need to upload pages files, you can zip them first (makes them a single file I guess) then upload them successfully Thanks, Jeremy On Feb 9, 2:41 pm, Jodi Showers wrote: > Jeremy - > > On 8-Feb-09, at 8:34 PM, Jeremy Oll

[Rails] Re: Mongrel Socket read error on .pages (iWork) file

2009-02-08 Thread Jodi Showers
Jeremy - On 8-Feb-09, at 8:34 PM, Jeremy Olliver wrote: > > Hi, > > I'm having a quite peculiar problem that hopefully someone can help me > with. > > I use attachment_fu for image uploads, and found that uploads with > any .pages files don't work. The error I'm getting for my development > serv

[Rails] Re: mongrel error

2009-01-15 Thread NAYAK
Hi, Shift to Ruby 1.8.7 (http://www.ruby-lang.org/en/downloads/) rather than the inbuilt 1.8.5 this should solve your problem NAYAK On Thu, Jan 15, 2009 at 9:31 PM, amrita wrote: > > OS is Debian Linux. Ruby version is 1.8.5 [x86_64-linux] > > Thanks! > > On Jan 15, 4:21 am, "Maurício Linhares

[Rails] Re: mongrel error

2009-01-15 Thread amrita
OS is Debian Linux. Ruby version is 1.8.5 [x86_64-linux] Thanks! On Jan 15, 4:21 am, "Maurício Linhares" wrote: > Are you running the latest ruby for you environment? What is you OS? > - > Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) > |http://blog.codevader.com/(en) > > On Wed, Ja

[Rails] Re: mongrel error

2009-01-15 Thread Maurício Linhares
Are you running the latest ruby for you environment? What is you OS? - Maurício Linhares http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en) On Wed, Jan 14, 2009 at 11:58 PM, amrita wrote: > > Hi, > > I have my rails application deployed on a 32-bit machine and I'm > try

[Rails] Re: Mongrel and thin Server only in Development envirement

2009-01-03 Thread Andi Geheim
> In production mode > in rails 2.2 all application classes are loaded up front (and so a > syntax error in any of them will stop the server starting, whereas in > previous versions you would only hit that error when you caused that > file to be loaded. Okay thanks a lot! The version info was ver

[Rails] Re: Mongrel and thin Server only in Development envirement

2009-01-03 Thread Frederick Cheung
On 3 Jan 2009, at 15:18, Andi Geheim wrote: > > Hi > > what could be the reasen, that I only can start the mongrel or the > thin > server if i set the envirement on development? > > On development -> everything works fine. > > On production: > > andreasP:/var/www/web1/aekschen# mongrel_rails c

[Rails] Re: Mongrel doesn't expose it's ports

2008-12-07 Thread Mike Papper
Tim Booher wrote: > > Here is my mongrel_cluster.yml > --- > --- > cwd: /var/www/apps/MyApplication > log_file: log/mongrel.log > port: "8000" > environment: production > address: 127.0.0.1 > pid_file: tmp/pids/mongrel.pid > servers: 2 > > Now I type: >> mongrel_rails

[Rails] Re: mongrel / webrick process not shutting down properly in dev env. after ^C

2008-11-30 Thread pixelhandler
FYI - I found a way to stop the process... http://railstips.org/2007/2/12/oops-i-did-it-again comand line... (shows your process) ps aux | grep script/server sudo kill -9 (kill your process X is the PID) On Nov 29, 2:40 pm, pixelhandler <[EMAIL PROTECTED]> wrote: > I'm going thru a tutori

[Rails] Re: Mongrel cluster processes not starting

2008-11-22 Thread Richard
Thanks for the reply Fred, Yes I did as you suggested and saw that the ports were being used by another instance of mongrel which had been started somewhen, maybe during testing or something. I killed these processes then mongrel played nicely. Now I have to work out why subdomain_fu isn't work

[Rails] Re: Mongrel cluster processes not starting

2008-11-22 Thread Frederick Cheung
On Nov 22, 7:26 am, Richard <[EMAIL PROTECTED]> wrote: > > Why could this be?? I have opened up the permissions so all can access > these, I have even tried it at 777 but I get the same results. > > If I add dummy pids to the directory it notices they are there and > gives me errors on start up

[Rails] Re: mongrel problems

2008-11-21 Thread James Mitchell
You need to run a mongrel cluster and use some kind of balancer. I develop on Mac and deploy to Linux, so I always go with HAProxy. I tried googling for balancing software for Windows, but don't really have time to pick through the results, not sure I would care if I did find one, because I don'

[Rails] Re: Mongrel hangs with 100% CPU / EBADF (Bad file descriptor)

2008-10-08 Thread Anthony E.
Same problem here...CPU up to 99% -- app is unresponsive. $ strace -p : sigprocmask(SIG_BLOCK, NULL, [])= 0 sigprocmask(SIG_BLOCK, NULL, [])= 0 sigprocmask(SIG_BLOCK, NULL, [])= 0 sigprocmask(SIG_BLOCK, NULL, [])= 0 sigprocmask(SIG_BLOCK, NULL, [])= 0 sigp

[Rails] Re: Mongrel cluster and threads

2008-09-18 Thread Borja Martín
Maybe you could call the webservice as a background process so you don't have to care about how long does it take to run: http://backgroundrb.rubyforge.org/ Regards Roberto Druetto escribió: > Hi guys, > I'm running 6 instances of mongrel in a production environment and I > have this preforma

[Rails] Re: Mongrel hangs with 100% CPU / EBADF (Bad file descriptor)

2008-09-16 Thread Front Line
Vins wrote: > Hello, > > I am facing exactly same problem and was wondering if you found the > solution for it. > > Thanks > Vins > > On Aug 31, 9:15�pm, Front Line <[EMAIL PROTECTED]> Nope, not yet! Trying to reproduce it on a devel-server, quite impossible... But it always hangs in code tha

[Rails] Re: ****[Rails] Re: ****[Rails] Re: mongrel configuration

2008-09-06 Thread David
That worked so I know it is an apache problem nowguess I need to figure out why apache is angry! Any tips? :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,

[Rails] Re: ****[Rails] Re: ****[Rails] Re: mongrel configuration

2008-09-06 Thread Frederick Cheung
On 6 Sep 2008, at 20:53, David wrote: > > How do I know if apache is serving up the images? I am the RoR > developer and backend DBA and don't know the server setup. Our server > engineer took off and now we have a new guy and he is not great with > RoR either. Any help would be greatly appre

[Rails] Re: ****[Rails] Re: ****[Rails] Re: mongrel configuration

2008-09-06 Thread David
How do I know if apache is serving up the images? I am the RoR developer and backend DBA and don't know the server setup. Our server engineer took off and now we have a new guy and he is not great with RoR either. Any help would be greatly appreciated! --~--~-~--~~~-

[Rails] Re: ****[Rails] Re: ****[Rails] Re: mongrel configuration

2008-09-06 Thread Frederick Cheung
On 6 Sep 2008, at 20:42, David wrote: > > Sorry. The problem is with performance when it hits images. It seems > the html design contains some small graphics and the redraw of the > graphics on the initial load is a bit sluggish. Therefore, I am > trying to figure out where the problem is...

[Rails] Re: ****[Rails] Re: ****[Rails] Re: mongrel configuration

2008-09-06 Thread David
Sorry. The problem is with performance when it hits images. It seems the html design contains some small graphics and the redraw of the graphics on the initial load is a bit sluggish. Therefore, I am trying to figure out where the problem is... The db hits are super fast and even pages without