Cloudstack Source code
Go to file
Rohit Yadav 90a3d97c5e CLOUDSTACK-9564: Fix memory leaks in VmwareContextPool
In a recent management server crash, it was found that the largest contributor
to memory leak was in VmwareContextPool where a registry is held (arraylist)
that grows indefinitely. The list itself is not used anywhere or consumed. There
exists a hashmap (pool) that returns a list of contexts for existing poolkey
(address/username) that is used instead.

This fixes the issue by removing the arraylist registry, and limiting the
length of the context list for a given poolkey.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2016-12-01 15:27:29 +05:30
agent Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
agent-simulator/tomcatconf CLOUDSTACK-6445: Simulator enhancements 2014-04-18 16:44:21 +05:30
api Merge pull request #1591 from myENA/alert-response-doc-update 2016-11-20 13:42:49 +05:30
build Dynamic loading of DB driver + support for other DB providers 2016-05-23 15:50:28 +02:00
client Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
cloud-cli Revert "Merge pull request #1228 from borisroman/CLOUDSTACK-9149" 2016-01-17 22:06:50 +01:00
core Merge branch '4.8' into 4.9 2016-11-23 13:50:15 +05:30
debian Merge pull request #1621 from milamberspace/FixPR1610_addLineReturn 2016-08-30 18:32:09 +05:30
deps fix noredist build because of missing maven dependency of vmware 6.0 lib 2016-05-28 11:03:11 -04:00
developer CLOUDSTACK-9584: run component tests in Travis run 2016-11-28 13:47:50 +05:30
engine Merge pull request #1710 from ustcweizhou/CLOUDSTACK-9538-deletesnapshot 2016-11-28 16:47:19 +05:30
framework Merge pull request #1684 from shapeblue/cloudstack-9489 2016-11-23 13:18:55 +05:30
maven-standard Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
packaging systemd: Fix semicolon missing in b75e69 2016-11-09 14:44:01 +05:30
plugins CLOUDSTACK-9564: Fix memory leaks in VmwareContextPool 2016-12-01 15:27:29 +05:30
python Remove extraneous log directory and add catalina.out log rotation 2016-05-12 08:41:39 +01:00
quickcloud Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
scripts CLOUDSTACK-9552: Allow egress TCP/53 implicitly in Basic Networking 2016-10-31 09:57:25 +01:00
server Merge branch '4.8' into 4.9 2016-11-25 13:03:04 +05:30
services Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
setup CLOUDSTACK-9584: run component tests in Travis run 2016-11-28 13:47:50 +05:30
systemvm systemvm: Fix regression from 825935 2016-11-27 15:43:10 +05:30
test Merge branch '4.8' into 4.9 2016-12-01 10:38:43 +05:30
tools CLOUDSTACK-9584: run component tests in Travis run 2016-11-28 13:47:50 +05:30
ui CLOUDSTACK-9622 Localisation for 'Project' label on the top of Web UI 2016-11-27 11:18:49 +00:00
usage Adds support for four position versions and optional db upgrades 2016-08-30 13:32:32 +05:30
utils Merge branch '4.8' into 4.9 2016-11-23 13:50:15 +05:30
vmware-base CLOUDSTACK-9564: Fix memory leaks in VmwareContextPool 2016-12-01 15:27:29 +05:30
.gitignore remove autogenerated pydev files 2015-12-26 09:02:27 +01:00
.java-version CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
.python-version CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
.travis.yml CLOUDSTACK-9584: run component tests in Travis run 2016-11-28 13:47:50 +05:30
CHANGES.md dummy commit to for PR close #95 2015-03-08 11:47:29 -04:00
CONTRIBUTING.md dummy commit to close PR: close #620, close #606, close #334, close #586 2015-07-26 10:40:50 -04:00
INSTALL.md CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
LICENSE SysVM: Cleanup and removal of old (and dangerous) config files 2016-06-07 13:03:10 +02:00
LICENSE.header Add license check plugin to root pom. Disabled for the entire project, except for poms that override it (opendaylight, nvp) 2014-01-22 11:22:42 +01:00
NOTICE Update NOTICE to account for updated jQuery version 2014-08-26 13:13:29 -07:00
README.md README: happy holidays! 2015-12-23 13:27:40 +05:30
configure-info.in License header updates for misc files 2012-08-03 14:51:41 -04:00
pom.xml Merge branch '4.8' into 4.9 2016-09-01 17:01:51 +05:30
requirements.txt CLOUDSTACK-9334: Support jenv and pyenv to manage Java and Python versions 2016-04-14 14:26:29 -04:00
version-info.in No more ant_args 2012-09-03 14:13:50 +02:00

