cloudstack/patches/systemvm/debian/config/root
Sheng Yang c44db2557d bug 11772: Add improved version of locking for the scripts in the systemvm
Because currently the lock in the script is retried every 1 second, and it's a
quite a long time that it's possible for some other active script can be
executed and retain the lock again. So it's possible that the first one request
the lock is always being preemptted by others, then finally got timeout.

To fix this issue, the retry interval is reduced to 0.1 seconds, which would
provide more retry times. And each process want to get the lock would create a
file named lockname-PID.lock, and only the first one(judged by timestamp) would
get the lock. The remaining ones would retry every 0.1 seconds to see if it can
get the lock.

Also timeout time is extended to 30 seconds.

And add testcase for it.

status 11772: resolved fixed
2011-11-01 19:06:14 -07:00
..
.ssh update new keypair 2010-10-15 15:50:53 -07:00
redundant_router bug 11233: Update switch's cache using ping 2011-09-14 16:26:54 -07:00
bumpup_priority.sh bug 11307: Add PRIORITY bump up script for redundant virtual routers 2011-09-14 16:18:55 -07:00
checkrouter.sh bug 11307: Add PRIORITY bump up script for redundant virtual routers 2011-09-14 16:18:55 -07:00
clearUsageRules.sh bug 11547: Reset iptables counter when a public interface on domR is removed 2011-09-23 15:43:45 +05:30
edithosts.sh Add rrouter lock for edithost.sh and ipassoc.sh 2011-09-14 16:26:09 -07:00
firewall.sh bug 11266: Add lock file for every script in the systemVM 2011-09-09 18:27:33 -07:00
firewall_rule.sh bug 11455: adding firewall rule chain to the main chain in the case when vpn chain is not present. 2011-09-16 17:30:41 +05:30
func.sh bug 11772: Add improved version of locking for the scripts in the systemvm 2011-11-01 19:06:14 -07:00
ipassoc.sh bug 11351: Add checkrouter.sh.templ 2011-09-14 16:25:03 -07:00
loadbalancer.sh bug 11266: Add lock file for every script in the systemVM 2011-09-09 18:27:33 -07:00
netusage.sh bug 11547: VMware - Reset iptables counter when a public interface on domR is 2011-09-28 16:50:57 +05:30
reconfigLB.sh Add log for reconfigLB.sh 2011-09-12 17:00:53 -07:00
savepassword.sh bug 11266: Add lock file for every script in the systemVM 2011-09-09 18:27:33 -07:00
userdata.py fix meta issue for vmware: create a blank meta data file, even meta data is empty 2011-07-08 13:51:30 -07:00
userdata.sh bug 11266: Add lock file for every script in the systemVM 2011-09-09 18:27:33 -07:00