Author | JiekeXu Source | Public account JiekeXu DBA road (ID: JiekeXu_IT) If you need to reprint, please contact us for authorization | (Personal WeChat ID: JiekeXu_DBA) Hello everyone, I am JiekeXu. I am very happy to meet you again. Today I will take a look at the problem of ASM disk loss due to […]
Tag: restart
Use @RefreshScope to refresh the configuration without restarting the program
This solution needs to be verified using external configuration. The startup command is as follows: java -jar xxx.war –spring.profiles.active=local –spring.config.location=E:\ideaFile Use @RefreshScope 1. Import dependencies Add the following dependencies: <!–refresh configuration–> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-config</artifactId> </dependency> <!–Monitor–> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-actuator</artifactId> </dependency> 2. Add corresponding configuration Set the open refresh interface. For example, add the following configuration […]
Go deep into the SocketIO source code to solve the problem of SocketIOServer restart failure
Foreword When we develop the SocketIO server, we often need to use the information of the clients that have established connections. For example, when triggering data to be sent to certain clients, we must be able to obtain the corresponding client objects. Therefore, we need to combine a group of The corresponding relationship between the […]
Docker automatic restart problem tracking and troubleshooting
1. Online edge environment Java services are deployed on the edge, and docker always restarts Let’s first look at some commonly used docker instructions 1.1 journalctl -u docker –since=2023-09-15 [View docker daemon log] The command is used to view the logs of the Docker service. This command uses the journalctl tool to access the system’s […]
K8s pod restart strategy and health check realize automatic application repair
1. Restart strategy Always: When the container terminates and exits, always restart the container, the default policy. OnFailure: Restart the container only when the container exits abnormally (exit status code is non-0). Never: Exit when the container terminates and never restart the container. 2. Health check has the following two types: livenessProbe (liveness check): If […]
PYTHON-“Life Restart Simulator”
write in front Hello everyone, my name is Aileen. I hope it will be helpful to you after reading it. Please correct me if I have any shortcomings! Learn and communicate together This article was originally published by Aileen_0v0 on CSDN Please notify us if you need to reprint it? Personal homepage: Aileen_0v0-CSDN blog Welcome […]
Java does not restart the service and expands the new payment function demo
Application scenarios For payment: There are often needs that require us to expand new payment methods, but we do not want to restart the service. For IOT: It is often necessary to add some Handlers for parsing data So how can we expand new functions without restarting the service? This article gives a simple demo […]
9. To enable and disable the login and exit audit function of GaussDB, you need to restart the cluster.
1. Log in to the GaussDB database and exit the audit function to view –Database login and exit audit viewing. –(1)The audit function is turned on by default. gaussdb=> show audit_enabled; audit_enabled ————— on (1 row) –Database login and exit auditing: enabled by default. gaussdb=> show audit_login_logout; audit_login_logout ——————- 7 (1 row) 2. Verify the […]
Format the SD card as portable storage and the phone restarts.
one. Problem Description. 1. Title: [Special Test] [T Card] [>10%] After formatting the SD card as internal storage, choose to migrate data immediately, then install the app, then migrate the data back to internal storage, and finally format the SD card as portable storage, and the phone appears Restart. 2. Prerequisite: Insert Kingston 256G SD […]
MongoDB fails to start after server restart
Article directory MongoDB fails to start after server restart background planning implement Summarize MongoDB cannot be started after restarting the server Background The CPU of the database server is close to the alarm value, and CPU resources need to be added, so the server is shut down at an appropriate time, and the server is […]