Hello!
Im going to move AwareIM 5.8 from my server:
From:
MySQL Server,
Windows 2008,
4GB RAM
Core i3 CPU
to a new server:
AwareIM 5.8
MySQL Server
16 GB RAM
1TB HD
XEON procesor
I just want to know if someone has done similar before and maybe give me some tips in how to do it right. (have the least problems possible)
My application has been working fine for over 2 years, but now it is getting slow. Have some BOs with 150,000 records. Maybe around 15 users the the same time.
I assigned 256MB in RAM to Mysql server, and 1024MB RAM to AwareIM
Your comments make this blog great.
best regards,
Move AwareIm to a new server
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Move AwareIm to a new server
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
Re: Move AwareIm to a new server
Hi,
I have moved my apps to a new server a couple of months ago.
there is a topic on this forum which I have also followed.
Note: You will need support from Vlad to un-register the old server and register the new one(license).
I think this is the topic: http://www.awareim.com/forum/viewtopic. ... ver#p18243
If you need more info, let me know.
Nice day,
I have moved my apps to a new server a couple of months ago.
there is a topic on this forum which I have also followed.
Note: You will need support from Vlad to un-register the old server and register the new one(license).
I think this is the topic: http://www.awareim.com/forum/viewtopic. ... ver#p18243
If you need more info, let me know.
Nice day,
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Re: Move AwareIm to a new server
Thank you George.
Also, how much memory do you have assigned to MySQL sever?
best regards,
Also, how much memory do you have assigned to MySQL sever?
best regards,
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
Re: Move AwareIm to a new server
Hi,
My apps are still in development and I do not changed anything on this side, everything is default yet.
But, soon I will do some research/tests to setup these parameters and let you know about the results.
Thx.
My apps are still in development and I do not changed anything on this side, everything is default yet.
But, soon I will do some research/tests to setup these parameters and let you know about the results.
Thx.
Thx,
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
George
________________________________
Developer Edition
AwareIM: v8.5, build 2824
OS: Windows Server 2012
DB: MySql 5.6.42
Re: Move AwareIm to a new server
My AIM server 6.0 on a 16gb RAM system
My ususal MySQL process memory usage (system allocated)
Cheers
My ususal MySQL process memory usage (system allocated)
Cheers
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Re: Move AwareIm to a new server
What!!!!
Is that possible with AwareIm 5.8? I thought that it was only possible 1024, 512, 256
I have only 256MB for MySQL
I will try the same configuration for 5.8
Best regards...
Is that possible with AwareIm 5.8? I thought that it was only possible 1024, 512, 256
I have only 256MB for MySQL
I will try the same configuration for 5.8
Best regards...
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Re: Move AwareIm to a new server
Rennur,
When you installed the Mysql sever, how did you manage to assign that memory? Selection Dedicated server? or any tweaking in the My.cnf?
I really dont mess with memory, but will love to know you did that. I also have 16GB RAM in the new server.
Thanks!
When you installed the Mysql sever, how did you manage to assign that memory? Selection Dedicated server? or any tweaking in the My.cnf?
I really dont mess with memory, but will love to know you did that. I also have 16GB RAM in the new server.
Thanks!
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
Re: Move AwareIm to a new server
When you installed the Mysql sever, how did you manage to assign that memory? Selection Dedicated server? or any tweaking in the My.cnf?
I did not assign specific system memory (RAM) to MySql, Windows itself manages that separate of Aware IM.
How MySQL Uses Memory.
Assign as much memory as possible to Aware IM via the server settings. It doesn'tmean Aware requires or will use that much but the more memory it has to work with the better.
Are your system Aware IM components (JDK, Tomcat or MySQL) 64bit?
Re: Move AwareIm to a new server
Notice the memory resources used by my Aware IM server (my app is med->big in size with about 15 heavy and 30 light users):
Javaw.exe 2600mb+ RAM is the Server, the other 2 are Tomcat and Config Tool.
If I had the server set up as 1024MB RAM it wouldn't run or would have issues.
Javaw.exe 2600mb+ RAM is the Server, the other 2 are Tomcat and Config Tool.
If I had the server set up as 1024MB RAM it wouldn't run or would have issues.
Re: Move AwareIm to a new server
Rennur,Rennur wrote:My AIM server 6.0 on a 16gb RAM system
My ususal MySQL process memory usage (system allocated)
Cheers
Just curious. If the MAX memory available for Java 64 is 4GB, why do you have a lot more than that? Is it possible i.e. does it work to assign more memory?
Thanks
Henrik (V8 Developer Ed. - Windows)
-
- Posts: 201
- Joined: Tue Jul 27, 2010 2:17 am
- Location: Mexico
Re: Move AwareIm to a new server
Hi!
We, I have the standar Tomcat and Java that comes with AwareIm.
I havent changed anything about it. I will look in the blog, but if you have some info, it is greatly appreciated.
Thank you!
We, I have the standar Tomcat and Java that comes with AwareIm.
I havent changed anything about it. I will look in the blog, but if you have some info, it is greatly appreciated.
Thank you!
Rennur wrote:When you installed the Mysql sever, how did you manage to assign that memory? Selection Dedicated server? or any tweaking in the My.cnf?
I did not assign specific system memory (RAM) to MySql, Windows itself manages that separate of Aware IM.
How MySQL Uses Memory.
Assign as much memory as possible to Aware IM via the server settings. It doesn'tmean Aware requires or will use that much but the more memory it has to work with the better.
Are your system Aware IM components (JDK, Tomcat or MySQL) 64bit?
LineaMovil // Carlos Castillo
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
AwareIM Version 8.6
Windows Server 2021
MySQL Database 8.4
MEXICO
Re: Move AwareIm to a new server
Code: Select all
Just curious. If the MAX memory available for Java 64 is 4GB, why do you have a lot more than that? Is it possible i.e. does it work to assign more memory?
Re: Move AwareIm to a new server
This has been discussed at length in the forum and I might be (and hope I am) mistaken. My impression from previous discussions is this:ACDC wrote:I have never heard of 4GB being max memory for a JVM 64, i think you must be confusing this with max memory of win 32 environment ? I have seen some configurations of JVM 64 at 6 GBCode: Select all
Just curious. If the MAX memory available for Java 64 is 4GB, why do you have a lot more than that? Is it possible i.e. does it work to assign more memory?
- If you use Java32 with Aware IM you can MAX allocate 2GB.
- If you use Java64 with Aware IM you can MAX allocate 4GB.
If it´s possible to use more than 4GB (Java64) then that´s very welcome news and new to me. Is there a Java expert or if support could comment, is this correct?
Thanks
Henrik (V8 Developer Ed. - Windows)
Re: Move AwareIm to a new server
According to this FAQ it's only limited by memory and swap space on the local system:
On 64-bit VMs, you have 64 bits of addressability to work with resulting in a maximum Java heap size limited only by the amount of physical memory and swap space your system provides.
See also Why can't I get a larger heap with the 32-bit JVM?
Also keep in mind you need to set the max heap via command line. Without an -Xmx command. without it Java uses 64mb + 30% = 83.2mb as a default max heap on 64 bit machines according the same FAQ.
Source: http://stackoverflow.com/questions/2093 ... 64bit-java
On 64-bit VMs, you have 64 bits of addressability to work with resulting in a maximum Java heap size limited only by the amount of physical memory and swap space your system provides.
See also Why can't I get a larger heap with the 32-bit JVM?
Also keep in mind you need to set the max heap via command line. Without an -Xmx command. without it Java uses 64mb + 30% = 83.2mb as a default max heap on 64 bit machines according the same FAQ.
Code: Select all
java -Xmx1000g myClass
Re: Move AwareIm to a new server
Very nice and good news then .
Support, a tip is to write something about this (Java 32 VS 64 and memory usage etc. etc.) in the userguide or howto document because this is important and not apparent information.
Support, a tip is to write something about this (Java 32 VS 64 and memory usage etc. etc.) in the userguide or howto document because this is important and not apparent information.
Henrik (V8 Developer Ed. - Windows)