Avi,
     I already had my /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf 
set max heap size at 2 GB.  

So I further increased it to 3 GB and raised the minimum to 512M.  and did a 
spacewalk-service restart

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=512

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=3072

And that worked. And oraclelinux6-x86_64 repo cache finally was finally 
rebuilt.  Cheers :-) 

Thank you and you have exceeded your own company's response time for a SEV 2 SR.

---
Robert Burnett
Sr. System Administrator, IT | Verizon Telematics
=======================================================================
Avi Miller wrote....
Date: Sat, 17 Jan 2015 07:18:30 +0200
From: Avi Miller <avi.mil...@oracle.com>
To: spacewalk-list@redhat.com
Subject: Re: [Spacewalk-list] Spacewalk 2.0 UI shows repo cache
        continually     in-progress
Message-ID: <6cfd73f5-e05d-4054-a6fa-e7bc3b5ab...@oracle.com>
Content-Type: text/plain; charset=us-ascii

Hi,

> On 17 Jan 2015, at 5:45 am, Burnett, Robert Mark <robert.burn...@verizon.com> 
> wrote:
> 
> My question to the list, is how to remove a queued repodata task to 
> taskomatic.  I seems I have a task stuck in the queue and it is unable to 
> rebuild the repo cache, until this task is removed or completes but it never 
> does complete. 

How much memory do you have available for Taskomatic? It's likely that the repo 
is too large for the default memory limit and it's running out of memory. I 
know that I've had to bump up the default Taskomatic and Tomcat memory limits 
to get the metadata to generate.

Check /usr/share/rhn/config-defaults/rhn_taskomatic_daemon.conf and tweak the 
following:

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=256

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=2048

(Notice I've bumped my maxmemory up to 2GB in this instance).

Cheers,
Avi

--
Oracle <http://www.oracle.com>
Avi Miller | Product Management Director | +61 (3) 8616 3496 Oracle Linux and 
Virtualization
417 St Kilda Road, Melbourne, Victoria 3004 Australia


_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to