similar to: socket: write vs send

Displaying 20 results from an estimated 30000 matches similar to: "socket: write vs send"

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
2011 Jan 17
1
problem mounting external drive
On my Centos box with: uname -r 2.6.18-164.6.1.el5 I tried to mount my 2T external drive with: mount -t ntfs /dev/sdg1 /mnt/wd and I get: mount: unknown filesystem type 'ntfs' Thanks in advance for your help. Mike.
2008 May 16
1
error: failed reading from tcp: Connection reset by peer
All, I see the following message fairly frequently in our nsd.log files: error: failed reading from tcp: Connection reset by peer A quick grep through the source code reveals that this log message comes from server.c, and can come pretty much at any time during a TCP query. Since: - This condition occurs during normal operation, and - There is nothing a server operator can do about it. I
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 scrubbed... URL:
2010 Nov 19
3
Fail Transfer of Large Files
On my intranet, I sometimes transfer large files, about 4G, to an CentOS old box that I use for a web server. I transfer with ftp or sftp. Usually, before the file is complete, the transfer "stalls". At that point, ping from the destination box to the router fails. I then deactivate the net interface on the destination box and then activate it. Ping is then successful, and the
2006 Apr 21
10
"Client closed socket" spewage
Hi all, Ruby 1.8.4 Rails 1.1.2 Mongrel 0.3.12 I''m seeing this output from the Mongrel server: Client closed socket requesting file C:/eclipse/workspace/dslscheduler/public/javascripts/prototype.js: Invalid argument It seems to be harmless, but I''m curious as to what''s causing it. Any ideas? Thanks, Dan
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 Sep 11
3
Production mode bug with ruby/amazon
Hi all, I''ve got an issue that only ever appears in production mode. I''ve got my app hooked up to amazon''s web service (ECS, using ruby/amazon from http://www.caliban.org/ruby/ruby-amazon.shtml). In the dev environment, everything''s peachy. But in production mode, after I''ve left the app up for a couple of hours (sometimes, minutes), I get an
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
2016 Mar 03
4
virtio-vsock live migration
Michael pointed out that the virtio-vsock draft specification does not address live migration and in fact currently precludes migration. Migration is fundamental so the device specification at least mustn't preclude it. Having brainstormed migration with Matthew Benjamin and Michael Tsirkin, I am now summarizing the approach that I want to include in the next draft specification. Feedback
2016 Mar 03
4
virtio-vsock live migration
Michael pointed out that the virtio-vsock draft specification does not address live migration and in fact currently precludes migration. Migration is fundamental so the device specification at least mustn't preclude it. Having brainstormed migration with Matthew Benjamin and Michael Tsirkin, I am now summarizing the approach that I want to include in the next draft specification. Feedback
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
2010 Dec 04
3
# chkconfig: kill at run level 3
In the control script of my daemon in /etc/init.d?, I have # chkconfig: 35 97 3 The result of this is that I have links: /etc/rc.d/rc1.d/K03... /etc/rc.d/rc3.d/S97... /etc/rc.d/rc5.d/S97... As mentioned in a previous thread, my complex daemon throws an exception when I shutdown. Perhaps things might be better if I had: /etc/rc.d/rc3.d/K03... Might this be a good idea? If so,
2011 Feb 22
4
Unicode in C++
On my CentOS box, in C++ programs, is there a way to print Unicode characters? Thanks, Mike.
2008 Apr 25
4
Certificate retrieval failed: Connection reset by peer
Hi. When registering a new client with the puppetmaster I get the following error: [root@host ~]# puppetd --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:
2023 Aug 31
0
[RFC PATCH v2 1/2] vsock: send SIGPIPE on write to shutdowned socket
On Sat, Aug 26, 2023 at 08:58:59PM +0300, Arseniy Krasnov wrote: >POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was >shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD >flag. Also we must not send SIGPIPE if MSG_NOSIGNAL flag is set. > >Signed-off-by: Arseniy Krasnov <avkrasnov at salutedevices.com> >--- > net/vmw_vsock/af_vsock.c
2013 Nov 05
4
Handling closed clients
We have a service that clients use to upload files. We have a couple of clients that are on slow links and so their upload times out. We get errors in the logs that I''d 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
2011 Aug 25
3
Centos 6: howto install and run KDE
On my laptop, I have not been able to get KDE to run; I always get gnome. I installed selecting KDE, and I tried yum groupinstall, which appeared to work, but I still get gnome running. BTW, I boot to level 3, and run startx. Thanks for your suggestions. Mike.
2011 Sep 07
3
CentOS 6: Making KDE Default
I learned from Anne that if I boot to level 5, after I enter the username, can select Gnome or KDE. I note that the default is always Gnome. How can I make the default KDE? How can I get KDE with startx after booting to level 3? Thanks, Mike.
2023 Aug 04
0
[RFC PATCH v1 1/2] vsock: send SIGPIPE on write to shutdowned socket
On Fri, Aug 04, 2023 at 03:46:47PM +0300, Arseniy Krasnov wrote: >Hi Stefano, > >On 02.08.2023 10:46, Stefano Garzarella wrote: >> On Tue, Aug 01, 2023 at 05:17:26PM +0300, Arseniy Krasnov wrote: >>> POSIX requires to send SIGPIPE on write to SOCK_STREAM socket which was >>> shutdowned with SHUT_WR flag or its peer was shutdowned with SHUT_RD >>> flag.