General :: Change Size Of Network Data Receiving Buffer On OS?

Jan 21, 2010

We know that, in a network, data transfer time is dependent on capacity of the receiving node. I have two Linux systems A (sender) and B (receiver) connected. I want to simulate congetion in a network, that means I want to increse the time taken to transfer some data. I believe, I can do this if I can reduce the capacity of the receiver node B. That perhaps possible by decreasing the receiving buffer size of B. How can I change the receiving buffer size of this linux system B?

View 1 Replies


ADVERTISEMENT

CentOS 5 Networking :: UDP Errors - Change UDP Buffer Size?

Mar 27, 2009

I think i've discoverd an issue on our linux servers. We have developed an in house application that send and recieves a large volume of udp data. I'm see alot of errors for udp when I run a "netstat -us". Could the recieve buffer be too small and if so, how do it change it. What is the default size on centos 5?

kernal = 2.6.18-53.1.14.el5PAE #1 SMP Wed Mar 5 12:07:47 EST 2008 i686 i686 i386 GNU/Linux

"netstat -us" output
Udp:
197961014 packets received
1474 packets to unknown port received.
49340800 packet receive errors
25890918 packets sent

View 3 Replies View Related

Fedora :: Finding Out What Processes Sending / Receiving Network Data?

Oct 27, 2010

I have a desklet that, occasionally after toying with network stuff, will tell me that large amounts of data are being sent/received. What's a good way to determine what processes are occupying these resources?!

View 14 Replies View Related

General :: Increase Terminal Scrollback Buffer Size?

Sep 15, 2010

I'm using CentOS 5.4 servers installed in a VMWare virtual machine with no X.Org server installed, so all access is via command line and the linux terminal. I use Shift-PgUp to view the scrollback buffer, but its size is very limited. How do I increase the size of the scrollback buffer?

View 3 Replies View Related

General :: Cannot Read The Chip Data On The Buffer File

Sep 1, 2010

Im having xeltek eeprom programer but I cannot read the chip data on the buffer file, when I read the chip using programer the datas are being sent to the buffer I can just see the adress line ,hex line and ascii line then I dont know which is the exactly data ,

View 1 Replies View Related

Ubuntu Servers :: Postifx Mail Receiving Size Limit?

Apr 10, 2010

using kubuntu 9.04 on AMD 64,working with ISPconfig panel.I have postfix configured and have no problem getting mails with small attachments, but when they pass certain size I don't get them.Where can I configure this?

View 3 Replies View Related

Networking :: Nagios Not Receiving SNMP Data?

May 18, 2010

I have recently set up nagios on a ubuntu server (9.10), and set it up to monitor all the servers, switches etc, following the quickstart guide provided on the nagios website.My problem is this:I have setup the nagios-plugins, and tried to set it up to monitor the network switches via SNMP but receive the following within the nagios web interface:SNMP problem - No data received from host I tried it from the command line, and got the exact same error.Is there some further configuration I need to do to be able to get this data?I've used up all my google-fu, and read over everyone else's problems on every forum I could find, but to no avail.

View 6 Replies View Related

Software :: Receiving UDP Multicast - Blocks As If There Is No Data

Nov 6, 2010

I am trying to port some MS Visual Studio C++ code to Linux/wxWidgets. The code is socket-based and very similar between Windows and Linux. In Linux the socket, bind, and setsocketopt all return with no error. See:

