Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Can't kill rsync

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
Jogie214
Apprentice
Apprentice
User avatar
Posts: 159
Joined: Sun Aug 15, 2004 12:08 pm
Location: Cologne / Germany

Can't kill rsync

  • Quote

Post by Jogie214 » Sun Mar 11, 2007 12:14 pm

Hello!

I have 10 rsync processes, and I can't kill anyone of it, I tried kill -9, -15 (to be honest I tried every signal form -1 to -15), is there anything else I can do? I know, I can reboot, but then all my friends who tell me ubuntu is more stable would be right, and I don't like that idea.... 8O 8O .

Thanks
Seb
Desktop: Ryzen7 1700x / x370 / Radeon RX 550 / Gentoo amd64
Top
iphands
n00b
n00b
Posts: 61
Joined: Sat Oct 01, 2005 3:46 am

  • Quote

Post by iphands » Sun Mar 11, 2007 4:31 pm

what about killall

Code: Select all

killall -9 rsync
should kill all processes with that name...

Why 9? If you don't mind my asking.
Top
Jogie214
Apprentice
Apprentice
User avatar
Posts: 159
Joined: Sun Aug 15, 2004 12:08 pm
Location: Cologne / Germany

  • Quote

Post by Jogie214 » Sun Mar 11, 2007 10:11 pm

Hi!

Sorry, I forgot to mention it, that I also tried killall and kill .. $(pidof rsync).
To be honest I'm not able to explain why -9, I always used -9 or -15....
BTW, the rsync processes still occupy memory, they are no zombie processes.

Seb
Desktop: Ryzen7 1700x / x370 / Radeon RX 550 / Gentoo amd64
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Sun Mar 11, 2007 11:34 pm

Please post the output of ps auxwwwww | grep rsync and for a in $(pgrep rsync); do /usr/sbin/lsof -p $a; done. ps is part of sys-process/procps; lsof is from sys-process/lsof. I suspect the rsync is in a device wait state, since that is the only way to survive a SIGKILL. Note that -9 is short for -KILL, which sends SIGKILL, a non-blockable fatal signal. Processes which receive a SIGKILL are immediately terminated and cannot execute any cleanup code. However, if a process is in a device wait state, the kernel may defer handling the kill until the device wait is completed.
Top
iphands
n00b
n00b
Posts: 61
Joined: Sat Oct 01, 2005 3:46 am

  • Quote

Post by iphands » Sun Mar 11, 2007 11:36 pm

Jogie214 wrote:Hi!

Sorry, I forgot to mention it, that I also tried killall and kill .. $(pidof rsync).
To be honest I'm not able to explain why -9, I always used -9 or -15....
BTW, the rsync processes still occupy memory, they are no zombie processes.

Seb
Weird...
Oh no -9 is kill (really kill) without waiting for the process to close up or do any clean up. Its kinda like pulling the power on a process.
I meant why 10 (the number of rsync processes) how did they get there. I am at a loss as to why they aren't getting killed properly.
Top
Captain Newbie
Apprentice
Apprentice
User avatar
Posts: 182
Joined: Fri Dec 22, 2006 2:10 am
Location: Socal

  • Quote

Post by Captain Newbie » Mon Mar 12, 2007 12:00 am

iphands wrote:
Jogie214 wrote:Hi!

Sorry, I forgot to mention it, that I also tried killall and kill .. $(pidof rsync).
To be honest I'm not able to explain why -9, I always used -9 or -15....
BTW, the rsync processes still occupy memory, they are no zombie processes.

Seb
Weird...
Oh no -9 is kill (really kill) without waiting for the process to close up or do any clean up. Its kinda like pulling the power on a process.
I meant why 10 (the number of rsync processes) how did they get there. I am at a loss as to why they aren't getting killed properly.
KILL's not supposed to be caught or ignored like that (obviously)...let's see that output Hu asked for.
/* Nobody will ever see this message :-) */
panic("Cannot initialize video hardware\n");
"As much as it pains me, we hope that developers know what they're doing." - wolf31o2
Top
Jogie214
Apprentice
Apprentice
User avatar
Posts: 159
Joined: Sun Aug 15, 2004 12:08 pm
Location: Cologne / Germany

  • Quote

Post by Jogie214 » Mon Mar 12, 2007 11:30 am

Thanks everybody!

But I had to reboot in the mean time, because I needed to emerge iverilog (I need it for my diploma work), and I wasn't able to emerge anything, apparently my portage got corrupted (only God knows how), I wasn't even able to delete or move portage until I rebooted, know I'm able to sync again...
Checkfs hasn't found any errors on /usr/portage/ during the reboot, so some of the portage files must have been looked.
BTW, I erased my whole /usr/portage (previously xfs) and use ext4dev from now one, ext4 is much faster with this huge number of small files.

Thanks again
Seb

P.S.: Sorry for my bad english
Desktop: Ryzen7 1700x / x370 / Radeon RX 550 / Gentoo amd64
Top
Stephen_Cataldo
n00b
n00b
Posts: 1
Joined: Tue May 08, 2012 10:48 pm
Contact:
Contact Stephen_Cataldo
Website

piped through ssh?

  • Quote

Post by Stephen_Cataldo » Tue May 08, 2012 10:58 pm

I had processes like these, with rsync running over ssh:
m2tech 25467 0.4 -0.2 29876 3156 ?? S Sat12AM 19:30.32 ssh -l svpadmin example.org rsync --server ...
m2tech 524 0.4 -0.1 29544 1756 ?? S Wed12AM 51:46.28 rsync -verbose -iavHz --progress --numeric-ids -e ssh ...

killall -9 rsync
did NOT work for me, but this did:
killall -9 ssh
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic