In the work often encounter server traffic anomalies, from time to moment the traffic is very high, today is a server intranet port traffic has reached 50Mbps within a short period, below is my method and steps to troubleshoot the problem, record.1. Use Iftop-p to determine
Example, in the CentOS test
First look at the results after the test
Code
# vi/etc/rc.d/traffic_monitor.sh
----------------------------------------------
#!/bin/bash
Path=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin;
Export PATH
function Traffic_monitor {
os_name=$ (sed-n ' 1p '/etc/issue)
While ["1"]
Todo
# The name of the network port
Eth=$1
# status
status= "Fine"
# Get the current time the network port to receive and send
You can actually install an Apache HTTP server on your computer, make it into a forward proxy, and then use the caching capabilities to save traffic.
How to configure forward proxy here is not much to say, on the internet to catch a lot. Here, there are a lot of sites do not specify the picture,. Js/.css in the user's browser to cache one end of time, in these sites to switch multiple pages, will produce a
After your server is hosted and shelved in the data center, it will officially provide external services for 7x24 hours. The incoming and outgoing data packets in the server have a certain amount of traffic, and the data center will also monitor and control the traffic on your serv
function:
The main function of Trafficserver is caching, and of course you can use it as a pure reverse proxy (as usual with nginx). Often the best way to cut into a large system is to see how it works, with two main portals using traffic server: Profiles and Plug-ins. All users need a profile, and a plug-in is required for advanced users.
Traffic support f
Use the iftop command in Linux to view server traffic
Introduction
Iftop is similar to the top real-time traffic monitoring tool in Linux.
Iftop can be used to monitor the network card's real-time traffic (network segment can be specified), reverse resolution IP address, display port information, and so on. The detaile
From: http://yoursunny.com/t/2011/FiddlerHTTPS/crawling HTTPS traffic on the server with fiddlerSunshine Boy published in 2011-03-19In the process of developing Internet applications, network interfaces are often established or utilized. In order to debug the use of network interfaces, it is often necessary to look at network traffic or packets that flow into and
port information of the local source host is displayed by this keyD Use this key to toggle whether the port information for the remote destination host is displayedP Use this key to toggle whether the port information is displayed> This key can be used to sort the host name or IP address of the remote target hostO This key toggles whether the current connection is fixedThe power of iftop is that it can display the traffic status of the network in rea
Alibaba P9 architect explains the evolution process from a single server to a large website with hundreds of millions of traffic, with hundreds of millions of p9Phase 1: website construction by a single organization
In the early stages of the website, we often run all our programs and software on a single machine. In this case, we use a container, such as tomcat, jetty, and jboos, and then directly use the
Recently received a line of a DB server ping drops, packet loss rate has been around 30%. Through the Zabbix monitoring to view the server CPU, memory is normal, network card traffic is not high, basically around 100M.650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M00/85/75/wKiom1ekGFCBE0nWAAHfgGoPDTk656.jpg-wh_500x0-wm_3 -wmp_4-s_2484793242.jpg "title="
The network environment of a server in the company is too high. when the server is connected to the source server for download, it runs to 400 M-500 M. in order to control the server, we studied TC. To control traffic. to control it to a small point, do not let this one occu
This article is from my translation of the Infoq Chinese station, the original address is: Www.infoq.com/cn/news/2015/07/traffic-server-5.3.1-releaseRecently, the Apache Software Foundation released the traffic Server version 5.3.1, which fixes some bugs in previous versions and is compatible with all 5.x versions.Apac
Because many VPS or server are limited traffic, but many service providers do not provide a detailed flow chart, such as daily traffic table, so it is certain that some people would like to know how much traffic on their servers.Vnstat is a very useful server
:protocol IP prio u32 match IP DST 192.168.111.0/24 flowid 1:1can limit 192.168.111.0 to 255 of the bandwidth of 3000k, the actual download speed of about 200k.In this case, all the machines in this segment share the 200k bandwidth.You can also add a SFQ (random fair queue)TC Qdisc Add dev eth0 root handle 1:htb r2q 1TC class Add dev eth0 parent 1:classid 1:1 HTB rate 3000kbit Burst 10kTC Qdisc Add dev eth0 parent 1:1 handle 10:SFQ perturb 10TC Filter Add dev eth0 parent 1:protocol IP prio u32 m
Because many VPS or server are limited traffic, but many service providers do not provide a detailed flow chart, such as daily traffic table, so it is certain that some people would like to know how much traffic on their servers.Vnstat is a very useful server
The topology is as follows:650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/7F/96/wKiom1cjLiuRHteCAAAm_KwrOak905.png "title=" 1.png " alt= "Wkiom1cjliurhtecaaam_kwroak905.png"/>Environment Description: Intranet two network segment through the NAT function of firewall Internet, internal Web server: 10.1.20.200 map to public network 80 port, configuration information is as follows:ACL number description Nat_source Rule 5 Permit source 10.1.20.
Tags: blade server traffic image traffic replication IBM blade BTN Nortel Switching ModuleHow to copy traffic from the external port ext to the internal int port on the blade server to collect DNS traffic
(1) We have fixed the pa
Apache Traffic Server 'httptransact. CC' DoS Vulnerability
Release date:Updated on:
Affected Systems:Apache Group Traffic Server 5.0.0-5.1.1Description:Bugtraq id: 71879
Apache Traffic Server is a scalable HTTP/1.1 compliant ca
right pane shows all 4 supported protocols and their state. To display configurable properties for any protocol, you can double-click the protocol, or right-click the protocol and select the Properties command to open the corresponding Properties window. The 7.1.1 Shared Memory protocol Shared memory protocol can only be used by local connections because it is an inbound for intra-server communicationSpace for shared memory. It has only one conf
1. Use compilation and Installation
This method is applicable to all Linux releases.
First, download vnStat from the official website:
wget http://humdi.net/vnstat/vnstat-1.11.tar.gz
Decompress:
tar xvzf vnstat-1.11.tar.gz
Enter the directory:
cd vnstat-1.11
Compile and install:
make make install
If nomakeCommand, you need to installgccAndmake
Under CentOS:
yum -y install gcc make
In Debian/Ubuntu:
sudo apt-get install gcc make
After compilation and installationifconfig -aView your network card
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.