<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Smangano</id>
		<title>explain xkcd - User contributions [en]</title>
		<link rel="self" type="application/atom+xml" href="https://www.explainxkcd.com/wiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Smangano"/>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php/Special:Contributions/Smangano"/>
		<updated>2026-04-15T23:50:52Z</updated>
		<subtitle>User contributions</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://www.explainxkcd.com/wiki/index.php?title=1495:_Hard_Reboot&amp;diff=85749</id>
		<title>1495: Hard Reboot</title>
		<link rel="alternate" type="text/html" href="https://www.explainxkcd.com/wiki/index.php?title=1495:_Hard_Reboot&amp;diff=85749"/>
				<updated>2015-03-06T10:21:38Z</updated>
		
		<summary type="html">&lt;p&gt;Smangano: /* Explanation */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{comic&lt;br /&gt;
| number    = 1495&lt;br /&gt;
| date      = March 6, 2015&lt;br /&gt;
| title     = Hard Reboot&lt;br /&gt;
| image     = hard_reboot.png&lt;br /&gt;
| titletext = Googling inevitably reveals that my problem is caused by a known bug triggered by doing [the exact combination of things I want to do]. I can fix it, or wait a few years until I don't want that combination of things anymore, using the kitchen timer until then.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
==Explanation==&lt;br /&gt;
This comic is about using a simple and unrelated trick to fix a problem.&lt;br /&gt;
&lt;br /&gt;
{{w|Paging|Swap space}} is an area of a computer's hard drive reserved for use when the computer runs out of RAM.  Ideally, RAM + SWAP &amp;gt;= MAX, where MAX is the amount of memory the computer will ever try to use at the same time. However, some [broken] programs may keep requesting memory from the system until computer runs out of resources. Alternatively, system may be misconfigured to run more and more programs simultaneously. Rebooting the computer will empty the RAM and swap space so resources can be reallocated, but this only temporarily alleviates the underlying issue. Determining the root cause of the problem is often nontrivial.&lt;br /&gt;
&lt;br /&gt;
It would take up to 10 hours to figure out why the server is running out of swap space and fix the problem.  Alternatively, Randall could just take 5 minutes and plug the server into a light timer. This attitude to problem solving is in contrast to the attitude shown in [[974: The General Problem]].&lt;br /&gt;
&lt;br /&gt;
Timers [http://www.diytrade.com/china/pd/10081499/Analog_Electric_Light_on_off_Timer_Dual_Outlet_Switch.html like the one in the comic] typically have four switches or notches per hour, so using the timer would replace an unpredictable and indefinite loss of service with a regular 15 minute downtime event once a day.  Also, it can be scheduled during, say, the middle of the night when most users are sleeping to minimize disruption.&lt;br /&gt;
&lt;br /&gt;
The correct method of scheduling a regular reboot would be using a ''cron'' task, but perhaps the server is &amp;quot;crashing&amp;quot; in such a dramatic manner that ''cron,'' or ''shutdown,'' or ''init'' stops working.  The comic title alludes to this, in that a &amp;quot;hard&amp;quot; reboot scheduled with an analog timer is more guaranteed to work than a &amp;quot;soft&amp;quot; one scheduled with ''cron.''&lt;br /&gt;
&lt;br /&gt;
If a memory leak is not present, the problem might be fixable by simply increasing swap space, however if there is a more complex underlying issue, this is the first step along the path of 10 hours of troubleshooting. As a general stereotype, the type of person who has a home server is probably also the kind of person who would start by 'just' increasing the swap size, and before they know it has spent 10 hours completely engrossed in the challenge of fixing the problem. (See [[349: Success]])&lt;br /&gt;
&lt;br /&gt;
The title text's first sentence refers to situations where the given solution to a problem is just the original problem rephrased to sound like a solution.  It may also refer to bug trackers, where someone found out and posted what causes the issue, but the bug is marked as &amp;quot;Unresolved,&amp;quot; &amp;quot;Waiting,&amp;quot; or &amp;quot;Will not fix.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The title text's second sentence is about the human tendency to wait on someone else to fix a problem rather than doing it yourself.  Since everyone is waiting on someone else to do it, such problems tend to never be fixed, hence the solution of &amp;quot;wait[ing] a few years until I don't want that combination of things anymore.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
==Transcript==&lt;br /&gt;
''A section of a screen with a white-on-black color scheme is shown. The screen is covered in lines of illegible text.''&lt;br /&gt;
&lt;br /&gt;
Figuring out why my home server keeps running out of swap space and crashing: 1-10 hours&lt;br /&gt;
&lt;br /&gt;
''Next to the section of the screen is a timer plugged into a power port with cable running off to the side.''&lt;br /&gt;
&lt;br /&gt;
Plugging it into a light timer so it reboots every 24 hours: 5 minutes&lt;br /&gt;
&lt;br /&gt;
'''Why everything I have is broken'''&lt;br /&gt;
&lt;br /&gt;
{{comic discussion}}&lt;/div&gt;</summary>
		<author><name>Smangano</name></author>	</entry>

	</feed>