Question

K2 5.4 consumes all memory on server and then crashes

  • 16 December 2020
  • 4 replies
  • 175 views

Badge +2

Hi All,

I am running into an issue with a K2 5.4 setup that weekly consumes all 16 gig then proceeds to consume up to 30 gig of the page file on the server and then promptly crashes. 

 

After a restart the server runs fine for a couple of day (about a week) and then crashes again.

 

Host server logging isn’t showing any errors that are uncommon or give any indication why its using so much memory.

 

Any suggestion would be very helpful.


4 replies

Userlevel 4
Badge +8

Can you see if there are any “running” process instances that never seem to end? Maybe something is stuck in an infinite loop?

Badge +2

Can you see if there are any “running” process instances that never seem to end? Maybe something is stuck in an infinite loop?

I have been monitoring the processes and there are none stuck in a running state (status 1), the average duration for initial running state is about 2.5 seconds at process start. 

Does anybody now how to use K2 performance counters in perfmon? I add them but they don’t work

With Nintex buying K2 none of the links to KB articles work at all.

Userlevel 1
Badge +4

Check if your K2 database and K2 blackserver is in the same box.

if it yes, please try to set Maximum Server Memory in SQL server database.

As the default SQL Server will allocate up to 2 Petabyte of server memory.

Userlevel 2
Badge +5

Hi Hwagener,

 

you can also check if  you are using a lot of dynamic roles in your environment.

SELECT * FROM [Identity].[Identity] WHERE [Type] = 2 AND [Dynamic] = 1

Do note that if you have every role configured to be dynamic, then this will affect K2 performance as roles are being constantly resolve. By default, K2 automatically refreshes the roles and the items in it on an interval every 8 hours.

Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such 


using the 'Best Answer', 'Like' and\or ‘Me Too’ options.

 

Cheers,
Kate

 

K2 will not accept any liability for any issues arising from actions taken in respect of the information provided by any forum member.
 

 

Reply