Scheduled maintenance: Community will be offline Monday June 17th, 1:00 AM - 6:00 AM (PT)
Emerging Member
Posts: 82
Registered: ‎07-02-2014
Kudos: 26
Solutions: 4
UniFi Security Gateway 3P unstable if it gets load

One of my USG's droppes all network connections as soon as it get a bit load!

Most of the Time all VPN (Site-2-Site) Connections drop, sometimes even the communication to the Cloud Key (local on the same site) droppes.

Screenshot 2018-10-05 at 12.53.05.png

 

The Log is flodded with this:

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

Since I saw that problem the first time, things get worst: If I download an ISO (in my example i downloaded the latest Centos ISO) the USG get's very instable!!!

 

Setup:

Model: UniFi Security Gateway 3P
Version: 4.4.29.5124210

CLOUD KEY: UCK.mtk7623.v0.12.0.29a26c9.181001.1444
Controller Version: 5.8.30-11076-1
 
Offload is enabled:
Screenshot 2018-10-05 at 12.56.39.png
 
I also saw, that the speetest returned very stange values from time to time:
Screenshot 2018-10-05 at 12.46.34.pngScreenshot 2018-10-05 at 12.47.00.png
The connection has just 90Mbps/30Mbps, but sometimes to upload speed seems to be above 100Mbps. My Carrier is German Telekom and the VDSL/PPPOE Modem is a Vigor 130.
 
If I use the Vigor as a Router, the connection is very(!) stable and the speedtest doesn't show any of the creapy peaks. But double NAT is something that the USG handels very (very) bad. So I try everything to avoid that.
 
A few more details could be found in the other post I mentioned above.
 
Any idea?
--
Cheers
Josh
Who Me Too'd this topic