No reload possible on Qlikview 11 SR12 : "Someone is already saving tasks"
I'm facing a strange problem: on our production server, randomly the server could stop to reload all planified task.
When i'm checking the C:\ProgramData\QlikTech\ManagementService\Log, I get this message everytime :
"Failed to send message to execution service. Message is removed from queue. Error details : (if (workorderResult.QDSeRotateResult) - SendSaveAllTasks) Failed to contact distributionservice at http://myserver:4720/QDS/Service, ChunkErr=QDS did not respond to request.
Last exception (for http://myserver:4720/QDS/Service): The remote server returned an unexpected response: (413) Request Entity Too Large. Message type: SaveAllTasks MessageParameter:"
Then followed by :
"Failed to send message to execution service. Message is removed from queue. Error details : Aborted! Reason: One QDS node is already saving tasks Message type: SaveAllTasks MessageParameter: "
In loop for each 20 seconds.
On the C:\ProgramData\QlikTech\DistributionService\1\Log :
Re: No reload possible on Qlikview 11 SR12 : "Someone is already saving tasks"
First of all, I want to give you a big thumbs up for describing your issue. You clearly states your environment and which service you are on. Then you clearly have examined the log files and pinpointed the areas related to the issue. This makes it so much easier to have an idea on what is the root cause.
Secondly, I just want to tell you that I am part of the team how spent a fair amount of time about a year ago redesigning the work order handling in QlikView.
So, now to your issue. My thought on this is that first thing you need to get working is getting rid of the error in QMS "The remote server returned an unexpected response: (413) Request Entity Too Large".
This is the work order communication between QMS and QDS giving this error. Basicly QDS is telling QMS that the message sent was too big. There two settings that can help you here.
This is configurable both for QMS and QDS (note! only present by default in QMS config file, but you can add it QDS also)
This sets the limit how big messages can be received.
You should try to increase this value. Your IT enviroment might have restrictions on how big this can be. Use the same value both in QMS and QDS.
C:\Program Files\QlikView\Management Service\QVManagementService.exe.config and C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe.config
This tells QMS how to split up the Work order when sending it to QDS. Lets say you have 240 tasks and QMSChunkSize is 100 (default). Then QMS will split it up into 3 messages. Task 1 to 100, Task 101 to 200 and Task 201 to 240.
You should try to decrease this value. Downside to lowering this is that it will take longer time to send the work order (due to more messages).
To summarize, first try increasing MaxReceivedMessageSize. If this fails, then move to decrease QMSChunkSize.
Hint! After doing a config modification, you can easily test the work order communication by pressing "Send Work Order" button in QMC (System - Setup - Distribution Service - Advanced).
QMS - Management Service
QDS - Distribution Service
Work Order - All task definitions
QMC - Management Console.
If all this still does not remove your issue, then you should contact Support. Tell them to open up a Problem Investigation and refer to me. This will enable us to dig deeper into your issue. I have some ideas, but lets save it for now.