Re: [D] Cloud Usage consume loads of system resource in 4.20.1 [cloudstack]

2025-07-07 Thread via GitHub
GitHub user levindecaro added a comment to the discussion: Cloud Usage consume loads of system resource in 4.20.1 @DaanHoogland just gave a try on truncate all tables, it has been ran for 3 days and the cpu went up once i got this error ``` 2025-07-07 08:24:47,835 ERROR

Re: [D] Cloud Usage consume loads of system resource in 4.20.1 [cloudstack]

2025-07-07 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Cloud Usage consume loads of system resource in 4.20.1 @levindecaro , I converted this to a discussion as there is clearly an event to deal with. Whether the load is a DB issue or an agent issue is not clear to me yet. let’s keep an

Re: [D] Cloud Usage consume loads of system resource in 4.20.1 [cloudstack]

2025-07-07 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Cloud Usage consume loads of system resource in 4.20.1 > all table in cloud_usage db? why all? it would re-generate everything which could take a long time. I would not do that unless you first found the usage_event that caused

Re: [D] Cloud Usage consume loads of system resource in 4.20.1 [cloudstack]

2025-07-07 Thread via GitHub
GitHub user levindecaro added a comment to the discussion: Cloud Usage consume loads of system resource in 4.20.1 @DaanHoogland I seems found something about duplicate db entry from usage.log, i’m trying to clear all error before reopening this issue, stay tune. ``` 2025-07-03 07:55:43,070

Re: [D] Cloud Usage consume loads of system resource in 4.20.1 [cloudstack]

2025-07-07 Thread via GitHub
GitHub user levindecaro added a comment to the discussion: Cloud Usage consume loads of system resource in 4.20.1 @DaanHoogland is it safe to truncate all table in cloud_usage db? GitHub link: https://github.com/apache/cloudstack/discussions/11157#discussioncomment-13680643 This is an

Re: [D] Cloud Usage consume loads of system resource in 4.20.1 [cloudstack]

2025-07-07 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Cloud Usage consume loads of system resource in 4.20.1 "3419-1-2024-03-18 02:58:28” this is the event that would have a duplicate. You would find it in cloud.usage_events. It would be a START event, type 1. VM id 3419, and

Re: [D] Cloud Usage consume loads of system resource in 4.20.1 [cloudstack]

2025-07-07 Thread via GitHub
GitHub user DaanHoogland added a comment to the discussion: Cloud Usage consume loads of system resource in 4.20.1 Any story to tell about this @levindecaro ? GitHub link: https://github.com/apache/cloudstack/discussions/11157#discussioncomment-13680641 This is an automatically sent

Re: AW: Cloud Usage Question

2023-04-27 Thread Granwille Strauss
you should be able to build a microservice to achive your goal. regards, Swen *Von:* Granwille Strauss *Gesendet:* Donnerstag, 27. April 2023 13:09 *An:* users@cloudstack.apache.org *Betreff:* Cloud Usage Question Hi Guys Are there any online guides, apart from documentation for Cloud usage

AW: Cloud Usage Question

2023-04-27 Thread me
@cloudstack.apache.org Betreff: Cloud Usage Question Hi Guys Are there any online guides, apart from documentation for Cloud usage or is there a UI for the cloud usage server that I can use? I am fairly new to Cloudstack, and I have cloudusage installed and running too but I have no idea how

Cloud Usage Question

2023-04-27 Thread Granwille Strauss
Hi Guys Are there any online guides, apart from documentation for Cloud usage or is there a UI for the cloud usage server that I can use? I am fairly new to Cloudstack, and I have cloudusage installed and running too but I have no idea how to use it. Based on my findings it seems to be fully

RE: cloud usage - Not owner of usage job, skipping

2023-03-15 Thread cristian.c
Thank you for this workaround. -Original Message- From: Nux Sent: Tuesday, March 14, 2023 6:13 PM To: users@cloudstack.apache.org Cc: cristian.c@istream.today Subject: Re: cloud usage - Not owner of usage job, skipping I think this is fixed by https://github.com/apache/cloudstack/pull

Re: cloud usage - Not owner of usage job, skipping

2023-03-14 Thread Nux
ea why? Regards, Cristian -Original Message- From: cristian.c@istream.today Sent: Monday, March 13, 2023 3:47 PM To: users@cloudstack.apache.org Subject: RE: cloud usage - Not owner of usage job, skipping Hello, Just did this, looks like I had some jobs with null, removed and restarted the

