Kill Daemon dirty,add rpc command to cleanly shutdown daemon

Feature requests not specific to either the Mac OS X or GTK+ versions of Transmission
Post Reply
starmoon
Posts: 11
Joined: Wed Oct 27, 2010 5:35 pm

Kill Daemon dirty,add rpc command to cleanly shutdown daemon

Post by starmoon »

kill -TERM <daemon's pid> shutdown normally. but sometimes cause some unfinished torrents to force verify.

It may caused by some uncleanly shutdown and/or data sync mismatch. this problem occurs from 2.01 to 2.11 (i only use these versions).

another suggetion is add shutdown command to rpc command list. make possiable remote shutdown daemon.
killemov
Posts: 573
Joined: Sat Jul 31, 2010 5:04 pm

Re: Kill Daemon dirty,add rpc command to cleanly shutdown da

Post by killemov »

Yes, +1 on transmission-remote --shutdown
Rolcol
Posts: 337
Joined: Sun Aug 10, 2008 8:00 am

Re: Kill Daemon dirty,add rpc command to cleanly shutdown da

Post by Rolcol »

Are you sure that the torrents that are verifying were not added as magnet links? Those have to verify next time they launch to check for any existing data. It's somewhat of a bug but it doesn't check if the data even exists when the metadata is downloaded.
gunzip
Posts: 272
Joined: Wed May 05, 2010 2:12 am

Re: Kill Daemon dirty,add rpc command to cleanly shutdown da

Post by gunzip »

starmoon wrote:kill -TERM <daemon's pid> shutdown normally. but sometimes cause some unfinished torrents to force verify.
i've found that if you do a

transmission-remote -t all --stop

right before the "kill -TERM <transmission-daemon's pid>" command you can avoid unexpected force verifies. at least that's my experience. it just gives the daemon a chance to update the torrents status and control files before killing it, as opposed to killing it when an unfinished torrent is actively downloading pieces.
Post Reply