On 24 Mar 2011, at 16:57, Arnau Bria wrote:

> Hi all,
> 
> I've noticed that puppet-dashboard takes a lot of time to refresh some
> webs, but today, I've started to remove some old nodes and it takes
> more than 10 minutes to remove one.
> 
> The host hasn't a really high load:
> 
> [root@puppet01 ~]# uptime
> 16:54:31 up 14 days,  5:17,  1 user,  load average: 1.67, 1.48, 1.08
> [root@puppet01 ~]# free -m
>             total       used       free     shared    buffers     cached
> Mem:          2026       1890        136          0          4        266
> 
> # grep -c "^proc" /proc/cpuinfo 
> 2
> 
> and, obviously, ruby & mysql are eating all the cpu:
> 
>  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND  
> 31770 mysql     22   0  138m  28m 4616 S 117.2  1.4  18:42.69 mysqld          
>                                                                               
>                     
> 5111 root      16   0  861m 839m 2492 S  1.0 41.4 931:05.87 ruby  
> 
> Anyone notices this behaviour? any advice for solving this?


Dashboard removes the reports for nodes one by one...
This can take a long time with many reports.

Solutions :
- Delete reports in the db with a delete statement.
- run the cleanup rake task for reports as explained on the github page.

Regards,

Stefan - Zipkid - Goethals


> 
> puppet-dashboard-1.0.4.tgz
> 
> 
> TIA,
> Arnau
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Puppet Users" group.
> To post to this group, send email to puppet-users@googlegroups.com.
> To unsubscribe from this group, send email to 
> puppet-users+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to