Code:
BOOL CAV15Input::SetupSocket(BOOL Out)
{ if(pU->PrDebug) {
sprintf(_send,"CAV15Input::SetupSocket for port %d",pSonar->dPort);
pU->OutMsg(_send,1,0); } pSonar->UDP_Sock=0; pSonar->UDPError=0;
pSonar->UDP_Sock=socket(AF_INET,SOCK_DGRAM,0);
if(pSonar->UDP_Sock<0 ) {
pU->OutMsg("socket failed on SetupSocket",11,0);
pSonar->UDP_Sock=0;
pSonar->UDPError|=4;
return FALSE; }
// the AF_INET address family, which contains IP addresses,
local.sin_family=AF_INET;
local.sin_addr.s_addr=inet_addr(pSonar->IP_Add_PC);
local.sin_port=htons(pSonar->dPort);
// from Dave Goffe:
//> int t = 1;
//>
//>setsockopt(fd,SOL_SOCKET,SO_REUSEADDR,&t,sizeof(t));
int t=1; if(setsockopt(pSonar->UDP_Sock,
SOL_SOCKET, SO_REUSEADDR,
(char *)&t,sizeof(t)) <0) {
CloseSock();
pU->OutMsg("set SO_REUSEADDR failed in SetupSocket",11,0);
pSonar->UDPError|=4;
return FALSE; }
if(bind(pSonar->UDP_Sock,(sockaddr *)&local,sizeof(local)))
{ CloseSock();
pU->OutMsg("bind failed in SetupSocket",11,0);
pSonar->UDPError|=8; return FALSE; }
if(pU->PrDebug) {
sprintf(_send,"socket setup & bind OK for port %d",pSonar->dPort);
pU->OutMsg(_send,1,0); }
// Join multicast group
if(pSonar->datatype) // for element data
mreq.imr_multiaddr.s_addr=inet_addr(pSonar->IP_Add_ELD);
else // for beam data
mreq.imr_multiaddr.s_addr=inet_addr(pSonar->IP_Add_HRB);
mreq.imr_interface.s_addr=inet_addr(pSonar->IP_Add_PC);
if(setsockopt(pSonar->UDP_Sock,
IPPROTO_IP, IP_ADD_MEMBERSHIP,
(char *)&mreq,sizeof(mreq)) <0) {
CloseSock();
pU->OutMsg("join multicast failed in SetupSocket",11,0);
pSonar->UDPError|=16;
return FALSE;
} if(pU->PrDebug) {
if(pSonar->datatype) // for element data
sprintf(_send,"join multicast OK on %s",pSonar->IP_Add_ELD);
else // for beam data
sprintf(_send,"join multicast OK on %s",pSonar->IP_Add_HRB);
pU->OutMsg(_send,1,0); }
jMCast=1; return TRUE; }

But then when I try
recv(pSonar->UDP_Sock,&pUDP->u_dg_cM.cM[8],reedlen,0);
it blocks as if there is no data. (In Windows this works fine.) Is there something else in Linux and/or wxWidgets that I'm missing that could prevent UDP datagrams from being received? Is there some way in Linux to monitor incoming UDP traffic?

View 2 Replies View Related

Networking :: Sending / Receiving Data Simultaneously Using BSD Sockets

Jun 25, 2010

I would like to send a data using one thread and receive a data using other thread by using a same socket connection using USD sockets. The calls i am using for sending and receiving are send(), recv(). let me know is it possible to send and receive the data parallel (Full duplex communication)?

View 2 Replies View Related

Software :: CHECK_NRPE: Error Receiving Data From Daemon

Jun 2, 2010

I have setup Nagios, Nagios Plugins, and nrpe. I have the nrpe running through xinetd.When I run /usr/local/nagios/libexec/check_nrpe -H <my_ipaddress> and I get the error

CHECK_NRPE: Error receiving data from daemon

View 14 Replies View Related

Programming :: Receiving Wrong Data On Winsock From Unix Socket

Jan 28, 2011

currently I've got a big problem on programming with sockets. I use the winsock2 API and want to receive data from a multicast adress running on a UNIX-PC. The connection works fine and I really receive data from this group, but as it seems not the right packages. The received data is saved in a char[]. E.g. at received_msg[12] is a float value. This one I would like to read out, convert and use it in later progress the next value is y at received_msg[16]. The same Code works on a Unix PC with unix sockets but converted to winsock I've got the described problem and I have to make this code work under windows.

Here a piece of the code (received_msg[12]='3f'):

Buffer is a struct containing the two float values x and y. If I convert the char as this under windows the value of x is a huge number. The correct value is around 192, so receveid_message[12] should be 1.92. Could it be that the Unix-PC is sending data in an other way than the winsock receive it?

View 2 Replies View Related

Networking :: Slow/Lose Network History Receiving - Network Connection

Oct 12, 2009

I am losing network bandwidth and I am quite frankly I am not sure why, I don't have allot memory 495.6Mib

But I clean my PC every few days "BleachBit"

I have read some where on the magazine Network receiving suppose to be higher. so how can I fix this issue please i am having allot problems, u use cable from Comcast

I am not quite sure what Information you might need from me to give.

I use Ubuntu 8.04 LTS

View 1 Replies View Related

General :: Data On Disk Drive Management By OS - Getting Base I/O Unit Size?

Mar 31, 2010

I want to ensure I have done all I can to configure a system's disks for serious database use. The three areas I know of (any others?) to be concerned about are: I/O size: The database engine and disk's native size should either match, or the database's native I/O size should be a multiple of the disk's native I/O size. DMA: Disks that are capable of Direct Memory Access (eg. IDE) should be configured for it.
Write-caching: When a disk says it has written data persistently, it must be so! No keeping it in cache and lying about it.

I have been looking for information on how to ensure these are so for CentOS and Ubuntu, but can't seem to find anything at all. I want to be able to check these things and change them if needed. The actual hardware involved is very modest. The point is to get the most out of what hardware we do have, even though it's "not very serious hardware" from a broader perspective.

View 1 Replies View Related

General :: Calculate Minimum Ext3 Partition Size For Certain Amount Of Data?

Aug 5, 2011

These following ext3 partitions contain identical data. As we can see, the larger the partition size, the more space is required for the same files:

Filesystem 1K-blocks Used Available Use% Mounted on
/dev/loop11 3965777 561064 3199964 15% [...]
/dev/loop19 573029 543843 29186 95% [...]

[code]....

View 2 Replies View Related

Debian Multimedia :: How To Change Icons Size And Gaps Size

Oct 22, 2015

today I upgraded via official testing repository Gnome to version 3.18. After this, icons on desktop and nautilus are bigger, than before. Next thing, gaps between icons are smaller than before. I tried change theme to default (Adwaita), then run gtk-update-icon-cache, but without result.

Normal view - icons are big for this view. URL....

Small view - icons are still big for this view. URL...

How can I change icons size and gaps size? Or is it bug for this version?

View 2 Replies View Related

General :: Change The Size Of New File ?

Mar 22, 2010

There seems to be a limit of 2 gb on files. Im trying to add my music files and have about 7 gb. Is there a way to make a file that will allow the extra info.

View 7 Replies View Related

General :: Change Amount And Size Of Ramdisks

Mar 8, 2011

Using Linux, when I boot I automatically have 16 16MB ramdisks, however, I would like to create one really large ramdisk to test some software.I found that I can adjust the size of the ramdisks already on the system with the kernel boot parameter ramdisk_size however, this makes all 16 ramdisks (/dev/ram0 - /dev/ram15) the size that is specified. So if I want to create a 1GB ramdisk, I would need 16GB of memory.Basically, I want to create one 10GB ramdisk which would be /dev/ram0. How would I go about doing that? I assume there is a kernel boot parameter, but I just haven't found it.

View 3 Replies View Related

General :: Change Physical Extent Size ?

Jun 19, 2011

The default physical extent (PE) size is 4MB in LVM (I am using CentOS 5.x). How to change physical extent size to 128 MB?

View 1 Replies View Related

General :: How To Change Xterm Font Size

Nov 17, 2010

I was wondering how to change the xterm font size and may be the font itself. Also we go to tty1 when we press Ctrl+Alt+f1 , f3 and so on. Is there any way I can change that too and maybe change the colour of the font and the size of it. I did change the resolution once in ubuntu with startup manager. I'm using fedora 14.

View 13 Replies View Related

Programming :: Detect A Closed Tcp Client Connection When Client Is Only Receiving Data ?

Mar 9, 2011

I am writing a TCP server in C, and the server listens to incoming client connections and accepts them. It then creates a thread to handle the client. The clients are expected to only receive data from my server and not send any data. So if I use a select() call with a recv(), I believe that the recv() will just block forever since there will not be any data coming from the client. If I use a non-blocking recv(), then this will just return a 0 which tells me nothing because the client is not expected to send any data. I am not sure if I have misunderstood some socket concepts, but I need a solution to detect when the client has disconnected so that I can close the socket and stop sending data to the client. As I understand it, simple ACKs etc are not captured by the recv(), and only data sent by the client will cause recv() to return a non-zero value, so I am not sure how to know when the client has disconnected.

View 7 Replies View Related

Fedora Installation :: Use Update Utility Receiving Error - Repository Data For Installed Repository Not Found

Apr 19, 2010

I just installed Fedora Core 12 and when attempting use the update utility am receiving the following error:

[code]...

View 3 Replies View Related

General :: Any Way To Permanently Change Terminal Font Size

Jul 10, 2011

I installed Ubuntu on my Netbook. I like it to use the Terminals. I don't mean the "GUI-Terminal-Emulators", I mean those I can open with "Alt+FX". There the font size is to big, so I changed it with "dpkg-reconfigure console-setup". It worked, but after restart the font were "reseted" and big. Is there a way to permanently change the font size?

View 4 Replies View Related

General :: Change Ghostview (gv) Menu Font Size?

Sep 27, 2010

How to change the GV menu font size? (not the document font size which is set by scale). man and info don't mention anything about this.

View 4 Replies View Related

General :: Change The Size Of Desktop/window Fonts In Puppy 4.1?

Apr 12, 2010

How to change the size of desktop/window fonts in Puppy Linux 4.1?

View 2 Replies View Related

General :: Zorin Resolution Size Cannot Change Panel Is Missing

Jun 16, 2011

I was having a problem even loading my distro. It turns out I accidently installed wrong drivers (nvidia while I have an Itel chip set) So everytime NVIDIA tried to load it's module and screen setting, it forced a check (fsck) because it couldn't find anything for NVIDIA. I booted in recovery, Changed configuration. # commented out the NVIDIA section, and changed NVIDIA to intel in the display section. Which seems to have worked because it now loads without me having to go into recovery mode, however my screen is abnormaly large and I can only see the center of the desktop. Leaving me unable to reach the panel and change the settings.

Typing:

Code:

However when I do xrandr I get:

Code:

cannot open display

Is there a way for me to edit that and any ideas on why it may be doing that?

View 3 Replies View Related

Slackware :: Lightweight MTA Without Network Capabilities Just For Receiving Local Administration Emails?

May 19, 2010

I was wondering if anyone could recommend a way a very lightweight MTA without network capabilities just for receiving local administration emails?I know I could restrict access, I was just wondering if there was something more lightweight designed purely for local use.

View 2 Replies View Related

Debian :: Network Manager Overwrite Resolvconf Vpn Data With Eth0 Data

Jan 23, 2010

I'm trying to connect to the VPN of my employer; after fix various minor issues I reach this point in which the DNS entries and the default gateway of the VPN are overwritten with the values of the eth0 device that appears by default. Therefore the vpn is not useful.

View 1 Replies View Related

General :: Http Or Ftp Data Is Going Through Network?

Oct 19, 2010

Is there a tool or way to find out how much http or ftp data is going through network?

View 4 Replies View Related

Ubuntu / Apple :: Data Size Too Large For Disk?

Apr 28, 2011

I am trying to burn mac osx 10.5 install disk from from a 6.7gb dmg disk image. I thought I would be using 2 DVD-R 4.7GB discsfor this burn, I was hoping when the first was full it would ask for another to finish the burn. Instead it get the message that the DVD will not hold the choosen DMG. file.

Can I do anything besides buy a dual layer DVD that would hold the whole file?

View 1 Replies View Related

Server :: Increasing HDD Size While Keeping Data Intact

Jun 15, 2010

I'm currently setting up a server with 2x 1TB disks in raid1. (Centos 5.5)In the future, if the storage is insufficient and I decide to upgrade the disks to 2x 2TB, could I just:

- dump ghost image of the array on usb drive
- replace hdd's and build new array
- ghost array with image created previously

Would the above work, will the new partition automatically resize to 2TB or do I need to partition right now with LVM? would it work with LVM?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved