cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hybris Storefront User Login Takes More Time

0 Likes
495

Hi, When doing Perf Testing, after loading 500 users, the user login and logout time increases to 50secs. I have checked tomcat threads, increased CPU, RAM, DB RAM etc but still no luck. Anyone had similar issue and how did you resolve it?

Accepted Solutions (0)

Answers (2)

Answers (2)

christoph_probst
Active Participant
0 Likes

The next step I would take is doing a performance analyses. If you are in the commerce cloud you can use dynatrace and see the purepath for login and logout.

If you are not on commerce cloud you can try to use mission control and flight recorder. see https://answers.sap.com/questions/12757738/how-to-use-oracle-java-mission-control%27s-flight-re.html

You can also create a memory dump and see if there are any large lists or maps (except ehcache) around and maybe used in a class which are used for login logout.

christoph_probst
Active Participant
0 Likes

A similar problem occurred when I did forget to send the cookies along with the requests in a load this. This lead to creation of a lot of anonymous sessions in sap commerce (stored in a hasmap). When you reach a million or more jalosessions the hashmap is very slow.

0 Likes

Hi Christoph, thanks for the reply. When users are below 500, the login time is well below 20 secs. I will check what you have suggested and see if thats the same at my end.

0 Likes

Hi Christoph, it dint work. Anything else you can suggest?