Cloudstack Source code
Go to file
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
agent fix build 2011-11-01 17:06:39 -07:00
agent-simulator Merge branch 'newagentmgr' 2011-10-27 11:09:56 -07:00
api bug 10330: refactor storage code befor merge clvm code 2011-10-31 20:25:26 -07:00
build Merge branch 'newagentmgr' 2011-10-27 11:09:56 -07:00
client bug 8962: added usage related and resource count related code, changed the API name as suggested. Incorporated relevant review comments 2011-10-31 16:35:42 +05:30
cloud-cli add apikey/securitykey in cloud-cli 2011-08-19 11:23:30 -07:00
console bug 10656: check OutOfMemoryError in critical path, fix run.sh to let it be able to monitor process termination 2011-07-11 16:33:19 -07:00
console-proxy bug 11663: iterate the whole /var/cache/cloud/cmdline to find out the mgt server ip address, as the position is different for each hypervisor 2011-10-06 14:33:58 -07:00
console-viewer fixed eclipse path 2011-02-23 14:39:25 -08:00
core Account for high-order/low-order integers being signed. 2011-11-01 15:57:09 -07:00
daemonize remove wscript_build from daemonize/ 2010-12-04 23:03:24 -08:00
debian fix dependent jar version for debian build 2011-09-23 17:40:15 -07:00
deps bug 5822, 10783: Security enhancements initial checkin. Added encryption support to db.properties and some DB values. 2011-10-24 10:26:02 +05:30
docs Update documentation source files. 2011-10-25 22:50:16 -07:00
ovm Bug 11646 - OVM - volume > download volume failed for both ROOT and DATA volumes 2011-11-01 18:14:38 -07:00
patches bug 11772: Add improved version of locking for the scripts in the systemvm 2011-11-01 19:06:14 -07:00
python fix adding host on ubuntu 2011-09-23 14:40:57 -07:00
scripts Swift : add two new files 2011-10-21 14:26:20 -07:00
server Bug 11646 - OVM - volume > download volume failed for both ROOT and DATA volumes 2011-11-01 18:14:38 -07:00
setup bug 11173: Added usage for VPN users 2011-11-01 17:01:48 +05:30
test bug 11772: Add improved version of locking for the scripts in the systemvm 2011-11-01 19:06:14 -07:00
tools Merge branch 'newagentmgr' 2011-10-27 11:09:56 -07:00
ui Fix invalid css error 2011-10-19 09:48:35 +03:00
usage bug 11173: Added usage for VPN users 2011-11-01 17:01:48 +05:30
utils Merge branch 'newagentmgr' 2011-10-27 11:09:56 -07:00
vmware-base bug 9614: enable SCSI device controller for root disk.(default root disk controller type can be conifgured through global configuration) 2011-10-21 18:44:56 -07:00
.gitignore bug 8529: propagated to master. Added junit test support to ant 2011-02-16 17:40:58 -08:00
INSTALL.txt adding a Install from source document 2011-08-31 12:18:46 -04:00
README.html Update README to point to new information resources. 2011-06-14 18:53:45 -07:00
build.xml updating copyright licenses, including build-usage.xml 2011-08-31 16:22:51 -04:00
cloud.spec Bug 9949 - revert VM to template 2011-10-25 13:52:39 -07:00
configure-info.in Source code committed 2010-08-11 09:13:29 -07:00
version-info.in more file changes 2010-09-09 13:27:20 -07:00
waf Source code committed 2010-08-11 09:13:29 -07:00
waf.bat Source code committed 2010-08-11 09:13:29 -07:00
wscript speed up rpm build 2011-07-01 17:52:27 -07:00
wscript_build remove depreicated build_patches() from waf 2011-10-17 16:59:08 -07:00
wscript_configure add jna dependenc 2011-09-13 18:52:48 -07:00

README.html

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<body>
<a href="http://cloud.com"><img src="docs/images/logo_cloud.jpg"></a>
<p>Welcome to CloudStack. Here's where you can find more information:</p>
<ul>
<li><a href="http://www.cloudstack.org">Community</a> - forums, code, bugbase, blog, events, links to outside resources, IRC, and more</li>
<li><a href="http://cloud.mindtouch.us">Documentation and Knowledge Base</a> - installation steps, guides, references, troubleshooting tips</li>
<li><a href="http://cloud.com">Cloud.com</a>
</ul>
</body>
</html>