Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

CQSE related error

Avatar

Level 9

Hi All,

We are facing cq slowness for quite some days now in production and we observed

*WARN* [CQSE Listener [0.0.0.0:4502]] servletengine Maximum thread number reached: 200  in logs.

Can you please let us know 

- What all things to check, to find out what is going wrong .

- Can we increase thread number directly?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

You need to analyze the threaddumps and find the bottleneck. [1] looks like a good source to learn howto read thread dumps.

kind regards,
Jörg

 

[1] http://www.javacodegeeks.com/2012/03/jvm-how-to-analyze-thread-dump.html

View solution in original post

7 Replies

Avatar

Employee Advisor

Hi,

The web container of the CQSE is limited to 200 concurrent threads, which is a good upper limit. If you hit this limit, this normally means, that there's something wrong. In most cases request processing is stuck either because of lock contention or endless loops. The best way to analyze such issues is to create threaddumps and then analyze them. These dumps provide enough information to better understand the issue and also where to look further on.

kind regards,
Jörg

Avatar

Level 10

Have you read through the performance optimization documentation located here:

https://docs.adobe.com/docs/en/cq/current/deploying/performance.html

https://docs.adobe.com/docs/en/cq/current/deploying/performance.html#Performance Monitoring

As discussed in these topics - there could be various reasons. 

Avatar

Level 9

Hi Jorg,

Thanks a lot for your reply. 

Daily its going down around a particular time. We have been going through dumps but not getting anything concrete.

What are all the things we can look at, for this issue.

Avatar

Level 9

Hi Scott,

Thank you for your reply.

Avatar

Correct answer by
Employee Advisor

You need to analyze the threaddumps and find the bottleneck. [1] looks like a good source to learn howto read thread dumps.

kind regards,
Jörg

 

[1] http://www.javacodegeeks.com/2012/03/jvm-how-to-analyze-thread-dump.html

Avatar

Level 9

Hi Jorg,

Thank you for your reply.

Avatar

Level 5

FYI - RE: 21.08.2016 17:50:58.164 *WARN* [CQSE Listener [0.0.0.0:4503]] servletengine Maximum thread number reached: 200

I have also seen this WARN as the built-in online backup tool freezes & locks when it's completing its backup.

After the backup completes and the backupInProgress.txt file disappears from where the backup is written, the instance recovered.

 

Regards,

Bill