cancel
Showing results for 
Search instead for 
Did you mean: 

Out of the box install maxes out CPU on Windows

pbkoob
Champ in-the-making
Champ in-the-making
I have a straight out of the box install of Alfresco Enterprise 3.0 Full:
Windows 2003 R2 Standard Edition SP2
Oracle 10.2.0.4
2.27GHz Xeon on VMWare
3.0 GB RAM

The only configuration I have made is to point the server to Oracle instead of using Derby.

When I start Alfresco, it is running properly as far as I can tell, the Java process tomcat is running on sucks up all remaining CPU to max out my CPU utilization.  It was doing this before I hit it with a browser (that seems to be when others start experiencing trouble).  I read a past post about uninstalling printer and file sharing on windows, which I have done.

Any suggestions?
10 REPLIES 10

mrogers
Star Contributor
Star Contributor
Your first port of call should be to get Oracle off the machine running Alfresco.   A database needs as much CPU as possible.

You may also want to detune alfresco for your small machine.  Out of the box Alfresco is configured for an enterprise class machine.

You probably also need to look at your VMWare settings to make sure there's no memory paging going on.   You may have a clash between VMWare's memory management and Java's memory management.

Alfresco runs on a machine smaller than yours, such as my laptop, without problem.

pbkoob
Champ in-the-making
Champ in-the-making
Thanks for the quick response.

My oracle server is on a remote so I am ok there.

Detune alfresco?  How much bigger should my machine be to be considered "Enterprise class."  I will eventually have enterprise usage.

I'll have a look at the VM settings as well.

pbkoob
Champ in-the-making
Champ in-the-making
The systems only uses 1/3 the system memory yet CPU is at 100%  so there is no memory paging concerns.

Interesting.
I am not running alfresco as a Service yet the two big process running is java.exe at 65-80% of the CPU and services.exe which seem to run 20-35% of the CPU.  They increase in tandem right after tomcat posts INFO [service.descriptor.DescriptorService] Alfresco Started

mrogers
Star Contributor
Star Contributor
Does the load go down after a while?

pbkoob
Champ in-the-making
Champ in-the-making
One more observation.  When I shut down alfresco, the services.exe returns 0%, but Java takes up 96-98% of the CPU.

pbkoob
Champ in-the-making
Champ in-the-making
The longest I let it run is an hour.  I had to reboot the machine after that.

mrogers
Star Contributor
Star Contributor
Something is not right.   

You say you don't yet have any browser windows connected.   Do you have any other connections to Alfresco?

In particular do you have any alfresco CIFS drives mapped? 

Could you also confirm which version and service pack of Alfresco Enterprise you are using.

pbkoob
Champ in-the-making
Champ in-the-making
Nope.  No CIFS connection.

I am using Alfresco  3.1
The log says I am using 3.1.0 (142) schema 1008

pbkoob
Champ in-the-making
Champ in-the-making
I have pulled some more experienced people in to help me get more useful information on the process and we have found two things.

After tomcat is fully started, the No Paged Kernel memory is steadily, and linearly eaten up by the java.exe process until the machine runs out of kernel memory at which time it becomes unresponsive.

The java.exe process is trying to Open Services for some reason, even though I am running this interactively from the alf_start.bat and not as a Windows service.

Any suggestions?