Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 01-18-2015, 10:04 AM   #1
LQ Newbie
Registered: Jan 2015
Posts: 4

Rep: Reputation: Disabled
Question FORCE SHUTDOWN -> Auto-Kill apps that prevent Shutdown - HOW ??

Hell-O there, gurus!

I'm wondering on how I could configure Linux Debian 7.7.0 32-bit so that when SHUTTING DOWN or RESTARTING via the MENU (NOT via Terminal command!) then Linux would automatically terminate processes and applications that prevent it from shutting down/restarting.

So I have this Linux OS running as a guest on my VirtualBox 4.3.20 32-bit that runs on Windows 7 SP1 x64 host.

The program that keeps preventing the shutdown process is FileZilla. I have no idea what there is wrong with that program/process so that it just won't terminate automatically.

Any ideas? Could it be a FileZilla configuration/settings related issue instead, and not Linux itself?

I DO have the latest GuestAdditions + ExtensionPack + all the updates installed (both VBox & Linux & Windows). I have tried googling around for a solution but without success.

I really hope that You guys could help me. It's so annoying having to wait almost a minute when I click SHUTDOWN ANYWAY when Linux reports with a pop-up window about FileZilla not closing automatically + it being in the state of 'not responding' and 'preventing shutdown process'.

So even if I click that SHUTDOWN ANYWAY button (on the pop-up error window), it still takes pretty long time from Linux to actually shut down.

Thank You all in advance, and PLEASE HELP poor little me!

// Tommi Tiihonen
Old 01-18-2015, 03:33 PM   #2
Registered: Sep 2010
Posts: 275

Rep: Reputation: 28
i had an issue similar but with a different program. mine was being caused by a failing piece of hardware specifically a hard drive. it was very hard to figure out. as i have said that now, the first thing you should do is remove and reinstall filezilla to see if there is a corruption in it that is causing it. i would say that is most likely.

secondly i would look into a hardware issue holding it up. in my case it was deleting a file was taking forever and because of the failing hd, was hanging.
Old 01-19-2015, 04:09 AM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,584

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
there is nothing wrong with the FTP gui Filezilla

if it is running then a ftp connection is connected
you have to shut down the gui and or the running deamon first
( the icon in the system tray)
wait for the 350 sec timeout

Last edited by John VV; 01-19-2015 at 04:10 AM.
Old 01-19-2015, 09:19 AM   #4
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,089
Blog Entries: 4

Rep: Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658Reputation: 3658
Well, you always have the option of turning-off the GUI features that are right now patiently waiting for the other processes to end. But, you probably don't want to do that.

The GUI is sending a polite message to each process, asking it to end. Perhaps FZ is not listening for that message. (What happens, for example, when you simply click the "Close" box on the FZ window, unexpectedly? That's more-or-less what the GUI is doing.)

If a process does not respond to the "please die" signal, the GUI sends a more forceful kind of signal to the process, but it still does not right-away use "Finger of Death, No Saving Throw, No Possibility of Resurrection." (Not yet.)

Anyhow, whatever this issue turns out to be, it will indeed be specific to that application, and you need to resolve its problem first.

And then ... "yes, accomplishing an orderly shutdown does take a certain amount of time." A lot of things can be going on at once, and you need to be very sure that they all come to an orderly conclusion. If you sense that "it's taking too long," maybe your system is doing more things than you realize ... or, that it needs to be. (Many Linux distros install, and activate, a whole lot of things "just in case.")


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Force shutdown tnrooster Linux - Server 3 04-25-2011 04:57 AM
Force filesystem check after improper shutdown? Phaethar Linux - General 6 04-23-2011 09:12 PM
Force program shutdown iNFERiON Linux - Newbie 4 12-17-2003 01:07 PM
autofsck or force fsck after uncontrolled shutdown r00tnuke Red Hat 5 09-05-2003 10:20 AM
KDE: anybody can shutdown my box!!! How to prevent this? vous Linux - Software 5 05-25-2003 05:07 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:56 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration