1
vote
1answer
51 views

Increase bandwidth per connection on a server

Requirement: I am load testing Rabbit MQ by generating a large number of requests/sec to the server (Server config: 8 core, 16GB). To achieve the above, I am generating load from a client machine at ...
1
vote
0answers
30 views

Group traffic shaping with traffic control?

I'm trying to limit the output bandwidth generated by an application with linux tc. This application sends me the source port of the request that I use has a filter to limit each user at a given ...
-4
votes
1answer
45 views

Streaming audio/video in a publicly-hosted server increases bandwith usage [closed]

I have a website hosted in a public server (withoud any streaming content) ,using public hosting instead of private because its cheaper. But in public hosting their are limitations when compared to ...
-1
votes
1answer
43 views

Dedicating a server for latency test

I've created a server to test bandwidth from employees working remote (using speedtest.net mini), but was wondering if anyone knew of a way to setup some software in linux to test latency and possibly ...
0
votes
0answers
113 views

Speed limit on streaming/downloading MP4 files

Even though other file formats are downloaded fast, MP4 files are downloaded / streamed at max of 160 kb/s I checked everything that may limit the bandwidth but couldn't find it. How can i make ...
0
votes
0answers
57 views

Traffic Shaping Script Not Working

I wrote a script trying to use HTB algorithm to limit the throughput of specific ports, below is the script: tc qdisc add dev eth0 root handle 1: htb tc class add dev eth0 parent 1: classid 1:1 ...
1
vote
0answers
74 views

nginx and cloudlfare ip confusion?

I am using the below config in http block of my nginx.conf to get real ip while using Cloudflare acceleration service: ## Cloudflare settings to get Real IP's set_real_ip_from ...
0
votes
0answers
37 views

Balancing server bandwith

I am working on a file uploading website. It will be run on dedicated server with 1GBPS connection. I wanna offer visitors max download speed possible at the current moment. So lets say server can ...
1
vote
0answers
27 views

Is It Possible to Attach multiple Ports to a TC Filter?

I need to limit the bandwidth/rate by ports, and as a server there would be thousands of ports. Due to the limit of tc filter, I wonder if it is possible for multiple discreate ports to share a same ...
1
vote
1answer
41 views

How Many Filters Can We Have — LINUX QOS

I am doing Qos on Linux server using TC. According to the grammar of tc tool, the handle of a filter must be between 800::001 and 800::FFF. And because 0XFFF equals 4095 in decimal, so we can only ...
0
votes
0answers
39 views

What Is the Smallest Burst Value for HTB Algorithm (QOS)

Regarding the HTB algorithm, I want to know what is the smallest burst value in an HTB shaping rule such as "tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit burst 15k". Is it MTU?
-1
votes
2answers
151 views

why the dns related traffic is so huge, is my server being hacked?

I have a vps, and have several site on it, usually these sites are rarely being visited except myself, thus i am shocked by one fact that is i visit the vps provider's portal and find i have used a ...
0
votes
0answers
24 views

Excessive data consumption over ppp0,can't find the culprit

I have an embedded computer that uses GPRS to access the outside world. I have several applications that run on the local network. I also have an application that communicates over the loopback ...
1
vote
0answers
129 views

How can I isolate the source of outgoing bandwidth usage on VPS server? [closed]

I have a VPS running CentOS Linux 5.x, with Kloxo server management software. I kept everything as close to default as possible. I created NS records with my domain name provider, and successfully ...
1
vote
0answers
56 views

Why Parent Class In a TC Rules Tree Not Working

The parent class in my TC rules script doesn't work as it garanteed! Can somebody tell me what is wrong with my script? Here are some details about my question: From the chapter "9.5.4.4. Sample ...
0
votes
1answer
132 views

Why This TC Script Not Working

Our application has three classes of traffic, and every type of traffic involves three ports. We want to limit the traffic by port number via TC, so I made a simple TC script to have the test, however ...
0
votes
1answer
100 views

What do these two QOS script statements mean

I am studying the QOS utility of Linux -- TC -- recently, and today I encountered below two statments from a bandwidth-limit script on Linux: tc filter add dev eth0 parent 1: prio 1 protocol ip ...
1
vote
1answer
191 views

Can TC limit bandwidth by the Qos field of IP header

We are developing a client/server applications. There are three types of network data in our server app: Realtime data such as those of Video/audio, Critical Data such as those of Database data and ...
3
votes
2answers
129 views

Can TC (Linux Qos Utility) limit bandwidth usage of target applications?

We have many applications running on the same server machine which is inside a network of servers. We want limit the bandwidth of our applications to specific value. So here are some choices: ...
0
votes
2answers
385 views

Is there any open source software for QoS (traffic control)? [closed]

We are doing QoS (traffic control) for our server application. This server provides file download service for users and we want to give different users different priority and bandwith. Suppose the ...
2
votes
1answer
339 views

Bandwidth Manager Using Squid

I am trying to create a internet distribution software for an ISP (an internet distributor or a school or other such organizations) like the one here It will have restrictions and policies for users ...
1
vote
1answer
138 views

Controlling rsync bandwidth usage by percentage of available bandwidth, in userspace?

I often use rsync on a OSX-based laptop to synchronise some files from it to a Linux server. The laptop can be connected to different networks with greatly varying bandwidths (office ethernet, wifi, ...
0
votes
1answer
153 views

Socket based byte counts

I see a lot of tools to get the RX and TX byte counts for transmission on interfaces, is there any tool/program that I can use to get a total transmitted byte count for a single specified socket? I'm ...
6
votes
1answer
2k views

Limit incoming and outgoing bandwidth and latency in linux

I realise many similar questions have already been asked, but so far I've yet to find a solution to my problem. I have a virtual linux server (running Debian Squeeze) that I use for testing of ...
0
votes
1answer
347 views

Can FTP bandwidth usage result in dropped SSH connection?

It seems highly implausible, even ridiculous, to me. I login by SSH to the CentOS server. I FTP to another server and begin a large file transfer out (uploading to other server). After some time ...
0
votes
1answer
196 views

LAN bandwidth in Linux is low

everyone, I connect two PCs both with 1000Mbps NIC. One(A) of them runs Fedora 8 while another(B) runs Windows7. I test bandwidth between them with Ixchariot, it shows about 10Mbps. If A and B both ...
1
vote
1answer
467 views

Random gigabit bandwidth with my Samba fileserver

I own a personnal Fileserver, build on an AMD X2 platform, with an intel gigabit CT network adapter, running debian 6.0. I've built a raid5 (2To x 3), shared by samba 3.5.6 From my desktop computer ...
0
votes
1answer
254 views

How to mark outbound FTP traffic with iptables?

i have a user called "testuser" in my debian system and i want to mark the FTP traffic going from testuser's account how can i do that? i use following commands to mark all the outgoing traffic for ...
1
vote
2answers
1k views

how to limit upload bandwidth per user in linux?

Can anyone provide the tc command to limit upload bandwidth per user in Debian Lenny? I found that to mark packets per user with iptables I can use the following command iptables -t mangle -A OUTPUT ...
3
votes
2answers
1k views

Limiting bandwidth on internal interface on Linux gateway

I am responsible for a Linux-based (it runs Debian) branch office router that takes a single high-speed Internet connection (eth2) and turns it into about 20 internal networks, each with a seperate ...
39
votes
5answers
2k views

Is there a linux terminal command that lets you see the amount of data coming in to your tcp connections in real time?

It would be something similar to top, where you see your cpu processes in real time. I'm not looking for a GUI like Wireshark to do it.
1
vote
2answers
382 views

Linux - Get Outbound/Inbound Traffic by IP address

I am hosting a website and I found that the traffic on my server is quite high. My Linux server is behind a router in a DMZ. I would like to see the traffic made on my Linux box on the eth0 ...
-1
votes
1answer
303 views

when a hosting mentions 100mbps bandwidth, what does it mean? [closed]

Most of web hostings say 100mbps bandwith, does it mean 100mbps upload and download combined ? what is the share between upload speed and download ? is 50 50 ? or 40 60 ? or etc ? Can anyone explain ...
-6
votes
1answer
318 views

What buffer size should I use to maximize disk I/O bandwidth? (16Kb, 32Kb, 64Kb, etc.) [closed]

I am trying to write a file as fast as I can through a buffered FileChannel similar to a BufferedOutputStream. I am wondering what is the optimum chunk of data I should use per write call to maximize ...
1
vote
1answer
265 views

Monitoring outgoing bandwidth of application

I currently have a VPS that is consuming a ton of outgoing bandwidth and I am trying to drill down to where this may be coming from. Does anyone know of a logical way to go about finding out which ...
2
votes
0answers
176 views

how to measure IP bandwidth in pass through mode in linux?

I want to measure the IP bandwidth in pass through mode. Please find the attached picture for configuration and my question also. If there is no solution with OpenWRT, I need any alternative ...
1
vote
1answer
156 views

Linux Router - Share bandwidth per IPs with current active connections

We have a Linux machine running as a custom router, currently utilising Shorewall. This sits between our incoming internet connection and the internal LAN. What we would like to achieve is 'fair ...
2
votes
2answers
752 views

How do I reserve bandwidth for rsync?

Currently nginx uses all my bandwidth. How do I leave some for rsync?
4
votes
2answers
188 views

Is there a linux command/tool that will provide end-to-end bandwidth information between local and external host?

CentOS 5.x At times, I've wanted to know what general bandwidth constraints exist between my servers and an external server that I don't have control over. Is there a linux command/tool that could ...
1
vote
1answer
756 views

Iperf bidirectional bandwidth measurement

Server side: # iperf -s ------------------------------------------------------------ Server listening on TCP port 5001 TCP window size: 85.3 KByte (default) ...
2
votes
1answer
415 views

Limit scp (with sshd on centos) speed / rate

I'd like to let users download / upload files via scp to my centos 6.0 system, it's connected to lan via Gigabit ethernet, but I don't want transfers to flow at that speed. I want to limit the speed ...
0
votes
2answers
218 views

Server bandwidth usage monitoring

I'm using ubuntu 11.04. What I would like to be able to do, is to be able to view in a browser front end, the amount of in/out network data of the PROCESSES running on my machine. Anyone know if and ...
2
votes
2answers
320 views

Linux (but not Windows) downloads take all our Internet bandwidth

At the company where I work, we have a perennial problem with large downloads (not P2P, not just updates) by Linux PCs (various Ubuntus) swamping our internet connection. For whatever reason, this is ...
1
vote
2answers
3k views

Tool to monitor bandwidth utilization per traffic (tc) class on linux

Some time in the past, i came across a siple tool that showed live in a 1sec interval, in human readable format, the bandwidth utilization seperated per tc class on your linux server. Unfortunately, i ...
4
votes
5answers
545 views

Measuring cumulative network statistics per user or per process

I've been googling for hours -- Under Linux I want to know the cumulative bytes sent and received by user or by process over all ip protocols. The best I've found in my searches is that it's possible ...
2
votes
5answers
244 views

How can I measure precisely the resources consumed by each Web site on my server?

We are having performance issues on our server which may or may not be the inevitable result of high traffic to our sites. We would like to optimize each site for performance so that we can be sure ...
9
votes
2answers
1k views

How to find process which uses most bandwidth

How can I find the process which uses most bandwidth on a Linux PC? With iftop it's possible to find which connections produce most bandwidth, but how to find the process?
4
votes
1answer
367 views

droping packet on iptables = wasting bandwidth?

recently I do this on my iptables : -A INPUT -p tcp --dst 192.168.0.0/16 -m hashlimit --hashlimit-above 32/sec --hashlimit-mode dstip --hashlimit-name hosts -j DROP it seems that if my client ...
2
votes
4answers
462 views

Monitor bandwidth usage of a datacenter

I would like to know what application is best for measuring bandwidth usage in large datacenters. Our company is in the process of setting up a DC which will have around 1000 physical servers. We ...
5
votes
2answers
110 views

Insufficient channel capacity of 1GBit

There is a Caching Server (Varnish): it receives data from Amazon S3 on request, saves it for some time and gives it to the client. We have encountered the problem of insufficient channel capacity of ...