Skip to main content
chandramohanred
Level 2
March 22, 2021
Répondu

Concurrent writing to the session.

Hi Team,

 

We are frequently getting alerts as concurrently writing to this session alerts.

 

19.03.2021 19:47:56.215 *WARN* [10.43.0.33 [1616183252926] GET /content/ingredion/ingredients/na/thermflo-06810107.html HTTP/1.1] org.apache.jackrabbit.oak.jcr.delegate.SessionDelegate Attempted to perform hasProperty while thread 10.43.0.33 [1616183246828] GET /content/ingredion/ingredients/na/globe-24-de-corn-syrupglucose-solids-019240.html HTTP/1.1 was concurrently writing to this session. Blocked until the other thread finished using this session. Please review your code to avoid concurrent use of a session.

 

Could you please suggest how to avoid or handle this?

 

Ce sujet a été fermé aux réponses.
Meilleure réponse par bilal_ahmad

Hi @chandramohanred you can get an idea from this post: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/unexpected-concurrency-warning/qaq-p/213079 

 

Thanks,

Bilal.

4 commentaires

Asutosh_Jena_
Community Advisor
Community Advisor
March 22, 2021

Hi @chandramohanred 

Are you trying to do anything in a loop somewhere in code with "hasProperty" ?
Also can you please provide some more info like which version of AEM and which service pack?

Thanks!

Kiran_Vedantam
Community Advisor
Community Advisor
March 22, 2021

Hi @chandramohanred,

 

Please check my answer here on how to use sessions, resource resolvers to avoid session leaks.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

bilal_ahmad
bilal_ahmadRéponse
Level 5
March 22, 2021
Anudeep_Garnepudi
Community Advisor
Community Advisor
March 23, 2021