similar to: Mongrel and EBADF error consuming resources

Displaying 20 results from an estimated 1000 matches similar to: "Mongrel and EBADF error consuming resources"

2007 Oct 24
28
random cpu spikes, EBADF errors
In May I had problem with mongrels suddenly consuming huge cpu resources for a minute or two and then returning to normal (load average spikes up to 3.8and then back down to a regular 0.2 over the course of 5 minutes, then again 1/2 hour later. or 4 hours later, no predictable rhythm). I posted to Litespeed forums because I thought the problem was there but didn''t get far. And a week
2007 May 04
2
possible fix for mongrel hangs
We''ve been experiencing the same kinds of hangs other people have described here lately. For no obvious reason our mongrel processes just freeze up and nothing short of a kill -9 can retrieve them. This is in a standard linux apache 2.2/balancer setup. Anyway, following some threads online I tried adding these directives: SetEnv force-proxy-request-1.0 1 SetEnv
2006 Apr 17
2
Can I catch something like Errno::EBADF with rescue?
All, I am using Net::HTTP to make requests for URLs in my app. When I get a bad server, I get "Bad file descriptor - connect(2)" message on a ERRNO:EBADF error. Can I catch with rescue or otherwise gracefully react to that error? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 13
2
Excessive Errno::EBADF with dispatch.fcgi
I''m running Ruby on Rails via FastCGI in an Apache environment, and I get the following error, a lot. (from log/fastcgi.crash.log) [13/Mar/2006:15:52:51 :: 94704] Dispatcher failed to catch: Bad file descriptor (Errno::EBADF) /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `close'' /usr/local/lib/ruby/site_ruby/1.8/fcgi.rb:38:in `each''
2007 Jul 20
2
Errno::EBADF in ClassifiedController#list
Hi I was working with a tutorial from a book yesterday and I got to a point where I configuered the routing and it was working fine. And didnt make any changes to it except for debuging. But today I get the following error. Any ides on why is doing this ? ? ? Errno::EBADF in ClassifiedController#list Bad file descriptor - connect(2) RAILS_ROOT: ./script/../config/.. -- Posted via
2005 Nov 03
3
EBADF error?
Hi all, I get a (usually) reproducible error for only one of my controllers. This doesn''t happen for any of the other 10+ controllers. I didn''t see anything weird about file permissions. The "offending" line 142 is quite innocuous and triggers the error even when that portion of the controller is not even being run. . . . 141 while
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
Hi, would someone please help me. I have been desperatley trying to fnd out for the last two days why the following code is not working. Any ideas. I''m running Instant Rails 1.4 / Rails version 1.2.5 / Ruby version 1.8.5 (i386-mswin32) / RubyGems version 1.1.1 / Action Mailer version 1.3.5 / Windows XP. Here is a description of my emailing application: in
2013 Aug 23
5
Ruby 2.0 Bad file descriptor (Errno::EBADF)
hi. i''ve been trying to upgrade my stack to ruby 2.0 but keep getting this on ubuntu (not on my local os x): /hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `for_fd'': Bad file descriptor (Errno::EBADF) from /hello/shared/bundle/ruby/2.0.0/gems/unicorn-4.6.3/lib/unicorn/http_server.rb:746:in `block in inherit_listeners!'' from
2007 May 06
28
mongrel becoming unresponsive
Hello, I''m running mongrel behind apache via proxypass. Every now and then, a spammer tries to proxy traffic through apache, and for some reason, apache forwards the request to mongrel, even though it''s not a site being hosted by me. At times this seems to cause mongrel to become unresponsive, and all requests to the site then fail with a proxy error until mongrel is
2007 Sep 25
0
TCPSocket.new Errno::EBADF: Bad file descriptor error
Im trying to use memcache-client, but there is a line in their where it calls: TCPSocket.new(host, port). It fails at this point. I''ve tried just trying to establish a connection in my script/console with TCPSocket.new("localhost", 11211) TCPSocket.new("127.0.0.1", 11211) TCPSocket.new("<my comp name>", 11211) TCPSocket.new("<my ip
2006 Sep 13
2
Errno::EBADF: Bad file descriptor - connect
Today this error is the bane of my existence. It is weird. My app works fine when I am running it through Mongrel, but as soon as I try to run a unit test, the test explodes with this error. Any ideas? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,
2006 Nov 06
4
Errno::EBADF (Bad file descriptor)
I posted this to the discussion forum on rubyforge.org, but it appears that it would have been better to post here. Does anyone have any advice on how to resolve the problem reported at http://rubyforge.org/tracker/index.php?func=detail&aid=6284&group_id=1306&atid=5145? Thanks, Justin -------------- next part -------------- An HTML attachment was scrubbed... URL:
2006 Aug 24
3
Mousehole stuff
Hey everyone, I''m using mousehole for the first time today (love the artwork, btw) and I seem to be having problems with Camping and Markaby. When I go to the Apps page I get: Camping Problem! MouseHole::Controllers::RApps.GET TypeError /Users/tzaharia/Sites/mouseHole/lib/mouseHole/views.rb:78:in `+'': can''t convert String into Array:bla bla bla... The line in question
2008 Apr 20
1
Exception DatabaseCorruptError under php
Hello, I'm having a litle issue with Xapian-1.0.6 with php bindings under php5 when trying to add a new document it throws: Fatal error: Uncaught exception 'Exception' with message 'DatabaseCorruptError: Failed to unlink /var/lib/xapian/trade.ar/termlist.baseA: No such file or directory' in /usr/share/php5/xapian.php:1140 Stack trace: #0 /usr/share/php5/xapian.php(1140):
2006 Aug 14
4
too many close calls for non-opened fds
Hello All, I'm using OpenSSH 4.3p2 in HP-UX 11.23. On running tusc (a tool to trace system calls and signals) on sshd, I found lot of close calls upto 2047. Those close calls try to close a non-opened file descriptor and results in an error. This behaviour is seen only from OpenSSH 3.9 where closefrom() call is introduced to close the file descriptors before re-exec. The fix is to check
2008 Jan 24
1
Booting
Hi All My first experience with syslinux I have created a debian live bootable environment. Which creates a fat16 format USB-HDD and then uses syslinux to boot up with (Provided the hardware allows you to boot from USB). When I plug the USB Stick into say a windows machine it mounts the USB drive and you can see the linux kernel files syslinux and other files Question: Is there a way to
2009 Aug 11
5
Failed to retrieve current state of resource: No child processes
Hi, I don''t know whether this is a ruby, puppet, or facter bug. The whole issue is one of the "really weird" ones. I first noticed the problem when working with puppet on a train, without any internet connection. In such situation, two problems appear: 1) Mildly annoying, frequent 2-second pauses followed by: Timed out seeking value for ipaddress I think this is
2003 Oct 01
2
smbmount not exiting
The following scriptlet, containing a wrong password among the mount options, #!/bin/bash /bin/mount -t smbfs -o \ "netbiosname=mymachine,workgroup=group,username=user, \ password=wrongpasswd,ro,debug=4" //machine/c /mnt/dir /bin/echo "Exit $?" returns invariably mount.smbfs started (version 2.2.7a-security-rollup-fix) added interface ip=192.168.0.53
2000 Feb 09
0
2.0.6: smbmount still loses connection after awhile to a NT4 server
hello, I know this topic has already been discused, and I remember that the final word was the this issue would be fixed in 2.0.6. I'm running a fresh install of Mandrake 7.0 with kernel 2.2.14-15mdksecure with samba 2.0.6 installed. I can smbmount a share on my NT4 server without problem. the connection is establised and everything works fine: Proto Recv-Q Send-Q Local Address
2001 Jan 08
2
fatal: PRNG initialisation failed
Heya, I have compiled and installed OpenSSH on a Solaris/Sparc machine and whenever I try to start any of the ssh programs I get "fatal: PRNG initialisation failed -- exiting" Now, I have looked through the mailing lists and have seen some mention that this indicates it can't open the ssh_prng_cmds file, which entropy.c also seems to indicate the problem is. However, this snippet