1.delete mrzcpd memory.conf
2.modify tfe and sapp service timeout
This commit is contained in:
@@ -1,2 +0,0 @@
|
||||
[Service]
|
||||
MemoryMax=100G
|
||||
@@ -173,12 +173,6 @@
|
||||
daemon_reload: yes
|
||||
when: nic_traffic_mirror is defined
|
||||
|
||||
- name: "copy memory limit file to tfe.service.d"
|
||||
copy:
|
||||
src: "{{ role_path }}/files/memory.conf"
|
||||
dest: /etc/systemd/system/mrzcpd.service.d/
|
||||
mode: 0644
|
||||
|
||||
- name: "mask mrzcpd on server_tun_mode"
|
||||
systemd:
|
||||
name: mrzcpd
|
||||
|
||||
@@ -8,7 +8,7 @@ After=mrzcpd.service
|
||||
Type=notify
|
||||
WorkingDirectory=/home/mesasoft/sapp_run
|
||||
ExecStart=/home/mesasoft/sapp_run/sapp
|
||||
TimeoutSec=300s
|
||||
TimeoutSec=900s
|
||||
RestartSec=10s
|
||||
Restart=always
|
||||
LimitNOFILE=524288
|
||||
|
||||
@@ -8,7 +8,7 @@ After=tfe-env.service
|
||||
Type=notify
|
||||
ExecStart=/opt/tsg/tfe/bin/tfe
|
||||
WorkingDirectory=/opt/tsg/tfe/
|
||||
TimeoutSec=7200s
|
||||
TimeoutSec=900s
|
||||
RestartSec=10s
|
||||
Restart=always
|
||||
LimitNOFILE=524288
|
||||
|
||||
Reference in New Issue
Block a user