[Anthill-pro] What CPU usage is expected by Anthill server?

Ryan Smith rws at urbancode.com
Wed May 21 19:55:32 CDT 2008


Peter,

The CPU usage is going to be proportional to the activity on the server. Activity includes running workflows, miscellaneous tasks like cleanup, UI activity and any remote Codestation resolves. There are other things that could cause high CPU usage such as memory thrashing. We are investigating potential memory problems with 3.5. If we find one, that could be the cause.


Ryan Smith

Peter Steele wrote:
> Here’s an interesting snapshot: This is the first few lines from the 
> “top” command:
> 
>  
> 
> top - 15:26:49 up 64 days,  2:14,  3 users,  load average: 0.10, 0.20, 0.25
> 
> Tasks: 143 total,   1 running, 142 sleeping,   0 stopped,   0 zombie
> 
> Cpu(s): 19.8% us,  0.2% sy,  0.0% ni, 79.9% id,  0.0% wa,  0.0% hi,  0.2% si
> 
> Mem:   4109408k total,  3990708k used,   118700k free,    89004k buffers
> 
> Swap:  8385920k total,      144k used,  8385776k free,  3012000k cached
> 
>  
> 
>   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  
> COMMAND                                                               
> 
> * 7778 root      18   0  530m 300m 8972 S   40  7.5 238:02.05 
> java                                                                   *
> 
> 30397 root      16   0  7348 1068  772 R    0  0.0   0:29.29 
> top                                                                   
> 
>     1 root      16   0  4756  556  460 S    0  0.0   0:01.23 init   
>                                                                 
> 
>     2 root      RT   0     0    0    0 S    0  0.0   0:01.91 
> migration/0                                                           
> 
>  
> 
> As you can see, process 7778 is current the top CPU user. This is the 
> Anthill server. I rebooted the server just two days ago and it as 
> already consumed over 238 minutes of CPU time. Nothing else comes close 
> to this, and the system has been up for 64 days. This seems to be 
> pointing to some kind of problem. What should we expect as far as CPU 
> usage is concerned for the Anthill server process?
> 
>  
> 
> *From:* anthill-pro-bounces at lists.urbancode.com 
> [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of *Peter Steele
> *Sent:* Wednesday, May 21, 2008 1:21 PM
> *To:* AnthillPro user and support list.
> *Subject:* RE: [Anthill-pro] What CPU usage is expected by Anthill server?
> 
>  
> 
> The server still seems to be a CPU hog, with it almost always being the 
> number one process on the “top” list, even when the system is largely 
> idol. We’ve added 40+ agents recently, but I did not check the server’s 
> CPU usage before adding all the new agents, and I also did not what the 
> CPU usage was before upgrading to 3.5. Fortunately the command failures 
> we were seeing the other day appear to have stopped after the reboot, 
> although the GUI is still very slow to respond to many typical commands. 
> For example, it just took 30 seconds for Anthill to respond to a click 
> on a project displayed in the “Your Active Projects” column of the 
> Dashboard. This seems to be slower than what it was in 3.4.12, but as I 
> indicated we have added a lot of agents lately. We’ll be adding more as 
> well, exceeding 100 agents in the next while. Is there anything we 
> should do to improve performance?
> 
>  
> 
> *From:* anthill-pro-bounces at lists.urbancode.com 
> [mailto:anthill-pro-bounces at lists.urbancode.com] *On Behalf Of *Steve Boone
> *Sent:* Wednesday, May 21, 2008 9:39 AM
> *To:* AnthillPro user and support list.
> *Subject:* Re: [Anthill-pro] What CPU usage is expected by Anthill server?
> 
>  
> 
> Peter,
> 
> Has this been happening in a regular basis? 
> 
> What happened after the restart?
> 
> On Wed, May 14, 2008 at 6:44 PM, Peter Steele <psteele at maxiscale.com 
> <mailto:psteele at maxiscale.com>> wrote:
> 
> We've noticed some very slow feedback from the Anthill server today, 
> even coming back with failures for some operations. The Unix top command 
> is showing the ah3server process as taking as much as 100% CPU at times, 
> and is consistently the top 1 or 2 processes on the system. There are 
> just two builds going on, and both of course are running on agent 
> systems, not the server. I don't recall seeing this before. We upgraded 
> to 3.5 yesterday and I am wondering if that might be to blame. It's 
> certainly very slow right now; I'll restart the server as soon as the 
> builds are done…
> 
>  
> 
> 
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com <mailto:Anthill-pro at lists.urbancode.com>
> http://lists.urbancode.com/mailman/listinfo/anthill-pro
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Anthill-pro mailing list
> Anthill-pro at lists.urbancode.com
> http://lists.urbancode.com/mailman/listinfo/anthill-pro

-- 
===========================================================
Ryan Smith.           		2044 Euclid Ave., Suite 600
Developer                   Cleveland, Ohio 44115
Urbancode, Inc.
                                email:  rws at urbancode.com
web:     www.urbancode.com      phone:  216-858-9000
web:     www.anthillpro.com     fax:    216-858-9602
===========================================================


More information about the Anthill-pro mailing list