Using visual VM to remotely monitor the server status (graphical interface)
View the current tomcatcup, number of threads, and heap usage
All threads can be viewed in the background if the current thread card is referenced
View current GC status
The stack and heap can be sampled to check memory overflow and other problems
Posted by jcornett on Wed, 09 Mar 2022 06:44:17 +0100
1. Create a new user and group ngxuser:ngxuser
useradd -m -g ngxuser ngxuser #-m automatically creates the home directory, - g specifies the group
2. Install dependent packages (nginx installation is installed by root user)
The two covered by red do not need to be installed
#Force all installation ...
Posted by nscipione on Tue, 08 Mar 2022 21:24:20 +0100
The author's original intention is very simple: because one day the flame of group chat that has lasted for a long time suddenly disappeared... So he made up his mind to complete the script program that can automatically send messages
At present, there are three ways to realize it:
Mobile terminal (qnotified & other modules supporting j ...
Posted by leapingfrog on Tue, 08 Mar 2022 20:04:12 +0100
Recently, I sorted out the code and saw the company's code on log. I gained a lot, so I sorted out the instructions for the use of spdlog library.
This paper mainly arranges the following aspects. The main basis for reference is the official routine, which is located in github
1. Lo ...
Posted by tofi84 on Tue, 08 Mar 2022 19:37:56 +0100
1, Configuration:A centos ECS:
Let's mainly talk about some of my problems here. Don't choose too high centos system version, otherwise it may not be set successfully.
My setting here is centos7 2-bit linux alicloud server.Say important things three times (otherwise I must step on the pit. I found out the reason after the third day): CentOS 7 2 ...
Posted by kickassamd on Tue, 08 Mar 2022 09:32:16 +0100
Work queue Soft interrupts run in the context of interrupts, so they cannot block and sleep. Tasklets are implemented with soft interrupts, and of course they cannot block and sleep. But what if a delay handler needs sleep or blocking? Never mind, the work queue will be as you want. The delayed task is called work, and its data structure is wo ...
Posted by jkrettek on Mon, 07 Mar 2022 22:37:57 +0100
free is to view memory usage, including physical memory, swap memory, and kernel buffer memory.
free -h -s 3 means to output the memory every three seconds. The command is as follows
[1014154@cc69dd4c5-4tdb5 ~]$ free
total used free shared buff/cache available
Mem: 119623656 ...
1, Purchase and installation of server
2, Download of required software
2.1. Final shell download and installation
3, Node JS installation and configuration
4, Installation and configuration of Git and gitee
5, Tomcat installation and configuration
6, Installation ...
In some cases, we are using Kubernetes as the cloud platform for business applications. We want to realize the blue-green deployment of applications to iterate the application version. lstio is too heavy and complex, and it is positioned in flow control and grid governance; Ingress nginx introduces Canary function in ve ...
Posted by hrdyzlita on Mon, 07 Mar 2022 15:22:44 +0100
1, Thread theory foundation
Advantages of threads
One of the reasons to use multithreading:
Compared with the process, it is a very frugal way of multitasking. Under the Linux system, to start a new process, it must be allocated an independent address space, and a large number of data tables must be established to maintain its code segments, ...
Posted by scottfossum on Mon, 07 Mar 2022 14:49:27 +0100