Customer fails to upload a file through l7 load balancer.
search cancel

Customer fails to upload a file through l7 load balancer.

book

Article ID: 369385

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Customer cannot upload a large size of file when they are using l7 load balancer.

Environment

VMware NSX-T Data Center

Cause

This issue is caused as nginx for l7 load balancer buffers a client request body to a file under /opt/vmware/nsx-edge/lb/client_body_temp directory.

If there's no available space for /opt/vmware/nsx-edge/lb/client_body_temp directory, buffering will fail with "No space left on device" error message of /var/log/syslog on an edge node.

Here is an example of an excerpt from /var/log/syslog.

<DATE_TIME> <HOSTNMAE> NSX <PID> LOAD-BALANCER [nsx@6876 comp="nsx-edge" subcomp="lb" s2comp="lb" level="FATAL"] [<LB UUID>] pwrite() "/opt/vmware/nsx-edge/lb/client_body_temp/0007347903" failed (28: No space left on device), client: <CLIENT_IP_ADDRESS>, server: , request: <REST OF REQUEST BODY>

Resolution

1. You can use l4 load balancer rather than l7 load balancer. It would fix this issue.

2. In case you must use l7 load balancer, you should contact VMware by Broadcom support and create a service request to see if there is another solution.