Skip to main content
Level 9
Oct 16, 2015 2:27 AM UTC
Solved

CQSE related error

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
joerghoh
joerghohAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

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

7 replies

askdctmAuthor
Level 9
Oct 16, 2015 2:27 AM UTC

Hi Jorg,

Thank you for your reply.

Translate
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
Oct 16, 2015 2:27 AM UTC

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

Translate
askdctmAuthor
Level 9
Oct 16, 2015 2:27 AM UTC

Hi Scott,

Thank you for your reply.

Translate
askdctmAuthor
Level 9
Oct 16, 2015 2:27 AM UTC

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.

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:27 AM UTC

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. 

Translate
joerghoh
Adobe Employee
Adobe Employee
Oct 16, 2015 2:27 AM UTC

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

Translate
this-that-the-otter
Level 4
Aug 21, 2016 10:07 PM UTC

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

Translate