GhangZh edited a comment on issue #6725: URL: https://github.com/apache/apisix/issues/6725#issuecomment-1081917613
I have the same problem, deployed on k8s with 64G memory setting. i set client_body_buffer_size to 10240M. pressure test 20Gb traffic scenario is uploading large files and it will OOM. if i remove client_body_buffer_size configuration, disk io will be very high. I also tried to write client_body_temp_path to /dev/shm and it would also OOM. ```bash sendfile on; tcp_nopush on; tcp_nodelay on; client_header_buffer_size 16m; large_client_header_buffers 4 16m; client_body_buffer_size 10240m; client_max_body_size 10240m; proxy_buffering off; proxy_buffers 4 32k; proxy_buffer_size 32k; proxy_connect_timeout 30s; proxy_send_timeout 600s; proxy_read_timeout 600s; proxy_cache off; proxy_request_buffering off; client_body_temp_path /dev/shm; ``` But with traefik memory set to 8G there is no OOM problem either -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org