Posts: 147
Threads: 34
Joined: Jun 2018
Reputation:
3
Location: USA
I recently upgraded our member portal by connecting it to an identity server through crosstalk. Since we have pushed it out it will run about 2 hours and then it spike to 100% when it gets under a heavy load. Any ideas? We are using IWRtlFix so I know that is not the issue.
iw 15.2.25
Is it deployed under IIS.
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
1) Can you reproduce the same behavior when deployed as SA?
2) Add some logging to your code and then use a stress tool against it. In most cases its user code getting stuck in some kind of thread contention issue.
Posts: 1,136
Threads: 37
Joined: Mar 2018
Reputation:
30
Location: Limassol, Cyprus
08-11-2021, 05:23 PM
(This post was last modified: 08-11-2021, 05:25 PM by kudzu.)
CrossTalk is not your problem. CrossTalk is used in many very high load environments safely.
There is likely a threading issue in your code and replacing CrossTalk alone will not solve your issue and unless you have other reasons to do so will just be busy work and a distraction.
Wrapping all the calls in a CriticalSection highlights this and they will really slow down your application when its under load if they are use so liberally.