Skip to main content
15-Moonstone
June 6, 2017
Question

EMS critical number of clients

  • June 6, 2017
  • 1 reply
  • 2376 views

Hello,

We tried to make a large number of HTTP PUT Rest Request on our EMS to write data to ThingWorx Entities.

We are receiving the WARN in EMS Console that critical number of clients reached (8*2) aborting connection.

Is there any chance to increase that number or it is inside EMS?

Regards,

Adam

1 reply

5-Regular Member
June 6, 2017

Hi Adam Macierzyński​,

Have you tried increasing the max_threads option in config.json to see if it helps.

15-Moonstone
June 6, 2017

And it should be under the HttpServer?

5-Regular Member
June 6, 2017

Adam it's under ws_connection connection parameters

"ws_connection": {

"max_threads": 4, // Number.  The maximum number of incoming message handler threads to use.  Default = 4,

}