search for: econnreset

Displaying 20 results from an estimated 111 matches for "econnreset".

2007 Mar 29
1
Remove the printing of harmless ERRORS like ECONNRESET, EPIPE
Remove the printing of harmless ERRORS like ECONNRESET, EPIPE. For more details, see http://oss.oracle.com/bugzilla/show_bug.cgi?id=865 The ocfs2 kernel source code in git tree don't have function "ocfs2_file_sendfile", so this bug only exists in ocfs2-1.2 branch. -------------- next part -------------- Index: fs/ocfs2/file.c =========...
2007 Dec 07
0
Errno::ECONNRESET (Connection reset by peer):
...tion drop (FastCGI/Apache/PostgreSQL). Kills the app with an ''Application Error (Rails)'' Any suggestions? production.log as follows: Processing Base#index (for xxx.xxx.xxx.xxx at 2007-12-07 13:39:03) [GET] Session ID: 4bfd0284bd7672b57e65bdb21637adb5 Parameters: {} Errno::ECONNRESET (Connection reset by peer): /usr/local/lib/ruby/1.8/readbytes.rb:16:in `read'' /usr/local/lib/ruby/1.8/readbytes.rb:16:in `readbytes'' /usr/local/lib/ruby/gems/1.8/gems/postgres-pr-0.4.0/lib/postgres-pr/message.rb:32:in `read'' /usr/local/lib/ruby/gems/1.8/ge...
2009 Aug 03
3
Could not call fileserver.describe: #<Errno:: ECONNRESET: Connection reset by peer>
Hello there I''m having this error: Could not call fileserver.describe: #<Errno:: ECONNRESET: Connection reset by peer> From what i can tell, eventually the master decides it has had enough and freezes. I''ve got about 25 hosts checking in to it, but restarting the master daemon appears to be only a partial solution with the clients occasionally not being able to then re-connec...
2006 Dec 08
1
linux sockets on centos (slightly off topic)
Hi all, I have a snippit from the linux sockets (below) talking about detecting when a socket is closed on the other end. It says the doing a read() will eventually inform you the socket is ECONNRESET. I am not seeing this I open a socket to the peer. I UNPLUG the peer. I plug back in the peer. all the time I am doing read()'s on linux and I get returns of -1 and errno is EINTR from the alarm() around my read() function. I never get ECONNRESET. Am I missing something in detecting the peer...
2008 May 16
1
error: failed reading from tcp: Connection reset by peer
...D that seems to do the trick. -- Shane --- server.c.orig 2008-05-16 10:20:25.000000000 +0200 +++ server.c 2008-05-16 10:21:44.000000000 +0200 @@ -1394,7 +1394,9 @@ */ return; } else { - log_msg(LOG_ERR, "failed reading from tcp: %s", strerror(errno)); + if (errno != ECONNRESET) { + log_msg(LOG_ERR, "failed reading from tcp: %s", strerror(errno)); + } cleanup_tcp_handler(netio, handler); return; } @@ -1454,7 +1456,9 @@ */ return; } else { - log_msg(LOG_ERR, "failed reading from tcp: %s", strerror(errno)); + if (errn...
2008 Jul 30
3
Connection Reset Exceptions?
Does anyone else get these? A Errno::ECONNRESET occurred in facebook#index: Connection reset by peer /usr/lib64/ruby/1.8/net/protocol.rb:133:in `sysread'' Today it was on a user.populate call... I am wondering if it makes sense to catch and retry for this exception. Dave -------------- next part -------------- An HTML attachment was s...
2009 Apr 22
5
Connection reset by peer (Errno::ECONNRESET)
...counts/AuthSubRequest?scope=http%3A%2%2Fwww.google.com%2Fcalendar%2Ffeeds%2F&session=0&secure=0&next=http%3A%2F%2Fwww.google.com". When I try to access this url I get an error like this : /usr/lib/ruby/1.8/net/protocol.rb:135:in `sysread'': Connection reset by peer (Errno::ECONNRESET) from /usr/lib/ruby/1.8/net/protocol.rb:135:in `rbuf_fill'' from /usr/lib/ruby/1.8/timeout.rb:62:in `timeout'' from /usr/lib/ruby/1.8/timeout.rb:93:in `timeout'' from /usr/lib/ruby/1.8/net/protocol.rb:134:in `rbuf_fill'' from /usr/lib/ruby/1.8/net/protocol....
2007 May 19
7
Puppet Trac throwing errors again for documentation pages
Hi, https://reductivelabs.com/trac/puppet/wiki/DocumentationStart https://reductivelabs.com/trac/puppet/wiki/PuppetIntroduction https://reductivelabs.com/trac/puppet/wiki/PuppetMasters https://reductivelabs.com/trac/puppet/wiki/PuppetBestPractice - Max
2009 Sep 22
6
Monitoring the puppetmaster
I''m using 0.24 with Webrick (in the process of migrating to 0.25 / passenger). Occasionally, the puppetmasterd becomes unavailable, and we see error messages along the lines of: Could not call puppetmaster.getconfig: #<Errno::ECONNRESET: Connection reset by peer> I believe the puppetmasterd does not completely die, so it is still in the process list. I''m wondering what a good way to monitor this would be. I see that I can telnet into port 8140, is there something simple I can send that would give me an indication th...
2016 Mar 03
4
virtio-vsock live migration
...ion host, the guest's CID may change. The CID namespace is host-wide so other hosts may have CID collisions and allocate a new CID for incoming migration VMs. The device notifies the guest that the CID has changed. Guest sockets are affected as follows: * Established connections are reset (ECONNRESET) and the guest application will have to reconnect. * Listen sockets remain open. The only thing to note is that connections from the host are now made to the new CID. This means the local address of the listen socket is automatically updated to the new CID. * Sockets in other stat...
2016 Mar 03
4
virtio-vsock live migration
...ion host, the guest's CID may change. The CID namespace is host-wide so other hosts may have CID collisions and allocate a new CID for incoming migration VMs. The device notifies the guest that the CID has changed. Guest sockets are affected as follows: * Established connections are reset (ECONNRESET) and the guest application will have to reconnect. * Listen sockets remain open. The only thing to note is that connections from the host are now made to the new CID. This means the local address of the listen socket is automatically updated to the new CID. * Sockets in other stat...
2007 Sep 11
3
Production mode bug with ruby/amazon
...he timeout error comes from a timeout statement I''ve thrown around the whole thing to hopefully catch the error. Without it, the call just times out and I lose the thread completely and have to restart the mongrel cluster. Here''s what that looks like: retries = 3 #Errno::ECONNRESET begin Timeout::timeout(2) { products = search_method.call(key, mode).products } rescue # Errno::ECONNRESET, Errno::EPIPE => failure if retries > 0 @@req = Amazon::Search::Request.new(@@dev_token) retries -= 1 logger.error "Connectio...
2006 May 31
1
SVN revision 218: errors and failures under win32.
...est", I cannot solve the other failures: 1) Failure: test_header_is_too_long(WebServerTest) [./test/test_ws.rb:93:in `test_header_is_too_long'' ./test/testhelp.rb:8:in `redirect_test_io'' ./test/test_ws.rb:91:in `test_header_is_too_long'']: <[Errno::ECONNRESET, Errno::EPIPE, Errno::ECONNABORTED]> exception expected but none was thrown. 2) Failure: test_num_processors_overload(WebServerTest) [./test/test_ws.rb:101:in `test_num_processors_overload'' ./test/testhelp.rb:8:in `redirect_test_io'' ./test/test_ws.rb:100:in `te...
2010 Apr 06
1
socket: write vs send
...state (so that the intended recipient is known). The only difference between send() and write() is the presence of flags. With zero flags parameter, send() is equivalent to write(). In some complex server software, if the client disconnects: send: delivers errno == ECONNRESET but write: crashes the server process. So it is not really equivalent. Any thoughts on this? Thanks, Mike.
2006 Oct 09
0
Re: Error in puppet
...wrote: > Hello, > > More on my deployment, i have an issue where the fact sometime does > not load and it seems that they do not work and as i rely on facts in it > ll fails: > > Oct 6 02:54:18 oiseadmin puppetd[42243]: Could not call > fileserver.list: #<Errno::ECONNRESET: Connection reset by peer> > Oct 6 02:54:18 oiseadmin puppetd[42243]: > (fact_collector/file=/usr/local/.aqadmin/puppet/var/facts) Failed to > retrieve current state: Connection reset by peer > Oct 6 02:55:44 oiseadmin puppetd[42243]: Starting configuration run > Oct 6 03:00:...
2008 Apr 25
4
Certificate retrieval failed: Connection reset by peer
...ppetd --server puppetmaster --waitforcert 50 --test info: Creating a new certificate request for host info: Creating a new SSL key at /var/lib/puppet/ssl/private_keys/ host.pem warning: peer certificate won''t be verified in this SSL session err: Could not call puppetca.getcert: #<Errno::ECONNRESET: Connection reset by peer> /usr/lib/ruby/site_ruby/1.8/puppet/network/client/ca.rb:31:in `request_cert'': Certificate retrieval failed: Connection reset by peer (Puppet::Error) from /usr/sbin/puppetd:356 I''m not sure what may be causing this, but should add that we rece...
2013 Nov 05
4
Handling closed clients
...like to get rid of. I was hoping that the recent commit 24b9f66dcdda44378b4053645333ce9ce336b413 would help us, but it does not. After digging in a bit, I have some ideas about why and a patch I''d like comments on. The commit above attempts to ignore exceptions of types EOFError, Errno::ECONNRESET, Errno::EPIPE, and Errno::ENOTCONN. However, that doesn''t address our issue because our exception comes when trying to write the response. It is a generic IOError and thus is not handled. In addition, I believe that change is unsafe because I believe client code could raise those exceptio...
2016 Mar 10
0
virtio-vsock live migration
...new CID > for incoming migration VMs. I guess all this is so that guest can retrieve its CID and send it to host using some side-channel? > The device notifies the guest that the CID has changed. Guest sockets > are affected as follows: > > * Established connections are reset (ECONNRESET) and the guest > application will have to reconnect. > > * Listen sockets remain open. The only thing to note is that > connections from the host are now made to the new CID. This means > the local address of the listen socket is automatically updated to > the new...
2011 Mar 15
1
"Connection reset by peer" withing a rsyncd strace log
..., "\374\17\0\7", 4) = 4 [pid 5202] time(NULL) = 1300203295 [pid 5202] select(7, NULL, [6], [6], {30, 0}) = 1 (out [6], left {30, 0}) [pid 5202] write(6, "\210\1\36\1.\1\263\1\377\1\361\1\271\1\310\1\340\1\256\1<\0012\1:\0\313\0\300\0\222\0"..., 4092) = -1 ECONNRESET (Connection reset by peer) [pid 5202] time(NULL) = 1300203295 [pid 5202] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 5202] open("/etc/localtime", O_RDONLY) = -1 ENOENT (No such file or directory) [pid 5202] open("/etc/l...
2016 Mar 14
0
[virtio-dev] virtio-vsock live migration
...hange. The CID namespace is > host-wide so other hosts may have CID collisions and allocate a new CID > for incoming migration VMs. > > The device notifies the guest that the CID has changed. Guest sockets > are affected as follows: > > * Established connections are reset (ECONNRESET) and the guest > application will have to reconnect. > > * Listen sockets remain open. The only thing to note is that > connections from the host are now made to the new CID. This means > the local address of the listen socket is automatically updated to > the new...