Using visual VM to remotely monitor the server status (graphical interface)

Using visual VM to remotely monitor the server status (graphical interface) Purpose: 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 H ...

Posted by jcornett on Wed, 09 Mar 2022 06:44:17 +0100

nginx installation, security configuration and forwarding agent

  Nginx installation 1. Create a new user and group ngxuser:ngxuser groupadd 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

QQ automatically sends messages - maintaining the flame of group chat

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

Embedded linux learning notes -- Notes on the use of open source library spdlog

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. https://github.com/gabime/spdlog.git This paper mainly arranges the following aspects. The main basis for reference is the official routine, which is located in github example\example.cpp 1. Lo ...

Posted by tofi84 on Tue, 08 Mar 2022 19:37:56 +0100

CentOS builds http proxy

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

Linux learning notes (17.9) -- processing the follow-up work of keys in the work queue

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

Common commands for online troubleshooting

Memory bottleneck free 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 ...

Posted by IOAF on Mon, 07 Mar 2022 20:14:37 +0100

Use CentOS + finalshell + node JS + MySQL + git + gitee + Tomcat + nginx + domain name resolution to build a simple website tutorial

catalogue 1, Purchase and installation of server 2, Download of required software 2.1. Final shell download and installation 2.2,Node.js 2.3,MySQL 2.4,JDK 2.5,Tomcat 2.6,Nginx 2.7,Git 3, Node JS installation and configuration 4, Installation and configuration of Git and gitee 5, Tomcat installation and configuration 6, Installation ...

Posted by SnaD on Mon, 07 Mar 2022 17:34:50 +0100

Take a small notebook and remember how kubernetes ingress nginx releases blue, green and gray

Background introduction 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

Multithreaded programming and producer consumer issues

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