Closed archine closed 2 months ago
I run apisix through docker-compose on two different servers, and the memory footprint gap is too large. The configuration file and the image version are the same.
A large number of logs are found by querying logs:
server-1
server-2
version: '3.9'
services: etcd: image: bitnami/etcd:3.5.14 container_name: etcd restart: always environment: ALLOW_NONE_AUTHENTICATION: "yes" ETCD_ENABLE_V2: "true" ports:
./conf/etcd.yml:/opt/bitnami/etcd/conf/etcd.yaml deploy: resources: limits: cpus: '2' memory: 2048M reservations: cpus: '1' memory: 512M
apisix: image: apache/apisix:3.9.1-debian container_name: apisix restart: always ports:
networks: apisix: driver: bridge
* apisix configuration file ```conf apisix: node_listen: 9080 ssl: enable: true listen: - port: 9443 enable_control: true control: ip: "0.0.0.0" port: 9090 deployment: admin: allow_admin: - 0.0.0.0/0 admin_key: - name: "admin" key: "xxxxxxxxxxxxx" role: admin etcd: host: - "http://etcd:2379" prefix: "/apisix" timeout: 5 nginx_config: http: client_body_timeout: 180s client_max_body_size: 100m send_timeout: 60s plugins: - jwt-auth - key-auth - cors - ip-restriction - limit-count - limit-req - limit-conn - proxy-rewrite - response-rewrite - redirect - request-id - gzip - real-ip - client-control - api-breaker - traffic-split
@archine can you share what was the problem? I'm also experiencing high memory usage of latest apisix, without any incoming requests
Description
I run apisix through docker-compose on two different servers, and the memory footprint gap is too large. The configuration file and the image version are the same.
A large number of logs are found by querying logs:
Effect drawing
server-1
server-2
configurations
services: etcd: image: bitnami/etcd:3.5.14 container_name: etcd restart: always environment: ALLOW_NONE_AUTHENTICATION: "yes" ETCD_ENABLE_V2: "true" ports:
./conf/etcd.yml:/opt/bitnami/etcd/conf/etcd.yaml deploy: resources: limits: cpus: '2' memory: 2048M reservations: cpus: '1' memory: 512M
apisix: image: apache/apisix:3.9.1-debian container_name: apisix restart: always ports:
networks: apisix: driver: bridge
Environment