The current virtual host is mainly divided into three types of traffic restrictions:
1: Traffic limit
That is to limit network traffic. This limit is usually the most stringent flow limit. 10 G's flow generally support 50 people online. After the month is more than, the website does not access it in one month, the solution is Upgrade space or increase traffic!
2: CPU restriction
The CPU limit does not limit IIS or network traffic, but because each program is running requires a certain CPU quota, it is also changing flow restrictions, usually online excessive online is due to excessive CPU limit! By refresh or 15 After seconds, you can get temporary normal operation, usually 1% of the CPU limit is equivalent to 20 IIS connections! This is important for the forum space, once the CPU limit of the forum will not run normally!
Three: IIS limit IIS restrictions are now using the most used, and is also recognized by most users or mains, is the only loose traffic limit, usually 20 IIS is equivalent to 1% CPU usage!
All in all, the virtual host actually does not have an unlimited traffic, and the total can be divided into three ways. How do you choose, you want to see your needs, if your program takes up a small CPU, it is an optimized program to choose from CPU So your online can get the biggest play, if you are an initiator, or a forum user, or a BBS in the website program, choose IIS restrictions or direct traffic limit is a good choice!
Detailed explanation about the number of connectors and online people
Many users have a vague understanding of the concept of connectivity, and now the following:
1. The viewer access the site, and the site must be connected to the site through the TCP protocol. This connection exists when reading information from the server. When reading, it is generally automatically turned off. So, when a page is fully displayed on the client's display, the connection may have been closed.
2. Each viewer, when accesses a site, it may take up 1-3 connections, which is automatically processed by the computer, so the purpose is to speed up the speed.
Related questions: Therefore, for the basic type host for the connection number 30, sometimes more than a dozen people can be accessed, it is not enough.
3. The number of online people in the forum is the standard of accessing the activities of the forum in a certain period of time, and there is no relationship with the number of connections. For example, the default seems to be the number of activities in 40 minutes (? Maybe the forum shows a user is also online, but this user does not take up the number of connections due to not (positive) in reading the forum.
related question:
(1) So, as long as the viewer's access to the forum is not more concentrated, it will not exceed the maximum number of connections at a certain point in time, and the number of online people in the forum will greatly exceed the maximum number of connections allowed by the space.
(2) In order to display the popularity of the forum, some users can mark the time range of the number of online people in the forum (the mobile network forum provides this feature), and even all those who browse your site in one day are as an online number.
4. Although the server can specify the maximum number of connections for each site, there is also a total maximum number of connections for the server. Therefore, even if the maximum number of connections in the user site is not limited, the site is still unable to access the site when the server reaches the maximum connection. The maximum connection between the server is generally at 1000--2000.
related question:
(1) This is why the service provider dares to open an unlimited number of connections, essentially an infinite connection.
(2) The main unit provided by the western digital, allowing the number of connections to be higher, should meet the user needs.
5. In the current host service, some service providers use many people to blur the above concept, and mislead consumers, so buying hosts should be cautious.
Understand what is IIS connection
IIS connection number refers to the number of concurrent connections, what does it mean?
Several cases: (50 people online as an example of 100m space)
A user single click to download your file, after the end, it is broken, these connections are calculated in an instant, that is, you can accept 50 points for 50 points to download your page, even if you stay on the page. Any request is issued for the server, then it is necessary to count online within 20 minutes after the user opens, that is, the 50-person website can accept 50 pages of different users in 20 minutes.
C The case of the above B. The user continues to open other pages of the same website, then the number of online people will calculate after the last click (issuance request), in this 20 minutes, regardless of whether the user hits (including new window opens) or One person online.
D When you have a frame (iframe) in your page, then more than one frame is more online! Because this is equivalent to requesting multiple pages to the server at the same time.
E When the user opens the page and then close the browser, the number of online people's online number will be cleared immediately.
Then understand what is the number of forums online.
The forum online is only calculated to calculate the number of activities within a certain period of time.
The time users here can set themselves, the mobile network forum defaults to the relative accuracy of 40 minutes.
According to the above description, it is clear that the concept of online and IIS connections is different.
Why do IIS connections and the forum online do not match?
The specific analysis is as follows:
1: You use the plug-in version forum or beautify the forum!
The current plugin is very rubbish, not only accounts for server resources, but will make the forum slow down (no plugin can be more than double), and it is very popular, and some plugins call a lot of frames, less 2, 3, more 4, 5! Even online playing music, so a person is quite online online! The beautification version of the Forum is also the same as the quantity of IIS than the standard version of the forum.
2: Your website is the home page forum!
This home page and forum have to compete for your online number!
3: There is a player inside your forum!
One person online, then play music online, accounting for two people online!
4: There is a web page in the form of the frame in your forum!
Every frame, more online!
5: Your forum sets online time too small!
The mobile network is 40 minutes because the forum online is only calculated for a certain amount of activity users. When you set the time, it seems that the number of people in the forum is naturally less!
6: You have multiple forums in your space!
Some customers upload multiple forums in a space, such as BBS BBS1 BBS2, etc.
There is no doubt that this forum is also to compete for the number of people!
7: Your forum pictures and other documents are attacked!
For example: your forum has a picture file, pasted (note is paste is not uploading) to another forum!
Users of other forums are also a online number when browsing the file!
Especially when LOGO is connected, it is important to put your LOGO to his space.
8: There is a download file on your space!
If the user uses the network ant class software, each thread represents an online, very powerful!
----------------------------------
Solution:
1: Remove the plug-in version of the garbage, use the standard version!
2: Try not to make a page in the form of a frame!
3: Don't put any music, movies, download!
4: Prevent the occurrence of theft! 5: Upgrade Buy Support for more online people!