RE: cloud usage - Not owner of usage job, skipping

2023-03-14 Thread cristian.c
why? Regards, Cristian -Original Message- From: cristian.c@istream.today Sent: Monday, March 13, 2023 3:47 PM To: users@cloudstack.apache.org Subject: RE: cloud usage - Not owner of usage job, skipping Hello, Just did this, looks like I had some jobs with null, removed and restarted

RE: cloud usage - Not owner of usage job, skipping

2023-03-13 Thread cristian.c
Hello, Just did this, looks like I had some jobs with null, removed and restarted the suage fixed the issue. Thank you, Cristian -Original Message- From: Nux Sent: Monday, March 13, 2023 2:26 PM To: users@cloudstack.apache.org Subject: Re: cloud usage - Not owner of usage job

Re: cloud usage - Not owner of usage job, skipping

2023-03-13 Thread Nux
t job (the one that hasn't run yet). HTH On 2023-03-13 11:50, cristian.c@istream.today wrote: Hello, I just found today that my cloud usage stopped to collect data from 2022, for sure is related to some upgrade, but it is quite impossible to find out which one. my question is, h

cloud usage - Not owner of usage job, skipping

2023-03-13 Thread cristian.c
Hello, I just found today that my cloud usage stopped to collect data from 2022, for sure is related to some upgrade, but it is quite impossible to find out which one. my question is, how can I fix this? Can I reset the cloudstack usage db? And start collection from today? "Usage

Re: cloud-usage

2022-10-18 Thread Wei ZHOU
Hi, If the usage server is installed on mgmt server, you can create symbolic for usage server configurations. mv /etc/cloudstack/usage/key /etc/cloudstack/usage/key.bak mv /etc/cloudstack/usage/db.properties /etc/cloudstack/usage/db.properties.bak ln -s /etc/cloudstack/management/db.properties /e

cloud-usage

2022-10-18 Thread pradeep pal
Hi All, I have done a fresh installation but after installation, I have gotten the below error, Please help me to fix this error. CloudStack 4.17.0 OS: Ubuntu 20.04.5 LTS 2022-10-18 14:41:43,690 INFO [cloud.usage.UsageManagerImpl] (main:null) (logid:) Implementation Version is 4.17.1.0 2022-1

Re: cloud usage Unable to load db configuration

2022-08-12 Thread Suresh Kumar Anaparti
Ok, thanks for the update Cristian. On Fri, Aug 12, 2022 at 1:27 PM wrote: > > Yes, after reinstall the cloudstack-usage. > > -Original Message- > From: Suresh Kumar Anaparti > Sent: Friday, August 12, 2022 10:55 AM > To: users@cloudstack.apache.org > Subject: R

RE: cloud usage Unable to load db configuration

2022-08-12 Thread cristian.c
Yes, after reinstall the cloudstack-usage. -Original Message- From: Suresh Kumar Anaparti Sent: Friday, August 12, 2022 10:55 AM To: users@cloudstack.apache.org Subject: Re: cloud usage Unable to load db configuration Ok, issue resolved after reinstallation? On Fri, Aug 12, 2022 at 12

Re: cloud usage Unable to load db configuration

2022-08-12 Thread Suresh Kumar Anaparti
> /etc/cloudstack/management/db.properties > lrwxrwxrwx 1 root root 30 Aug 11 18:56 key -> /etc/cloudstack/management/key > > > Regards, > Cristian > > > -Original Message- > From: Suresh Kumar Anaparti > Sent: Friday, August 12, 2022 9:37 AM > To: user

RE: cloud usage Unable to load db configuration

2022-08-12 Thread cristian.c
dstack/management/key Regards, Cristian -Original Message- From: Suresh Kumar Anaparti Sent: Friday, August 12, 2022 9:37 AM To: users@cloudstack.apache.org Subject: Re: cloud usage Unable to load db configuration Ok, Please check the parameter "db.cloud.maxActive" in /etc/

Re: cloud usage Unable to load db configuration

2022-08-11 Thread Suresh Kumar Anaparti
> > Regards, > Cristian > > -Original Message- > From: Suresh Kumar Anaparti > Sent: Thursday, August 11, 2022 7:19 PM > To: users@cloudstack.apache.org > Subject: Re: cloud usage Unable to load db configuration > > Hi Cristian, > > The listed db config

RE: cloud usage Unable to load db configuration

2022-08-11 Thread cristian.c
ay, August 11, 2022 7:19 PM To: users@cloudstack.apache.org Subject: Re: cloud usage Unable to load db configuration Hi Cristian, The listed db configuration parameters looks good. I think there is another db.properties file from where the configuration is loaded. Can you find whether

Re: cloud usage Unable to load db configuration

2022-08-11 Thread Suresh Kumar Anaparti
r=jdbc:mysql > db.simulator.port=3306 > db.simulator.name=simulator > db.simulator.maxActive=250 > db.simulator.maxIdle=30 > db.simulator.maxWait=1 > db.simulator.autoReconnect=true > > > Regards, > Cristian > > > > -Original Message- > From: Suresh

RE: cloud usage Unable to load db configuration

2022-08-11 Thread cristian.c
.name=simulator db.simulator.maxActive=250 db.simulator.maxIdle=30 db.simulator.maxWait=1 db.simulator.autoReconnect=true Regards, Cristian -Original Message- From: Suresh Kumar Anaparti Sent: Thursday, August 11, 2022 1:41 PM To: users@cloudstack.apache.org Subject: Re: cloud usage

Re: cloud usage Unable to load db configuration

2022-08-11 Thread Suresh Kumar Anaparti
Hi Cristian, It seems to be issue with parameter parsing in the db.properties file, not the password. Please check the value of the parameter "db.cloud.maxActive" in db.properties file, it should be a valid integer. Also, make sure the below parameters in db.properties file have valid integer val

cloud usage Unable to load db configuration

2022-08-11 Thread cristian.c
Hello, Any idea why I see the bellow error? I have the right password in /management/db.properties and in /usage/db.properties (encrypted) 2022-08-11 09:52:40,160 INFO [utils.component.ComponentContext] (main:null) (logid:) Configuring com.cloud.usage.dao.UsageDaoImpl_EnhancerByClo

Re: cloud-usage heap

2013-07-23 Thread David Comerford
: > Dynamically, only because it's not otherwise specified in the options when > starting up the JVM. You can edit the script it calls (check the > /etc/init.d/cloud-usage script for the actual name) and add in some -Xmx > 1024mb or something and see how that works. > >

Re: cloud-usage heap

2013-07-22 Thread Dave Dunaway
Dynamically, only because it's not otherwise specified in the options when starting up the JVM. You can edit the script it calls (check the /etc/init.d/cloud-usage script for the actual name) and add in some -Xmx 1024mb or something and see how that works. Could also be a ulimit rather th

Re: cloud-usage heap

2013-07-22 Thread David Comerford
rver.xml. > > There is some useful JAVA_OPTS in /etc/cloud/tomcat6.conf but I don't > know > > if that's specific to cloud-management or shared with cloud-usage. > > > > Any thoughts? > > > > Best regards, > > David Comerford > >

Re: cloud-usage heap

2013-07-22 Thread Dave Dunaway
. hth. On Mon, Jul 22, 2013 at 2:44 PM, David Comerford wrote: > Don't see anything like there in server.xml. > There is some useful JAVA_OPTS in /etc/cloud/tomcat6.conf but I don't know > if that's specific to cloud-management or shared with cloud-usage. > >

Re: cloud-usage heap

2013-07-22 Thread David Comerford
Don't see anything like there in server.xml. There is some useful JAVA_OPTS in /etc/cloud/tomcat6.conf but I don't know if that's specific to cloud-management or shared with cloud-usage. Any thoughts? Best regards, David Comerford Tel: +353 87 123829

Re: cloud-usage heap

2013-07-22 Thread Dean Kamali
it should be somewhere in server.xml On Mon, Jul 22, 2013 at 9:20 AM, David Comerford wrote: > Hi list, > > Anyone know where the Java heap size is defined for cloud-usage server? > And is it a shared heap with cloud-management? > > I've got an upset usage server that wa

cloud-usage heap

2013-07-22 Thread David Comerford
Hi list, Anyone know where the Java heap size is defined for cloud-usage server? And is it a shared heap with cloud-management? I've got an upset usage server that wants more memory. 11:18:39,444 INFO UsageManagerImpl:232 - Starting Usage Manager 2013-07-22 11:18:39,444