Jump to content

Slow Performance


Jeremy

Recommended Posts

Dear @Jeremy

This appears to be caused by 1 of your Accounts (SD AUTO BOT) running a given API (entityAttachDoesExist) and cycling through all file attachments . Its calling this 100s of times a second.  Not sure why or what you are trying to achieve but stopping this would solve your issue

 

Kind Regards

 

Keith Stevenson

Link to comment
Share on other sites

@Stephen Christopher
At the moment it appears to have calmed down and we will continue to monitor. Im working back through the logs to see what the first occuruence of the API spam was but it created so much noise that cant see wood for trees. 

Kind Regards

Keith Stevenson

Link to comment
Share on other sites

@Stephen Christopher
I will have to have a look at yesterdays logs. As for this mornings it started at 07:42:12z and the offending check seems to be on 

h_name = 'image_1.png' 

and then increments  the image check by 1 each time for the call reference IN01007239. It does this close to 160K times in 1 hour (seems to loop ) before the server just starts using more and more RAM and slowing down.  Will need to check if its the same offending callref in the next 2 occurences (after the restarts) but this may give you something to look at 

Kind Regards

Keith Stevenson

 

Link to comment
Share on other sites

@Keith Stevenson

That's our email autologger script - i've been running it for over week without any issues.....strange why it's started behaving in this way.

The API commands i use are:

$mc->invoke("apps/com.hornbill.servicemanager/Incidents", "logIncident");

$mc->invoke("apps/com.hornbill.servicemanager/Requests", "update");

$mc->invoke("apps/com.hornbill.servicemanager/RelationshipEntities", "add");    

$mc->invoke("mail", "deleteMessage");

I'll try and grab the parameters i use in LogIncident...
 

 

 

Link to comment
Share on other sites

@Stephen Christopher

Given it was OK yesterday (After the ESP release) but had issues this morning (After the Service Manager release) I wonder if something has changed in Flowcode. If you can DM me the script I can drop it on a test box and see if we can replicate. 

Kind Regards

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...