M2EE: Low on resources, maximum number of threads are in use (254)

0
I wonder if anyone can help me with this error message? Our application is running on our network, not the Mendix cloud. The application seemed to lockup for users, before logging them all off. After several minutes, the application began working ok again. The extract below from the application log begins immediately after everyone was logged off. Our infrastructure guys could find no faults. This has happened twice (once yesterday, once today). It has never happened before - the app has been live for 2.5 years. Any advice would be appreciated. David 2014-08-07 11:52:32.085 WARNING - M2EE: Low on resources, maximum number of threads are in use (254) 2014-08-07 11:52:33.192 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.395 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.395 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.395 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.395 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.411 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.411 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.847 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.847 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:52:33.847 ERROR - Connector: Invalid JSON request: A JSONObject text must begin with '{' at 1 [character 2 line 1] 2014-08-07 11:53:06.311 INFO - Connector: New login request from [Source-IP: 172.18.222.3, User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C)] 2014-08-07 11:53:06.327 INFO - Core: Login OK: user 'Carol Copley' (Number of concurrent users: 1).
asked
1 answers
1

It seems you're also getting a lot of invalid JSON requests (which are client requests) that may indicate that something is trying to do requests while not using the regular Mendix client. This could potentially even be the cause for all the threads being in use. Maybe you could monitor the traffic at your web server?

answered