You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2022/06/01 02:24:40 UTC

[GitHub] [apisix] kevinw66 commented on issue #7173: help request: high vsz usage when downloading file(500M)

kevinw66 commented on issue #7173:
URL: https://github.com/apache/apisix/issues/7173#issuecomment-1143049801

   > What's the RSS value of this worker? VSZ is the total mapped memory account.
   > 
   > BTW, What's the configuration of APISIX, and how did you configure APISIX (Routes, Upstreams, and so on)?
   
   Hi, this is RSS and VSZ value of this worker, it's no much different
   ![image](https://user-images.githubusercontent.com/31196226/171314886-e88b9a4e-633a-40f8-8793-a625a38aa36a.png)
   
   here is my route configuration
   ```json
   {
     "uris": [
       "/api/*",
     ],
     "name": "route-name",
     "priority": 1,
     "methods": [
       "GET",
       "POST",
       "PUT",
       "DELETE",
       "PATCH",
       "HEAD",
       "OPTIONS",
       "CONNECT",
       "TRACE"
     ],
     "plugins": {
       "proxy-rewrite": {
         "regex_uri": [
           "/api/(.*)",
           "/$1"
         ]
       },
       "cors": {
         "allow_credential": false,
         "allow_headers": "*",
         "allow_methods": "*",
         "allow_origins": "*",
         "disable": false,
         "expose_headers": "*",
         "max_age": 5
       },
     },
     "upstream": {
       "nodes": [
         {
           "host": "upstream-host",
           "port": 8080,
           "weight": 1
         }
       ],
       "timeout": {
         "connect": 600,
         "send": 600,
         "read": 600
       },
       "type": "roundrobin",
       "scheme": "http",
       "pass_host": "node",
       "keepalive_pool": {
         "idle_timeout": 60,
         "requests": 1000,
         "size": 320
       }
     },
     "status": 1
   }
   ```
   


-- 
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-unsubscribe@apisix.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org