Wednesday, September 14, 2022

Increase NSX-T API requests per second

 By default there are some limitations on how many API requests you can do per second on the NSX. and when you exceed this number, you will start to get this error message Client 'admin' exceeded request rate of 100 per second


Now we will increase these numbers 

  • SSH to your NSX-T manager
  • check your current limitations  get service http
  • by default you will find these numbers 
Service name: http
Service state: running
Logging level: info
Session timeout: 0
Connection timeout: 30
Client API rate limit: 100 requests/sec
Client API concurrency limit: 40 connections
Global API concurrency limit: 199 connections

Redirect host: (not configured)
Basic authentication: enabled
Cookie-based authentication: enabled


  • use the below three commands and choose your preferred limitations
set service http client-api-rate-limit 500
set service http client-api-concurrency-limit 200
set service http global-api-concurrency-limit 200

  • check your new limitations with this command  get service http
Service name:  http
Service state:   stopped
Logging level:  info
Session timeout:  0
Connection timeout: 30
Client API rate limit: 500 requests/sec
Client API concurrency limit:     200 connections
Global API concurrency limit:     200 connections
Redirect host: (not configured)
Basic authentication: enabled
Cookie-based authentication: enabled

























































No comments:

Post a Comment

NSX-T (local log in) with VIDM integration

We will explain how to log in with a local account to your NSX-T which integrated with VIDM. We integrated our NSX-T into the VIDM. We had a...