README.md

Apache CloudStack Build Status Coverity Scan Build Status

Apache CloudStack

Apache CloudStack is open source software designed to deploy and manage large networks of virtual machines, as a highly available, highly scalable Infrastructure as a Service (IaaS) cloud computing platform. CloudStack is used by a number of service providers to offer public cloud services, and by many companies to provide an on-premises (private) cloud offering, or as part of a hybrid cloud solution.

CloudStack is a turnkey solution that includes the entire "stack" of features most organizations want with an IaaS cloud: compute orchestration, Network-as-a-Service, user and account management, a full and open native API, resource accounting, and a first-class User Interface (UI).

CloudStack currently supports the most popular hypervisors: VMware vSphere, KVM, XenServer, XenProject and Hyper-V as well as OVM and LXC containers.

Users can manage their cloud with an easy to use Web interface, command line tools, and/or a full-featured query based API.

For more information on Apache CloudStack, please visit the website

Who Uses CloudStack?

  • There are more than 150 known organizations using Apache CloudStack (or a commercial distribution of CloudStack). Our users include many major service providers running CloudStack to offer public cloud services, product vendors who incorporate or integrate with CloudStack in their own products, organizations who have used CloudStack to build their own private clouds, and systems integrators that offer CloudStack related services.

  • See our case studies highlighting successful deployments of Apache CloudStack.

  • See the up-to-date list of current users.

  • If you are using CloudStack in your organization and your company is not listed above, please complete our brief adoption survey. We're happy to keep your company name anonymous if you require.

Getting Started

  • Download a released version
  • Build from source with the instructions in the INSTALL.md file.

Getting Source Repository

Apache CloudStack project uses Git. The official Git repository is at:

https://git-wip-us.apache.org/repos/asf/cloudstack.git

And a mirror is hosted on Github:

https://github.com/apache/cloudstack

The Github mirror is strictly read only and provides convenience to users and developers to explore the code and for the community to accept contributions via Github pull requests.

Getting Involved and Contributing

Interested in helping out with Apache CloudStack? Great! We welcome participation from anybody willing to work The Apache Way and make a contribution. Note that you do not have to be a developer in order to contribute to Apache CloudStack. We need folks to help with documentation, translation, promotion etc.See our contribution page.

If you're interested in learning more or participating in the Apache CloudStack project, the mailing lists are the best way to do that. While the project has several communications channels, the mailing lists are the most active and the official channels for making decisions about the project itself.

Mailing lists:

IRC, join us on irc.freenode.net on:

  • #cloudstack: General Apache CloudStack conversation and end user support
  • #cloudstack-dev: Development discussions

Report and/or check bugs on JIRA and check our developer page for contributing code.

News and Events

Reporting Security Vulnerabilities

If you've found an issue that you believe is a security vulnerability in a released version of CloudStack, please report it to security@cloudstack.apache.org with details about the vulnerability, how it might be exploited, and any additional information that might be useful.

For more details, please visit our security page

License

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Please see the LICENSE file included in the root directory of the source tree for extended license details.

Notice of Cryptographic Software

This distribution includes cryptographic software. The country in which you currently reside may have restrictions on the import, possession, use, and/or re-export to another country, of encryption software. BEFORE using any encryption software, please check your country's laws, regulations and policies concerning the import, possession, or use, and re-export of encryption software, to see if this is permitted. See http://www.wassenaar.org/ for more information.

The U.S. Government Department of Commerce, Bureau of Industry and Security (BIS), has classified this software as Export Commodity Control Number (ECCN) 5D002.C.1, which includes information security software using or performing cryptographic functions with asymmetric algorithms. The form and manner of this Apache Software Foundation distribution makes it eligible for export under the License Exception ENC Technology Software Unrestricted (TSU) exception (see the BIS Export Administration Regulations, Section 740.13) for both object code and source code.

The following provides more details on the included cryptographic software:

  • CloudStack makes use of JaSypt cryptographic libraries
  • CloudStack has a system requirement of MySQL, and uses native database encryption functionality.
  • CloudStack makes use of the Bouncy Castle general-purpose encryption library.
  • CloudStack can optionally interacts with and controls OpenSwan-based VPNs.
  • CloudStack has a dependency on and makes use of JSch - a java SSH2 implementation.