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
|
daemon_reload: yes
|
||||||
when: nic_traffic_mirror is defined
|
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"
|
- name: "mask mrzcpd on server_tun_mode"
|
||||||
systemd:
|
systemd:
|
||||||
name: mrzcpd
|
name: mrzcpd
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ After=mrzcpd.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
WorkingDirectory=/home/mesasoft/sapp_run
|
WorkingDirectory=/home/mesasoft/sapp_run
|
||||||
ExecStart=/home/mesasoft/sapp_run/sapp
|
ExecStart=/home/mesasoft/sapp_run/sapp
|
||||||
TimeoutSec=300s
|
TimeoutSec=900s
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
Restart=always
|
Restart=always
|
||||||
LimitNOFILE=524288
|
LimitNOFILE=524288
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ After=tfe-env.service
|
|||||||
Type=notify
|
Type=notify
|
||||||
ExecStart=/opt/tsg/tfe/bin/tfe
|
ExecStart=/opt/tsg/tfe/bin/tfe
|
||||||
WorkingDirectory=/opt/tsg/tfe/
|
WorkingDirectory=/opt/tsg/tfe/
|
||||||
TimeoutSec=7200s
|
TimeoutSec=900s
|
||||||
RestartSec=10s
|
RestartSec=10s
|
||||||
Restart=always
|
Restart=always
|
||||||
LimitNOFILE=524288
|
LimitNOFILE=524288
|
||||||
|
|||||||
Reference in New Issue
Block a user