Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

QlikView Distribution Service (12.10. SR3) hangs up while trying to access LoadBalancer.xml

Hi @ all ...

2 weeks ago we upgraded our QV-environment to Version 12.10 SR3 and since then the QV Distribution Service hangs up periodically. It's trying to get ReadWrite-Access to the LoadBalancer.xml but somehow it is locked. Except QV there is no other programm installed on the server. The only solution is to restart the Windows Server. A deinstallation of our antivirus had no effect.

Here are the times when the first Log-Entry tells me when it hangs: (the time is different so there is no Task causing it)


06.03.2017 20:02:44

07.03.2017 21:16:36

09.03.2017 22:28:45

13.03.2017 22:02:06


The error message we've got from the windows log is here:


LoadMeasurementStorer: An unexpected error occurred while trying to update the load balancer file.. Exception=System.Exception: Failed to open C:\ProgramData\QlikTech\DistributionService\LoadBalancer.xml with ReadWrite access after 1965 retries. Exceptions= ||    Der Prozess kann nicht auf die Datei "C:\ProgramData\QlikTech\DistributionService\LoadBalancer.xml" zugreifen, da sie von einem anderen Prozess verwendet wird. ||    bei QDSMain.Clustering.ClusterFileHandler.OpenFile(FileAccess fileAccess) ||    bei QDSMain.Support.LoadBalancing.LoadStorage.OpenWrite(Func`2 readWriteLoads) ||    bei QDSMain.Support.LoadBalancing.LoadManager.ReadWriteAccess(Func`2 readWriteLoads) ||    bei QDSMain.Support.LoadBalancing.LoadMeasurementStorer.StoreLoadMeasurement(Double load, Boolean isOverloaded, Boolean hasAvailableRegularQvb, Boolean hasAvailableDedicatedQvb, Boolean preventRegularTask, DateTime timeStamp)

Would be nice if anybody has an idea.

Labels (2)
1 Solution

Accepted Solutions
Anonymous
Not applicable
Author

Thx jrepucci15‌ for ur reply. We found a solution / the reason for our problem.

We are running a backup saving our whole qv-environment. This causes the file-lock. We removed the backup for the specific folder and wohoo .. no problems anymore

View solution in original post

2 Replies
jrepucci15
Creator
Creator

Are you saying that sometimes it can write to the xml file and sometimes it cannot?

It sounds like a permissions issue.

When access fails, who "owns" the .xml file?

When access fails, are you able to open the .xml file in r/w mode?

Note: I'm also running v12.10 SR3 and not having any issues.  But I'm only running a single server.

Anonymous
Not applicable
Author

Thx jrepucci15‌ for ur reply. We found a solution / the reason for our problem.

We are running a backup saving our whole qv-environment. This causes the file-lock. We removed the backup for the specific folder and wohoo .. no problems anymore