更新
This commit is contained in:
@@ -42,7 +42,7 @@ processors:
|
||||
when:
|
||||
equals:
|
||||
log_type: agent.log
|
||||
tokenizer: '%{timestamp} %{level} - [%{method},%{line}] - %{message}'
|
||||
tokenizer: '%{timestamp} [%{thread}] %{level} %{class} - [%{method},%{line}] - %{message}'
|
||||
field: "message"
|
||||
target_prefix: "mylog"
|
||||
ignore_missing: true
|
||||
|
||||
57
服务器降配置.sh
Normal file
57
服务器降配置.sh
Normal file
@@ -0,0 +1,57 @@
|
||||
|
||||
(base) [root@lndj-app-prod-server ~]#ss -ntl
|
||||
State Recv-Q Send-Q Local Address:Port Peer Address:Port
|
||||
LISTEN 0 128 *:80 *:*
|
||||
LISTEN 0 128 *:18070 *:*
|
||||
LISTEN 0 128 *:22 *:*
|
||||
LISTEN 0 128 *:443 *:*
|
||||
LISTEN 0 128 127.0.0.1:6789 *:*
|
||||
LISTEN 0 128 127.0.0.1:6791 *:*
|
||||
LISTEN 0 128 *:6379 *:*
|
||||
LISTEN 0 128 [::]:22222 [::]:*
|
||||
LISTEN 0 100 [::]:8848 [::]:*
|
||||
LISTEN 0 100 [::]:8081 [::]:*
|
||||
LISTEN 0 128 [::]:20883 [::]:*
|
||||
LISTEN 0 128 [::]:9848 [::]:*
|
||||
LISTEN 0 50 [::]:12345 [::]:*
|
||||
LISTEN 0 128 [::]:9849 [::]:*
|
||||
LISTEN 0 128 [::]:8060 [::]:*
|
||||
LISTEN 0 50 [::]:44836 [::]:*
|
||||
LISTEN 0 100 [::]:4997 [::]:*
|
||||
LISTEN 0 128 [::]:9256 [::]:*
|
||||
LISTEN 0 128 [::]:7848 [::]:*
|
||||
LISTEN 0 128 [::]:9100 [::]:*
|
||||
|
||||
|
||||
|
||||
业务进程:
|
||||
flymoon_email_prod (CRM)
|
||||
flymoon_partner (CRM)
|
||||
|
||||
中间件:
|
||||
nacos
|
||||
redis_server
|
||||
ngxin
|
||||
|
||||
监控进程:
|
||||
node_exporter
|
||||
process-exporter
|
||||
|
||||
启动命令:
|
||||
|
||||
nohup /data/jdk1.8.0_181/bin/java \\
|
||||
-Dcom.sun.management.jmxremote \\
|
||||
-Dcom.sun.management.jmxremote.port=12345 \\
|
||||
-Dcom.sun.management.jmxremote.rmi.port=12345 \\
|
||||
-Dcom.sun.management.jmxremote.authenticate=false \\
|
||||
-Dcom.sun.management.jmxremote.ssl=false \\
|
||||
-Djava.rmi.server.hostname=172.24.16.10 \\
|
||||
-Xmx8g \\
|
||||
-XX:+HeapDumpOnOutOfMemoryError \\
|
||||
-XX:HeapDumpPath=/data/webapps/fly_moon_email_v2/heapdump.hprof \\
|
||||
-jar /data/webapps/fly_moon_email_v2/fly-moon-email.jar \\
|
||||
--spring.profiles.active=prod-cn \\
|
||||
>/dev/null 2>&1 &
|
||||
|
||||
nohup /data/jdk-21.0.7/bin/java -jar /data/webapps/fly-moon-partner/flymoon-partner.jar --spring.profiles.active=prod >/dev/null 2>&1 &
|
||||
|
||||
Reference in New Issue
Block a user