Stock vicibox installs have this line during startup:
- Code: Select all
ulimit -n 65536
That being said: If you have a multi-server system, the agent workstation time is NOT relevant to the "time sync error".
There are two causes for time sync error:
1) Servers are out of sync with one another (as you experienced, not in any way related to time on the workstations)
2) Agent workstations are dropping packets to the servers. This is not a "time" related issue, but if the packets don't return in time (due to being dropped!), then Vicidial will toss the time sync error because the result of the packet being received is a change in the DB with a timestamp. No packet = no change = timestamp gets stale = "time sync error". Convoluted, I know.
So the goals are: no dropped packets and servers in sync with each other.
Next up: Only ONE of your servers should sync to "the world". That would be YOUR master time server and should be in the same physical location as the Vicidial cluster. Many will just use the DB server for this. The rest of your servers should then sync to that server with "iburst" (for fast trusted syncing on startup). This means that your servers are synced to Each Other which is all that matters. They could be off by quite a bit, but if they all agree with one another it won't matter.
And do not "set" the time with ntpdate, as this deletes the "sync data" being used to train the server(s) to sync properly.
And try to avoid "pool" NTP services, instead use a few government or major corporate services. The "ntp pool" services are known hacker hangouts. Seriously.
Happy Hunting!