|
The current virtual host is divided into three main types of traffic restrictions: One: Traffic limit is to limit network traffic directly, this limit is usually the most severe one traffic limit, 10 g of traffic generally support 50 people online. After the current month, the site will not be able to access the normal within one months, the solution is to upgrade the space or increase traffic! Two: CPU limit CPU limits appear to be not limited to IIS or network traffic, but because each program requires a certain amount of CPU quota, is also a disguised traffic restrictions, usually the page is too much online is due to excessive CPU limit caused by too small! After a refresh or 15 seconds can be temporarily normal operation, usually 1% The CPU limit is equivalent to 20 IIS connections! This is important for forum space, the Forum CPU limit once too small will not work properly! Three: IIS Restrictions IIS throttling is the most used now, is also recognized by most users or host vendors, is the only loose traffic limit, usually 20 IIS is equivalent to 1%CPU occupancy!
In a word, the virtual host actually does not have unlimited traffic, the total can be divided into the above three ways, how you choose, to see your needs, if your program occupies little CPU, is optimized program can choose to limit the CPU, so that your online can get the most play, if you are a beginner, or forum users, or website program has BBS, choose IIS limit or direct traffic limit is a good choice!
An explanation of the number of simultaneous connections and the number of people on the line
Many users have a vague understanding of the concept of connection numbers, as described below:
1, visitors to the site, must and the site through the TCP protocol, establish a connection. This connection is present when the information is read from the server and is automatically closed at the end of the read. So, when a page has been completely displayed on the client's monitor, the connection used may have been turned off.
2, each browser, access to a site, may occupy 1--3 a connection, which is automatically processed by the computer, the purpose is to speed up. Related issues: So, it's not surprising that for a basic host with a connection number of 30, sometimes only more than 10 people can access it.
3, the number of online statistics in the forum is based on the number of visits to the Forum during a certain period of time as standard, and the number of connections should not be related. For example, the Dynamic Network forum, the default is like 40 minutes (?). The number of active people. Perhaps the forum shows that a user is also online, but the user is not (is) reading the forum page, so it will not occupy the number of connections. Related issues: (1) Therefore, as long as the visitors to the forum is not too concentrated, not at a certain point in time to exceed the maximum number of simultaneous connections, the number of online statistics in the forum, will greatly exceed the space allows the maximum number of simultaneous connections. (2) Some users in order to show the popularity of the forum, can be in the big forum to count the time range of online people (Dynamic Network forum to provide this feature), even the day of all the people who browse your site, are counted as online number.
4, although the server can specify the maximum number of connections per site, but also there is a total number of server connections maximum. Therefore, even if the maximum number of connections for a user site is limited, the site cannot be accessed when the server reaches the maximum number of connections. The maximum number of connections to the server is generally in 1000--why the service provider dares to open the host, not the number of unlimited connections in nature. (2) Western Digital provides the host, allows the number of connections are high, should be able to meet user needs.
5, now the host service, some service providers use a lot of people on the concept of vague, and misleading consumers, so buyers should be cautious to engage in
Understanding what the number of IIS connections
The number of IIS connections refers to the number of concurrent connections, what does it mean? To be divided into several situations: (Take 100M space 50 people online for example) A user single point of download your files, after the end of normal disconnection, these connections are calculated according to the moment, that is, your 50-person site can be accepted at the same time 50 points to download b Users open your page, even if stay in the page did not make any request to the server, then the user opened one side of the 20 minutes will also be counted an online, that is to say you 50 people's website 20 minutes can accept different users open 50 pages C in the case of B above the user continues to open other pages of the same site, then the number of people online is calculated after the user's last click (Making the request), and in this 20 minute regardless of how the user clicks (including the new window), the person is online. D when there is a frame (Iframe) within your page, then one more time each frame will be online! Because this is equivalent to the user requesting multiple pages at the same time to the server. e When the user opens the page and then closes the browser normally, the user's online number will be cleared immediately.
Then learn what is the forum online number. Forum online only calculates the number of active users within a certain period of time. Here the time users can set their own, the Dynamic Network forum default to 40 minutes of relatively accurate values.
According to the above instructions, it is clear that the concept of the forum online and IIS connections is different Why does the number of IIS connections and forum online not match? The specific analysis is as follows:
1: You use the plugin version of the forum or the beautification forum! Now the plug-in is very garbage, not only the server resources, and will make the forum run slower (no plug-in can be faster than one more), while the number of online, some plug-in calls many frameworks, less 2, 3, more than 4, 5! There is even music online to play, so a person online is quite with many people online! and the landscaping forum because of the use of a large number of images, but also more than the standard version of the forum occupy IIS large number.
2: Your website is the form of homepage + forum! This way the homepage and forum are vying for your online numbers!
3: There is a player inside your forum! One person online, then he plays music online, which accounts for two of people online!
4: There is a framework form of Web page inside your forum! Every frame, just one more times online!
5: Your forum set online time is too small! The net default is 40 minutes, because the forum online only calculates the number of active users within a certain period of time, when you set the time is small, it seems that the number of forums online is less natural!
6: There are multiple forums in your space! Some customers in a space to upload multiple forums, such as BBSBBS1BBS2, etc. There is no doubt that such a forum is also to compete for the number of the line!
7: Your forum pictures and other documents are hotlinking! For example: Your forum has a picture file, be pasted (note is pasted not upload) to another forum! Other forum users are also counted as an online number when browsing the file! Especially when the logo is connected to the attention, be sure to each other to upload your logo to his space!
8: You have the space to put the download file! If users use the network ant class software, each thread will represent an online, very powerful! ——————————————————————————————————
Workaround:
1: Remove the Trash plug-in version, with the standard version! 2: Try not to use the framework of the form of production pages! 3: Don't put any music, movies, downloads! 4: To prevent the theft of the occurrence of the situation! 5: Upgrade to buy space to support more people online! |
|