API7 Docs

Trigger Garbage Collection

POST /v1/gc

POST /v1/gc

Interactive request editor loads with JavaScript.

Response Body

curl -X POST "http://127.0.0.1:9090/v1/gc"

Garbage collection triggered.

Complete operation details and schema variants

POST /v1/gc

Trigger Garbage Collection

Trigger a full garbage collection (GC) in the HTTP subsystem. Note that a request to this endpoint would not trigger a garbage collection in the stream subsystem because the subsystems are run in the separate Lua VM.

Parameters

Responses

  • 200: Garbage collection triggered.

cURL

curl -X POST 'http://127.0.0.1:9090/v1/gc'