LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-07-2010, 02:01 PM   #1
jacole
LQ Newbie
 
Registered: Nov 2003
Location: Bohemia, New York
Distribution: RHEL4 RHEL5 CentOS5 Fedora7
Posts: 3

Rep: Reputation: 0
Question Long Messages fragment over network


I have a RHEL 4 server delivering long messages to several RHEL 4 clients. They work fine. I am trying a RHEL 5 client running the same client application as the RHEL 4 clients. The RHEL 5 client looses most messages. I have tried with two other clients running CentOS 5 with similar results. The server indicates write failure or blocked. The messages are typically 50 kilobytes. I have changed many parameters in sysctl.conf . Has anyone encountered similar problems? Any solutions?
Thanks,
Jim Cole
 
Old 10-07-2010, 02:08 PM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
what's the transport? A TCP/IP socket? A UDP socket? An HTTP web service? Something else entirely?

What log files have you looked at? Are there any application level logs which might also provide useful clues?

I would *not* fiddle with kernel parameters except as a last resort. Certainly not before we have a better idea about "what's wrong".

IMHO .. PSM
 
Old 10-07-2010, 04:34 PM   #3
jacole
LQ Newbie
 
Registered: Nov 2003
Location: Bohemia, New York
Distribution: RHEL4 RHEL5 CentOS5 Fedora7
Posts: 3

Original Poster
Rep: Reputation: 0
Question

This is TCP over a socket connection.
The application is written specifically to receive and
pass on messages from a remote server. I have a reasonable
amount of networking experience and have configured sysctl.conf
for a variety of purposes. The internal logs report
the error code for every failed write. The error codes
at the server indicate write fail or write blocked.
Thanks for your response.
Jim Cole
 
Old 10-25-2010, 09:30 PM   #4
jacole
LQ Newbie
 
Registered: Nov 2003
Location: Bohemia, New York
Distribution: RHEL4 RHEL5 CentOS5 Fedora7
Posts: 3

Original Poster
Rep: Reputation: 0
It appears that we have solved the problem.
We have run since 10/25 00:35 EDT with no failures.
We added setsockopt SO_RCVBUF 8000000
setsockopt SO_SNDBUF 1000000
We added to sysctl.conf large maximums of 16777216
for net.ipv4.tcp_rmem net.ipv4.tcp_wmem
net.ipv4.tcp_mem
net.core.rmem_max net.core.wmem_max
Jim Cole
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Missing UDP fragment acid_kewpie Linux - Networking 11 03-28-2010 10:22 AM
Code fragment explanation please! Completely Clueless Programming 14 10-30-2009 10:15 AM
Thunderbird Takes long to load messages as400 Solaris / OpenSolaris 2 08-04-2009 08:26 PM
Does EXT2/# Fragment? sirclown82 General 6 03-13-2007 08:51 PM
Suspect TCP fragment aimstr8 Linux - Networking 0 10-23-2002 10:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration