title: Network Load Balancing
body: <p>Network Load Balancing, in GCP.</p>
  <p>System used : 3 Servers System - &gt; Nginx &lt;--&gt; PHP-fpm (using instance groups) &lt;--&gt; NFS.
  Nginx &lt;--&gt; NFS</p>
  <p>Now i used health checking but sometimes health check restart the apps that still running and pass through network with not in a good way (means sometimes php-fpm did not run smooth to pass through to nginx) and this happen since 23 Dec 2020, before it. It runs very smoothly.</p>
  <p>PS: i used Jakarta DC for GCP.
  and error when i see on serial of one server in instance group:</p>
  <blockquote>
  <p>Jan 26 10:17:50 php-backend-8s46 collectd[1532]: write_gcm: curl_easy_perform() failed: Timeout was reached
  Jan 26 10:18:33 php-backend-8s46 collectd[1532]: write_gcm: Error talking to the endpoint.
  Jan 26 10:18:45 php-backend-8s46 collectd[1532]: write_gcm: wg_transmit_unique_segment failed.
  Jan 26 10:18:55 php-backend-8s46 collectd[1532]: write_gcm: wg_transmit_unique_segments failed. Flushing.
  Jan 26 10:19:00 php-backend-8s46 collectd[1532]: write_gcm: can not take infinite value
  Jan 26 10:20:07 php-backend-8s46 collectd[1532]: write_gcm: wg_typed_value_create_from_value_t_inline failed for swap/percent/value! Continuing.
  Jan 26 10:21:08 php-backend-8s46 collectd[1532]: write_gcm: can not take infinite value
  Jan 26 10:21:55 php-backend-8s46 collectd[1532]: write_gcm: wg_typed_value_create_from_value_t_inline failed for swap/percent/value! Continuing.
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: write_gcm: can not take infinite value
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: write_gcm: wg_typed_value_create_from_value_t_inline failed for swap/percent/value! Continuing.
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: write_gcm: curl_easy_perform() failed: Timeout was reached
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: write_gcm: Error -1 from wg_curl_get_or_post
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: write_gcm: wg_transmit_unique_segment failed.
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: write_gcm: wg_transmit_unique_segments failed. Flushing.
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: uc_update: Value too old: name = php-backend-8s46/processes-all/io_octets; value time = 1611631113.168; last cache update = 1611631113.168;
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: uc_update: Value too old: name = php-backend-8s46/processes-all/io_octets; value time = 1611631113.167; last cache update = 1611631113.168;
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: uc_update: Value too old: name = php-backend-8s46/processes-all/ps_rss; value time = 1611631113.942; last cache update = 1611631113.942;
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: uc_update: Value too old: name = php-backend-8s46/processes-all/ps_rss; value time = 1611631113.943; last cache update = 1611631113.943;
  Jan 26 10:23:21 php-backend-8s46 collectd[1532]: uc_update: Value too old: name = php-backend-8s46/processes-all/disk_octets; value time = 1611631113.943; last cache update = 1611631113.944;</p>
  </blockquote>