<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									QNAP - SSH - How to reboot or force reboot - QNAP NAS				            </title>
            <link>https://www.tweaking4all.com/forum/qnap-nas/qnap-ssh-how-to-reboot-or-force-reboot/</link>
            <description>Tweaking4All.com Discussion Board</description>
            <language>en-US</language>
            <lastBuildDate>Wed, 22 Jul 2026 10:51:23 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>QNAP - SSH - How to reboot or force reboot</title>
                        <link>https://www.tweaking4all.com/forum/qnap-nas/qnap-ssh-how-to-reboot-or-force-reboot/#post-4273</link>
                        <pubDate>Wed, 06 Jul 2022 19:48:52 +0000</pubDate>
                        <description><![CDATA[A few minutes ago, I wasn&#039;t able to do a controlled shutdown of my QNAP through the WebUI ....
So I tried (in SSH):
reboot
Which wanted to work, but shutting down services was still not g...]]></description>
                        <content:encoded><![CDATA[<p>A few minutes ago, I wasn't able to do a controlled shutdown of my QNAP through the WebUI ....</p>
<p>So I tried (in SSH):</p>
<pre contenteditable="false">reboot</pre>
<p>Which wanted to work, but shutting down services was still not going anywhere after 15 minutes.</p>
<p>After some searching (yes, you can hold the power button 2 seconds for a controlled shutdown, or 5 seconds for a hard shutdown), I found this and it work great in these kind of emergencies:</p>
<pre contenteditable="false">kill 1</pre>
<p> </p>
<p>I did find it challenging to find a good explanation, but as far as I recall, PID "1" is the kernel, and if that process dies all other processes get killed automatically.</p>
<p> </p>
<p>I see other recommend the following kill command but I have not tested this on my QNAP as it was already rebooting. It basically kills all processes except the process that is running the kill command.</p>
<pre contenteditable="false">kill -9 -1</pre>
<p>I hope this useful to someone ... 😊 </p>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.tweaking4all.com/forum/qnap-nas/">QNAP NAS</category>                        <dc:creator>Hans</dc:creator>
                        <guid isPermaLink="true">https://www.tweaking4all.com/forum/qnap-nas/qnap-ssh-how-to-reboot-or-force-reboot/#post-4273</guid>
                    </item>
							        </channel>
        </rss>
		