Один из моих USG сбрасывает все сетевые подключения, как только нагрузка становится чуть выше! Чаще всего падают все VPN-соединения (Site-2-Site), иногда даже сбивается связь с Cloud Key (который локально на том же узле).
Лог просто пестрит такими записями:
Oct 5 12:26:05 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:05 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:08 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:08 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:10 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:12 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:14 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:14 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:14 FRA2PSES02 mcad: mca-edgemax.egdemax_stats_vpn_status(): error getting VPN status
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: Timeout opening /var/run/perl_wrapper_resp_fifo at /usr/bin/perl_wrapper.pl line 51.
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: 22 open retries at /usr/bin/perl_wrapper.pl line 58.
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: timeout opening response FIFO for write at /usr/bin/perl_wrapper.pl line 209.
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: request_response returned error at /usr/bin/perl_wrapper.pl line 301.
Oct 5 12:29:36 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:36 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:38 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:38 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:40 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:40 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:42 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:43 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:43 FRA2PSES02 mcad: mca-edgemax.egdemax_stats_vpn_status(): error getting VPN status
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: Timeout opening /var/run/perl_wrapper_resp_fifo at /usr/bin/perl_wrapper.pl line 51.
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: 29 open retries at /usr/bin/perl_wrapper.pl line 58.
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: timeout opening response FIFO for write at /usr/bin/perl_wrapper.pl line 209.
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: request_response returned error at /usr/bin/perl_wrapper.pl line 301.
Oct 5 12:32:12 FRA2PSES02 mca-monitor: mca-client.service(): Failed sending request to '/tmp/.mcad' - 'Resource temporarily unavailable'
Oct 5 12:33:34 mca-monitor: last message repeated 3 times
Oct 5 12:34:34 mca-monitor: last message repeated 4 times
Oct 5 12:35:14 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:14 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:15 FRA2PSES02 mca-monitor: mca-client.service(): Failed sending request to '/tmp/.mcad' - 'Resource temporarily unavailable'
Oct 5 12:35:17 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:17 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:19 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:19 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:22 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:22 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:22 FRA2PSES02 mcad: mca-edgemax.egdemax_stats_vpn_status(): error getting VPN status
Oct 5 12:35:34 FRA2PSES02 perl_wrapper: Timeout opening /var/run/perl_wrapper_resp_fifo at /usr/bin/perl_wrapper.pl line 51.
Oct 5 12:35:35 FRA2PSES02 perl_wrapper: 16 open retries at /usr/bin/perl_wrapper.pl line 58.
Oct 5 12:35:35 FRA2PSES02 perl_wrapper: timeout opening response FIFO for write at /usr/bin/perl_wrapper.pl line 209.
Oct 5 12:35:35 FRA2PSES02 perl_wrapper: request_response returned error at /usr/bin/perl_wrapper.pl line 301.
Oct 5 12:36:00 FRA2PSES02 mca-monitor: mca-client.service(): Failed sending request to '/tmp/.mcad' - 'Resource temporarily unavailable'
Oct 5 12:36:36 mca-monitor: last message repeated 3 times
Oct 5 12:36:36 FRA2PSES02 syswrapper: kill-mcad. reason: mcad not responding
Oct 5 12:36:51 FRA2PSES02 mcad: ace_reporter.set_default_localtime(): failed to get /usr/lib/build.properties
Oct 5 12:37:05 FRA2PSES02 redirector: redirector.sigint_handler(): receive signal 15
Oct 5 12:38:53 FRA2PSES02 kernel: [sched_delayed] sched: RT throttling activated
Oct 5 12:41:52 FRA2PSES02 mcad: ace_reporter.create_socket(): create_socket(ipv4): SO_LINGER 2:No such file or directory
Oct 5 12:41:52 FRA2PSES02 mcad: mcad-discover.init_mcast_sock(): init_mcast_socket(ipv4): SO_LINGER 2:No such file or directory
С тех пор, как я впервые заметил эту проблему, ситуация ухудшилась: если я скачиваю ISO (в моем примере — последний Centos ISO), USG становится очень нестабильным!!!
Настройка:
Модель: UniFi Security Gateway 3P
Версия: 4.4.29.5124210
CLOUD KEY: UCK.mtk7623.v0.12.0.29a26c9.181001.1444
Версия контроллера: 5.8.30-11076-1
Offload включён.
Я также заметил, что speedtest с некоторых пор выдаёт очень странные значения:
Скорость подключения всего 90Mbps/30Mbps, но иногда скорость загрузки превышает 100Mbps! Мой провайдер — Deutsche Telekom, VDSL/PPPOE модем — Vigor 130. Если я использую Vigor как роутер, соединение очень(!) стабильное, и speedtest не показывает никаких странных пиков. Но двойной NAT USG обрабатывает очень (очень) плохо, поэтому я всеми силами стараюсь его избежать.
Больше подробностей есть в другом моём посте, который я упоминал выше. Есть идеи?
Лог просто пестрит такими записями:
Oct 5 12:26:05 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:05 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:08 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:08 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:10 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:12 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:14 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:26:14 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:26:14 FRA2PSES02 mcad: mca-edgemax.egdemax_stats_vpn_status(): error getting VPN status
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: Timeout opening /var/run/perl_wrapper_resp_fifo at /usr/bin/perl_wrapper.pl line 51.
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: 22 open retries at /usr/bin/perl_wrapper.pl line 58.
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: timeout opening response FIFO for write at /usr/bin/perl_wrapper.pl line 209.
Oct 5 12:26:24 FRA2PSES02 perl_wrapper: request_response returned error at /usr/bin/perl_wrapper.pl line 301.
Oct 5 12:29:36 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:36 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:38 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:38 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:40 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:40 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:42 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:29:43 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:29:43 FRA2PSES02 mcad: mca-edgemax.egdemax_stats_vpn_status(): error getting VPN status
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: Timeout opening /var/run/perl_wrapper_resp_fifo at /usr/bin/perl_wrapper.pl line 51.
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: 29 open retries at /usr/bin/perl_wrapper.pl line 58.
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: timeout opening response FIFO for write at /usr/bin/perl_wrapper.pl line 209.
Oct 5 12:29:52 FRA2PSES02 perl_wrapper: request_response returned error at /usr/bin/perl_wrapper.pl line 301.
Oct 5 12:32:12 FRA2PSES02 mca-monitor: mca-client.service(): Failed sending request to '/tmp/.mcad' - 'Resource temporarily unavailable'
Oct 5 12:33:34 mca-monitor: last message repeated 3 times
Oct 5 12:34:34 mca-monitor: last message repeated 4 times
Oct 5 12:35:14 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:14 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:15 FRA2PSES02 mca-monitor: mca-client.service(): Failed sending request to '/tmp/.mcad' - 'Resource temporarily unavailable'
Oct 5 12:35:17 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:17 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:19 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:19 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:22 FRA2PSES02 mcad: perl_wrapper.read_with_timeout(): timeout on select() for response pipe
Oct 5 12:35:22 FRA2PSES02 mcad: perl_wrapper.perl_request_response(): error reading SOM
Oct 5 12:35:22 FRA2PSES02 mcad: mca-edgemax.egdemax_stats_vpn_status(): error getting VPN status
Oct 5 12:35:34 FRA2PSES02 perl_wrapper: Timeout opening /var/run/perl_wrapper_resp_fifo at /usr/bin/perl_wrapper.pl line 51.
Oct 5 12:35:35 FRA2PSES02 perl_wrapper: 16 open retries at /usr/bin/perl_wrapper.pl line 58.
Oct 5 12:35:35 FRA2PSES02 perl_wrapper: timeout opening response FIFO for write at /usr/bin/perl_wrapper.pl line 209.
Oct 5 12:35:35 FRA2PSES02 perl_wrapper: request_response returned error at /usr/bin/perl_wrapper.pl line 301.
Oct 5 12:36:00 FRA2PSES02 mca-monitor: mca-client.service(): Failed sending request to '/tmp/.mcad' - 'Resource temporarily unavailable'
Oct 5 12:36:36 mca-monitor: last message repeated 3 times
Oct 5 12:36:36 FRA2PSES02 syswrapper: kill-mcad. reason: mcad not responding
Oct 5 12:36:51 FRA2PSES02 mcad: ace_reporter.set_default_localtime(): failed to get /usr/lib/build.properties
Oct 5 12:37:05 FRA2PSES02 redirector: redirector.sigint_handler(): receive signal 15
Oct 5 12:38:53 FRA2PSES02 kernel: [sched_delayed] sched: RT throttling activated
Oct 5 12:41:52 FRA2PSES02 mcad: ace_reporter.create_socket(): create_socket(ipv4): SO_LINGER 2:No such file or directory
Oct 5 12:41:52 FRA2PSES02 mcad: mcad-discover.init_mcast_sock(): init_mcast_socket(ipv4): SO_LINGER 2:No such file or directory
С тех пор, как я впервые заметил эту проблему, ситуация ухудшилась: если я скачиваю ISO (в моем примере — последний Centos ISO), USG становится очень нестабильным!!!
Настройка:
Модель: UniFi Security Gateway 3P
Версия: 4.4.29.5124210
CLOUD KEY: UCK.mtk7623.v0.12.0.29a26c9.181001.1444
Версия контроллера: 5.8.30-11076-1
Offload включён.
Я также заметил, что speedtest с некоторых пор выдаёт очень странные значения:
Скорость подключения всего 90Mbps/30Mbps, но иногда скорость загрузки превышает 100Mbps! Мой провайдер — Deutsche Telekom, VDSL/PPPOE модем — Vigor 130. Если я использую Vigor как роутер, соединение очень(!) стабильное, и speedtest не показывает никаких странных пиков. Но двойной NAT USG обрабатывает очень (очень) плохо, поэтому я всеми силами стараюсь его избежать.
Больше подробностей есть в другом моём посте, который я упоминал выше. Есть идеи?
