A few days ago, there was a strange phenomenon in the client-server. A well-configured server, 64G memory, and two 12-core CPUs were connected to one storage. The system load was irregular and it was very high every time. At the time of the high, it was maintained at 40 or 50. At this time, through various commands (top, vmstat, iostat, ifstat, sar), the resources were not generally idle, and they could not be confused for a while.
System resources are no problem, only from the service, this server mainly runs nis and nfs services, nis service is only to provide network users, because this service is not likely to increase the load, first of all Think of nfs.
First introduce the environment of the server. This server shares the data on the storage to the client server through nfs. The developer works on the client server, and the development team has about 100 people. Due to the large number of developers and the number of projects, it is entirely possible that system performance will be affected by the performance bottleneck of the nfs service.
Remember to have a problem with Red Hat after sales, probably: my nfs server has to accept several client server mounts, and there are many R & D personnel, if the load is high, the nfs service will not be affected No. At that time, the answer to me after the sale was "It doesn't matter, as long as the number of nfs processes is increased, it will be fine." The calm answer made me convinced. However, this time my nfs server process has been transferred to 80 processes, is it not enough? So the number of processes was changed to 160, restarting the nfs service, observing for a while, the server load dropped, and now there is no similar high load.
Adjust nfs process method:
1.[root@server2 ~]# vim /etc/init.d/nfs2.# Number of servers to be started by default3.[ -z " ;$RPCNFSDCOUNT" ] && RPCNFSDCOUNT=8
The default is 8 processes, generally on the production server, in the case of sufficient CPU resources, can be calculated according to a CPU 8 nfs process, The 24 CPUs and 160 processes are not excessive.
After linux rm deletes the file, recovery is more troublesome. Even if it is restored, the file na
This article introduces the concept, role, and usage of LVM to help you understand LVM and to use LV
This tutorial gives examples of how to provide messages/dialogs in Bash Shell scripts using tools l
The wait queue in the Linux kernel has many uses for interrupt handling, process synchronization, a
Shell awk real-time monitoring network card traffic script (common application 2)
The biggest difference between Linux and Windows operating system upgrades
Analysis of the application of Linux system in DVR equipment
Play Samba server Samba to build a whole process
Linux text processing commands (sort and uniq)
Teach you to crack the root password of the Linux system
How to hide nginx and PHP version number
Elementary OS Beautiful Linux Overview
How Linux uses inode to delete files
How to modify the Linux MAC address in the VMware virtual machine
Win7 system mouse flicker cursor thickness how to adjust
How to solve the win7 system time is not allowed
Microsoft Windows Mobile 7.0 New Features Preview
Two Potential Dangers in the XP Installation Process
Use BitComet's six practical skills
How to use Linux to establish a dial-up server
VPS common security settings (linux)
Win7 system Internet Explorer can not display the page how to do
Win7 system uninstall software when prompted to find the specified module how to solve