-
When nginx starts or rereads its configuration, to speed up processing of some static data sets (such as server names, MIME types, etc., which you may have encountered when configuring nginx), it stores these data in a cache block (cached in a storage device between memory and CPU registers, close to the CPU. Modern CPUs have L1, L2, and L3 encapsulated within the CPU, which is characterized by speed, faster than memory but slower than registers). The size of this cache block is controlled by the parameter server_names_hash_bucket_size. The default size varies depending on the physical CPU, usually being a power of 2. When increasing the size, adjust the value according to the CPU level.