We’re having an issue retrieving the server configuration from Milestone during peak hours and at the busiest time it takes 10+ minutes to download the configuration from the management server.
We have a simple script that runs every hour and downloads this configuration to detect changes that we need to be aware of (such as cameras added or switching to a failover recording server).
The log file for our script shows the time it finished running, so we can compare how long it took each time. Throughout the night, as the server is less busy, the script that downloads the file runs faster, running in a minute at 3 am.
Why does it take so long to retrieve this configuration? Is there a way to get this configuration more efficiently?
It’s a Milestone Interconnect Management Server with 8000+ cameras across 30+ recording servers. There are around 3 million past alarms stored on the machine. We pull the entire XML file from Get Configuration a few times each day and the file is around 1 MB.
Please test on the same PC with the same user, when the user logs in on the Smart Client, is the Smart Client ready faster?
You cannot expect the load of configuration to be faster on your own client that on the Smart Client, if the Smart Client has the same issue please ask the Support Community for advise.
We checked last night and the Smart Client loaded instantly while get_configuration() through the protocol integration took 10+ minutes. I’ve attached the machine’s CPU and RAM. What else could be causing this?
As this works fine at 3 am, it must be a performance issue. In general the Support Community will have a much better feel for performance issues but will have no idea if the Smart Client works fine every time.
Some ideas; as quick questions:
Do you have a federated setup with multiple sites available?
The integration is through Interconnect (c-code), so yes it has a federated setup with multiple sites. We connect to the Interconnect machine that has the Management Server for logging in and downloading the get configuration xml. There is no noticeable latency when we connect to any of the offsite recording servers.