<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">What I have noticed, if you use "spacecmd softchannel_generateyumcache <channel name>" and then go to tasks and run single repodata bunch, you will see it will actually start and generate your channel cache for you on
 the channel you used the spacecmd  on, this works every time.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">But yes the task logs just show repodata bunch running forever.</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<span id="ms-rterangepaste-start"></span>
<div style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#595959"><span style="font-size:10pt">Regards,</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" color="#595959"><b>Paul Dias</b></font></span></font></div>
<div align="justify" style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#595959"><span style="font-size:10pt">6</span></font><font face="Arial,sans-serif" size="-1" color="#595959"><sup>th</sup></font><font face="Arial,sans-serif" size="2" color="#595959"><span style="font-size:10pt"> Floor,
 8 Boundary Road</span></font></span></font></div>
<div align="justify" style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#595959"><span style="font-size:10pt">Newlands</span></font></span></font></div>
<div align="justify" style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#595959"><span style="font-size:10pt">Cape Town</span></font></span></font></div>
<div align="justify" style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#595959"><span style="font-size:10pt">7700</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#555559"><span style="font-size:10pt">T: +27 (0) 21 681 3149</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#555559"><span style="font-size:10pt"><br>
</span></font></span></font></div>
<div style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#E31F2B"><span style="font-size:10pt"><b>Meet your future today.</b></span></font></span></font></div>
<div style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Arial,sans-serif" size="2" color="#E31F2B"><span style="font-size:10pt"><b> </b></span></font></span></font></div>
<div style="color:rgb(33,33,33); font-size:15px; margin:0px"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><img class="EmojiInsert" width="163" height="75" alt="BCX" id="OWAPstImg248180" style="" data-outlook-trace="F:0|T:1" src="cid:image014.jpg@01D3CDAC.49088340"></span></font></div>
<span id="ms-rterangepaste-end"></span></div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Gerald Vogt <vogt@spamcop.net><br>
<b>Sent:</b> Monday, 02 July 2018 9:45 AM<br>
<b>To:</b> spacewalk-list@redhat.com<br>
<b>Subject:</b> Re: [Spacewalk-list] Taskomatic runs indefinitely without ever generating repodata</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">After letting the upgraded server sit for a while it seems only a few of
<br>
the task schedules actually finish. By now, only those tasks show up in <br>
in the task engine status page:<br>
<br>
Changelog Cleanup:       2018-07-01 23:00:00 CEST         FINISHED<br>
Clean Log History:       2018-07-01 23:00:00 CEST         FINISHED<br>
Compare Config Files:    2018-07-01 23:00:00 CEST         FINISHED<br>
Daily Summary Mail:      2018-07-01 23:00:00 CEST         FINISHED<br>
Daily Summary Queue:     2018-07-01 23:00:00 CEST         FINISHED<br>
<br>
All the other tasks have disappeared from the list by now.<br>
<br>
The repo-sync tasks seem to work. New packages appear in the channel. <br>
However, the repo build is not running or better it seems to never <br>
properly finish.<br>
<br>
If I start it manually, it seems to do its work:<br>
<br>
> INFO   | jvm 1    | 2018/07/02 08:13:10 | 2018-07-02 08:13:10,584 [Thread-12] INFO  com.redhat.rhn.taskomatic.TaskoQuartzHelper - Job single-channel-repodata-bunch-0 scheduled succesfully.<br>
> INFO   | jvm 1    | 2018/07/02 08:13:10 | 2018-07-02 08:13:10,636 [DefaultQuartzScheduler_Worker-8] INFO  com.redhat.rhn.taskomatic.TaskoJob - single-channel-repodata-bunch-0: bunch channel-repodata-bunch STARTED<br>
> INFO   | jvm 1    | 2018/07/02 08:13:10 | 2018-07-02 08:13:10,651 [DefaultQuartzScheduler_Worker-8] DEBUG com.redhat.rhn.taskomatic.TaskoJob - single-channel-repodata-bunch-0: task channel-repodata started<br>
> INFO   | jvm 1    | 2018/07/02 08:13:10 | 2018-07-02 08:13:10,793 [DefaultQuartzScheduler_Worker-8] INFO  com.redhat.rhn.taskomatic.task.ChannelRepodata - In the queue: 4<br>
> INFO   | jvm 1    | 2018/07/02 08:13:11 | 2018-07-02 08:13:11,102 [DefaultQuartzScheduler_Worker-8] DEBUG com.redhat.rhn.taskomatic.TaskoJob - channel-repodata (single-channel-repodata-bunch-0) ... running<br>
> INFO   | jvm 1    | 2018/07/02 08:13:11 | 2018-07-02 08:13:11,103 [DefaultQuartzScheduler_Worker-8] INFO  com.redhat.rhn.taskomatic.TaskoJob - single-channel-repodata-bunch-0: bunch channel-repodata-bunch FINISHED<br>
> INFO   | jvm 1    | 2018/07/02 08:13:11 | 2018-07-02 08:13:11,137 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - File Modified Date:2018-06-23 03:48:50 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:13:11 | 2018-07-02 08:13:11,137 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Channel Modified Date:2018-07-02 03:45:39 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:13:11 | 2018-07-02 08:13:11,211 [Thread-678] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - File Modified Date:2018-06-23 04:09:51 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:13:11 | 2018-07-02 08:13:11,213 [Thread-678] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Channel Modified Date:2018-07-02 03:47:55 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:13:19 | 2018-07-02 08:13:19,062 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metadata for channel 'epel6-centos6-x86_64'(sha1) 14401 packages, 11613 errata<br>
> INFO   | jvm 1    | 2018/07/02 08:13:21 | 2018-07-02 08:13:21,193 [Thread-678] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metadata for channel 'epel7-centos7-x86_64'(sha1) 16282 packages, 10176 errata<br>
> INFO   | jvm 1    | 2018/07/02 08:40:12 | 2018-07-02 08:40:12,351 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Repository metadata generation for 'epel6-centos6-x86_64' finished in 1613 seconds<br>
> INFO   | jvm 1    | 2018/07/02 08:40:12 | 2018-07-02 08:40:12,457 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - File Modified Date:2018-06-19 06:28:57 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:40:12 | 2018-07-02 08:40:12,457 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Channel Modified Date:2018-07-02 04:30:05 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:40:12 | 2018-07-02 08:40:12,691 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metadata for channel 'postgresql96-centos7-x86_64'(sha256) 1032 packages, 0 errata<br>
> INFO   | jvm 1    | 2018/07/02 08:41:51 | 2018-07-02 08:41:51,710 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Repository metadata generation for 'postgresql96-centos7-x86_64' finished in 98 seconds<br>
> INFO   | jvm 1    | 2018/07/02 08:41:51 | 2018-07-02 08:41:51,803 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - File Modified Date:2018-06-20 05:08:38 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:41:51 | 2018-07-02 08:41:51,803 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Channel Modified Date:2018-07-02 04:00:00 CEST<br>
> INFO   | jvm 1    | 2018/07/02 08:41:51 | 2018-07-02 08:41:51,923 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Generating new repository metadata for channel 'postgresql10-centos6-x86_64'(sha512) 436 packages, 0 errata<br>
> INFO   | jvm 1    | 2018/07/02 08:42:26 | 2018-07-02 08:42:26,479 [Thread-677] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Repository metadata generation for 'postgresql10-centos6-x86_64' finished in 34 seconds<br>
> INFO   | jvm 1    | 2018/07/02 08:45:01 | 2018-07-02 08:45:01,697 [Thread-678] INFO  com.redhat.rhn.taskomatic.task.repomd.RepositoryWriter - Repository metadata generation for 'epel7-centos7-x86_64' finished in 1900 seconds<br>
<br>
yet, the task remains in RUNNING. And for whatever reason it only seems <br>
to work some channels. I find a total of 20 repos syncing in the logs of <br>
the updated server compared to 42 repos syncing in the logs of the old. <br>
I don't really see the difference between those 20 repos syncing and <br>
those other 22 not. First I suspected channels with custom quartz <br>
schedules, but then I found channels in both groups.<br>
<br>
So I don't know how to troubleshoot this any further. The repodata task <br>
which I have started 1,5 hours ago is still at "RUNNING". The channels <br>
for which the sync works have been updated. I don't know why it is still <br>
running. Server load is back down...<br>
<br>
Thanks,<br>
<br>
Gerald<br>
<br>
On 22.06.18 19:12, Gerald Vogt wrote:<br>
> I have the same problem after upgrading from 2.6 to 2.8 on CentOS 6.9. I <br>
> have even increased the memory as suggested by that link but it makes no <br>
> differences. None of the scheduled tasks are running. I can run a bunch <br>
> manually. But the scheduler doesn't seem to work. Last execution times <br>
> on the task engine status pages are still at timestamps from before the <br>
> upgrade. -Gerald<br>
> <br>
> <br>
> <br>
> On 22.06.18 14:15, Avi Miller wrote:<br>
>> Hi,<br>
>><br>
>>> On 22 Jun 2018, at 5:51 pm, Florence Savary <br>
>>> <florence.savary.fs@gmail.com> wrote:<br>
>>><br>
>>> When using taskotop, we can see a line for the channel-repodata task, <br>
>>> we see it is running, but there is never any channel displayed in the <br>
>>> Channel column. We can also see the task marked as running in the <br>
>>> Admin tab of the WebUI, but if we let it, it never stops. The task <br>
>>> runs indefinitely, whithout ever doing anything.<br>
>><br>
>> If you've never modified the default memory settings, Taskomatic is <br>
>> probably running out of memory and task is crashing. This is a known <br>
>> issue, particularly when you sync large repos.<br>
>><br>
>> I would suggest increasing the memory assigned to Taskomatic to see if <br>
>> that resolves the issue. You will need to restart it after making <br>
>> these changes: <br>
>> <a href="https://docs.oracle.com/cd/E92593_01/E90695/html/swk24-issues-memory.html" id="LPlnk877433" class="OWAAutoLink" previewremoved="true">
https://docs.oracle.com/cd/E92593_01/E90695/html/swk24-issues-memory.html</a><br>
>><br>
>> Cheers,<br>
>> Avi<br>
>><br>
>> -- <br>
>> Oracle <<a href="http://www.oracle.com" id="LPlnk635260" class="OWAAutoLink" previewremoved="true">http://www.oracle.com</a>><br>
>> Avi Miller | Product Management Director | +61 (3) 8616 3496<br>
>> Oracle Linux and Virtualization<br>
>> 417 St Kilda Road, Melbourne, Victoria 3004 Australia<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Spacewalk-list mailing list<br>
>> Spacewalk-list@redhat.com<br>
>> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" id="LPlnk625349" class="OWAAutoLink" previewremoved="true">
https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
>><br>
> <br>
> _______________________________________________<br>
> Spacewalk-list mailing list<br>
> Spacewalk-list@redhat.com<br>
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" id="LPlnk975598" class="OWAAutoLink" previewremoved="true">
https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
<br>
<br>
</div>
</span></font></div>
</div>
</div>
</body>
</html>