similar to: random cpu spikes, EBADF errors

Displaying 20 results from an estimated 3000 matches similar to: "random cpu spikes, EBADF errors"

2007 May 07
1
Mongrel and EBADF error consuming resources
In the last few weeks I''ve noticed the load average spiking up for 5 minutes at a time (2-3.5 on a system that usually runs around 0.5-1.5). Looking closer I found that one mongrel process and litespeed are at the top, and using strace I''ve found that they''re passing the file below, seems to get stuck on single file/EBADF error. It happens with a number of different
2006 Sep 25
5
Ruby LSAPI 1.9 + LSWS 2.2.2
Hi, If you have been using or evaluating LiteSpeed web server + Ruby LSAPI setup for Rails application, please make sure your are using the latest release, Ruby LSAPI 1.9 and LSWS 2.2.2. We have been fixing a few bugs that causes DB connection errors, incompatibilities with WEBrick/Mongrel and ruby process management issues, currently, all bug reported has been addressed in timely manner and
2006 Aug 24
10
Invalid HTTP format, parsing fails
Hi, I am having a bit of a problem with my app that is using mongrel. For a particular vendor we use, they are generating links that look like:
2008 Apr 17
0
Error log, when using apache2.2.x modproxy with mongrel
Hi all im new to use mongrel, my mongrel version is 1.1.4 and apache is 2.2.8 when i using apapche+mod_proxy+mongrel, there are some error in my log file and make apache 502 prxoy error. ex: proxy: error reading status line from remote server localhost proxy: Error reading from remote server returned by /test/show But it works well if i access mongrel directly. and the mongrel.log will have
2006 Sep 23
6
Connection to backgroundrb is lost when exiting action method
Hey. I have a very annoying problem, and was wondering what is wrong. Suppose I have backgroundrb running, and then I have an action in some controller. In the action I define a worker. When leaving the action, suddenly the connection to backgroundrb is lost: DRb URI: druby://localhost:22222 Pid: 3976 Autostart... done druby://localhost:42531 - #<Errno::EBADF: Bad file descriptor -
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/.
2007 Mar 08
6
Transfer-encoding: gzip
Hello! What is the simplest way to make merb respond to the client sending Accept-Encoding: gzip? Just checking if it exists, otherwise I''ll implement it myself. Regards, Magnus
2008 Jan 04
13
Unable to delete epoll event
I occasionally get a fatal error unable to delete epoll event: Bad file descriptor I think the attached patch will fix it. The patch does two things: 1) changes the error we look for from ENOENT to EBADF. It is hard to reproduce this error, but if I change the epoll_ctl line to epoll_ctl(epfd, EPOLL_CTL_DEL, 666, ed->GetEpollEvent()); it does return -1 with errno = EBADF on my Linux 2.6.9
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
2007 Dec 20
2
0.24.0 won''t start
Hi, I am having a problem where puppetd won''t start on one of my RHEL 5 machines with the --listen option enabled. 0.23.2 seems to run fine but 0.24.0 dies leaving the pid file still there. I installed puppet using the latest gem from reductive labs. It works fine on what is meant to be an identical system. I tried running strace and it seems to exit after trying to write to a bad
2010 Dec 01
6
Mongrel, .htaccess, cpanel, rewrite, Mongrel::HttpParserError
I just installed my RoR application on my ISP''s server. This is a Cpanel environment and it creates a .htaccess file: RewriteEngine on RewriteCond %{HTTP_HOST} ^xyz.com$ [OR] RewriteCond %{HTTP_HOST} ^www.xyz.com$ RewriteRule ^(.*)$ "http\:\/\/127\.0\.0\.1\:12001\/$1" [P,L] in a public_html directory. (I changed my domain name in the text above to xyz because we are
2008 Apr 16
1
File descriptor passing broken in FreeBSD 7?
Hi, I recently tried to use the newly released mod_rails (www.modrails.com) for Apache, and discovered it doesn't work on FreeBSD 7. It does however work on FreeBSD 6 just fine. I tracked it down to sendmsg() as detailed here: http://code.google.com/p/phusion-passenger/issues/detail?id=16 The mod_rails/passenger unit tests fail on FD passing, as do the Ruby 1.8.6 standard unit
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
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
2006 Sep 07
12
Multiple (multiplexed) simultaneous ssh connections - Cygwin bug?
Hello, ? I need to make many (>50) ssh connections from linux to cygwin at the same time. Using Windows 2000 Server (OpenSSH_4.3p2, OpenSSL 0.9.8b and updated cygwin) and Linux RHEL4 (OpenSSH_3.9p1, OpenSSL 0.9.7a). ? It's been difficult to optimize many simultaneous connections. Here were some issues: 1.?????? On Windows XP/Professional, Microsoft intentionally cripples the TCP/IP stack.
2004 Aug 17
1
[Bug] LTP: mkdir fail after setreuid
For chdir03 investigation result: The fail is caused by the mkdir fail after setreuid. Key code in the test case: if ((pid =3D fork()) < 0) { tst_brkm(TBROK, cleanup, "first fork failed"); } if (pid =3D=3D 0) { /* first child */ /* set the child's ID to ltpuser1 */ if (setreuid(ltpuser1->pw_uid,
2006 Jul 23
3
Error in executing "ruby script/server"
Hi all, Somebody please advice me what should i do: I installed instant rails and i executed the command "*ruby script/server" *sucessfully for the first time the next time, when i tried to execute the same command, it gave me the error : "Cannot find Gem for rails =1.1.2: Install the missing Gem with ''Gem install -v=1.1.2 rails'' or change your Environment.rb to
2019 Oct 16
2
message error NT_STATUS_OBJECT_NAME_NOT_FOUND regulary in the log
Le 16/10/2019 ? 12:07, Rowland penny via samba a ?crit?: > On 16/10/2019 10:59, nathalie ramat wrote: >> ???????????? Checking file: /etc/samba/smb.conf >> >> # Global parameters >> [global] >> ?????? dns forwarder = 192.168.xx.230 > You cannot forward to the DC itself, it needs to be a dns server > outside the AD dns domain. >> ?????? netbios name =
2009 Jan 23
2
Sendmail with cron
Hi! I''am using crontab for creating an email list every night on daily basis. It works perfectly. And use it for other things also. But my problem is that i can''t get crontab to work for armailer, i would like to have a crontab for ar_sendmail -o but can not get this to work. Any one who have the same problem or even better a solution. Thanks Svea -- Posted via
2006 Aug 08
1
gem install/update errors
Greetings all, I am a newbie to the Ruby world. I just installed Ruby and I am trying to install rails, using gem install. Since my local pc (OS --> Win2k) is behind a proxy server, the command gem install fails. =========== gem install rails Result --> ERROR: While executing gem ... (Errno::EBADF) Bad file descriptor - connect(2) =========== gem install rails -p