SoFunction
Updated on 2025-03-09

Detailed description of the number of IIS connections and number of people online


Recently, some customers reported that the number of online users purchased (IIS connections) does not match the actual number. Now the description is as follows

First, understand what IIS connection number is.
IIS connection number refers to the number of concurrent connections. What does it mean?
There are several situations to be divided into: (Take 100M space 50 people online as an example)
A User downloads your file in a single point and disconnects normally after the end. These connections are calculated in an instant, which means that your website of 50 people can instantly accept 50 points of download at the same time.
B If a user opens your page, even if he stays on the page and does not make any requests to the server, he must be considered an online within 15 minutes after the user opens one side. That is to say, your website of 50 people can accept 50 pages from different users within 15 minutes.
C In the case of B above, the user continues to open other pages of the same website. Then the number of people online is calculated based on the 15 minutes after the user's last click (make a request). In this 15 minutes, no matter how the user clicks (including opening a new window), they are still online.
D When there is an Iframe in your page, then every additional frame will be twice as many online! Because this is equivalent to the user requesting multiple pages from the server at the same time.
E When the user opens the page and closes the browser normally, the number of users online will be cleared immediately.

Then find out what the number of people online forum is.
Forum online only calculates the number of active users within a certain period of time.
The time users can set it themselves (delete the time of inactive users), and the default is the 40-minute relative accuracy value.

According to the above description, it is obvious that the concept of the forum online and IIS connections is different.
Why does the number of IIS connections do not match the forum online?
The specific analysis is as follows:

1: You used the plug-in version of the forum!
The plug-ins are very garbage nowadays. They not only occupy server resources, but also slow down the forum (no plug-in can be more than twice as fast as possible), and also account for the number of people online. Some plug-ins call many frameworks, ranging from 2 to 3, and from 4 to 5! There are even online music playing, so that a person online is quite similar to many people online!

2: Your website is in the form of homepage + forum!
In this way, the homepage and forum will compete for your number of people online!

3: There is a player inside your forum!
One person is online, and then he plays music online, and two people are online!

4: There are web pages in the form of frameworks within your forum!
Every framework is twice as much online!

5: Your forum is set up online for too little time!
The default is 40 minutes for Dynamic Network. Under this default value, our 20IIS learning host can generally reach about 50 people, because the forum online only calculates the number of active users within a certain period of time. When the time you set is small, it seems that the number of people online in the forum online will naturally be smaller. Please change the time to delete inactive users to the default 40 minutes!

6: There are multiple forums in your space!
Some customers upload multiple forums in one space, such as bbs bbs1 bbs2, etc.
There is no doubt that such a forum also needs to compete for the number of people who are informed!

7: Your forum pictures and other files have been stolen!
For example: There is an image file in your forum that is pasted (note that it is pasted not uploaded) to another forum!
Users from other forums are also counted as online when browsing the file!
Especially when connecting to the LOGO, be sure to upload your LOGO to his space!

8: There are download files on your space!
If the user uses the software of the Internet Ant, each thread represents an online, which is very powerful!
——————————————————————————————————

Solution:

1: Remove the junk plug-in version and use the pure version!
2: When connecting to the LOGO, please send your LOGO to his space!
3: Try not to use frames to create pages!
4: Don’t play any music, movies, or downloads!
5: Prevent thefts and connections!