<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://agora.nasqueron.org/index.php?action=history&amp;feed=atom&amp;title=Operations_grimoire%2FIncidents%2F2018-12-08-Mastodon</id>
	<title>Operations grimoire/Incidents/2018-12-08-Mastodon - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://agora.nasqueron.org/index.php?action=history&amp;feed=atom&amp;title=Operations_grimoire%2FIncidents%2F2018-12-08-Mastodon"/>
	<link rel="alternate" type="text/html" href="https://agora.nasqueron.org/index.php?title=Operations_grimoire/Incidents/2018-12-08-Mastodon&amp;action=history"/>
	<updated>2026-04-25T23:52:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0-alpha</generator>
	<entry>
		<id>https://agora.nasqueron.org/index.php?title=Operations_grimoire/Incidents/2018-12-08-Mastodon&amp;diff=828&amp;oldid=prev</id>
		<title>Dereckson: /* Actionables */ No note here</title>
		<link rel="alternate" type="text/html" href="https://agora.nasqueron.org/index.php?title=Operations_grimoire/Incidents/2018-12-08-Mastodon&amp;diff=828&amp;oldid=prev"/>
		<updated>2018-12-09T02:34:30Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Actionables: &lt;/span&gt; No note here&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:34, 9 December 2018&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Line 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Report issue upstream (Mastodon and ffmpeg?)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Report issue upstream (Mastodon and ffmpeg?)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Provide a watchdog to kill ŝtuck ffmpeg process (script is done, but a cron to run it is still needed)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* Provide a watchdog to kill ŝtuck ffmpeg process (script is done, but a cron to run it is still needed)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;;Notes&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;references group=&quot;Note&quot; /&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Dereckson</name></author>
	</entry>
	<entry>
		<id>https://agora.nasqueron.org/index.php?title=Operations_grimoire/Incidents/2018-12-08-Mastodon&amp;diff=827&amp;oldid=prev</id>
		<title>Dereckson: Created page with &quot;Tracked at https://devcentral.nasqueron.org/T1492.  == Incident timeline == * ffmpeg process are stuck in the queue and don&#039;t allow other jobs to run * Several people report t...&quot;</title>
		<link rel="alternate" type="text/html" href="https://agora.nasqueron.org/index.php?title=Operations_grimoire/Incidents/2018-12-08-Mastodon&amp;diff=827&amp;oldid=prev"/>
		<updated>2018-12-09T02:34:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Tracked at https://devcentral.nasqueron.org/T1492.  == Incident timeline == * ffmpeg process are stuck in the queue and don&amp;#039;t allow other jobs to run * Several people report t...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Tracked at https://devcentral.nasqueron.org/T1492.&lt;br /&gt;
&lt;br /&gt;
== Incident timeline ==&lt;br /&gt;
* ffmpeg process are stuck in the queue and don&amp;#039;t allow other jobs to run&lt;br /&gt;
* Several people report the issue by DM, but of course, timeline isn&amp;#039;t updated, including the notifications one&lt;br /&gt;
* 2018-12-08 11:35 Investigation to see what happens on the queue&lt;br /&gt;
* 2018-12-08 PM The stuck ffmpeg processes was killed&lt;br /&gt;
* 2018-12-08 PM The queue started to resorbed&lt;br /&gt;
* 2018-12-08 PM Workers capacity has been increased&lt;br /&gt;
* 2018-12-08 17:17 Prepare a script to kill stuck ffmpeg:&amp;lt;br /&amp;gt;{{Ops file|roles/paas-docker/containers/files/mastodon/clear-video-queue.py}}&lt;br /&gt;
* 2018-12-08 PM The queue resorbed more quickly&lt;br /&gt;
* 2018-12-08 19:46 The situation was fixed&lt;br /&gt;
&lt;br /&gt;
== Analysis ==&lt;br /&gt;
There is a clear monitoring issue here: we need to get an alert if the queue contains more than some hundred jobs.&lt;br /&gt;
&lt;br /&gt;
== Actionables ==&lt;br /&gt;
* Monitor Sidekiq queue&lt;br /&gt;
* Report issue upstream (Mastodon and ffmpeg?)&lt;br /&gt;
* Provide a watchdog to kill ŝtuck ffmpeg process (script is done, but a cron to run it is still needed)&lt;br /&gt;
&lt;br /&gt;
;Notes&lt;br /&gt;
&amp;lt;references group=&amp;quot;Note&amp;quot; /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Dereckson</name></author>
	</entry>
</feed>