Commit Graph

125 Commits (824daed99fa376ed009dc9a221ae5f0cac6859af)

Author SHA1 Message Date
inpos 46ed76b04e Первый комит 2016-03-04 15:48:36 +03:00
DiMartinoXBMC c79c33cb44 Merge pull request #1 from Palatosino/patch-1
Fix process leak
2016-01-29 13:17:11 +03:00
Palatosino 35f474b43e Fix process leak
You are killing a subprocess without check never the result status, so you are leaking zombie processes:

```
osmc@osmc:~$ ps aux | grep http
osmc     19187  0.0  0.0      0     0 ?        ZN   22:35   0:00 [torrent2http] <defunct>
osmc     19205  0.0  0.0      0     0 ?        ZN   22:35   0:01 [torrent2http] <defunct>
osmc     19258  0.0  0.0      0     0 ?        ZN   22:37   0:00 [torrent2http] <defunct>
osmc     19274  1.1  0.0      0     0 ?        ZN   22:37   0:19 [torrent2http] <defunct>
osmc     19347  0.1  0.0      0     0 ?        ZN   22:39   0:01 [torrent2http] <defunct>
osmc     19363  0.0  0.0      0     0 ?        ZN   22:40   0:00 [torrent2http] <defunct>
osmc     19463  0.0  0.0      0     0 ?        ZN   22:43   0:00 [torrent2http] <defunct>
osmc     19482  0.0  0.0      0     0 ?        ZN   22:44   0:00 [torrent2http] <defunct>
osmc     19498  2.1  0.0      0     0 ?        ZN   22:44   0:26 [torrent2http] <defunct>
osmc     19543  0.0  0.0      0     0 ?        ZN   22:45   0:00 [torrent2http] <defunct>
osmc     19559  0.0  0.0      0     0 ?        ZN   22:45   0:00 [torrent2http] <defunct>
osmc     19576  0.0  0.0      0     0 ?        ZN   22:45   0:00 [torrent2http] <defunct>
osmc     19591  2.3  0.0      0     0 ?        ZN   22:45   0:28 [torrent2http] <defunct>
osmc     19642  0.0  0.0      0     0 ?        ZN   22:47   0:00 [torrent2http] <defunct>
osmc     19658  2.1  0.0      0     0 ?        ZN   22:47   0:22 [torrent2http] <defunct>
osmc     19705  2.1  0.0      0     0 ?        ZN   22:49   0:19 [torrent2http] <defunct>

```

With wait() Python reads the termination status and the SO removes the zombie process.
2016-01-29 00:33:26 +01:00
DiMartinoXBMC 91b10341c5 meme fix 2016-01-16 19:29:37 +03:00
DiMartinoXBMC 4f1c8ee7bb android exec fix 2015-12-21 16:33:06 +03:00
DiMartinoXBMC 3495306859 android exec fix 2015-12-21 16:31:27 +03:00
DiMartinoXBMC 7985cab656 rpi (armv6) bin add info 2015-12-20 02:13:27 +03:00
DiMartinoXBMC d39d77ab3a rpi (armv6) bin add 2015-12-20 02:10:57 +03:00
DiMartinoXBMC bf5de38e66 beta fix 2015-12-18 20:41:13 +03:00
DiMartinoXBMC 68409a438e beta 2015-12-18 20:26:14 +03:00
DiMartinoXBMC 90e5948487 beta 2015-12-18 20:25:02 +03:00
DiMartinoXBMC b403371342 test update #3 2015-12-18 20:18:16 +03:00
DiMartinoXBMC 942a55ac13 test update #2 2015-12-18 20:11:31 +03:00
DiMartinoXBMC ffad6b76e4 test update 2015-12-18 19:40:31 +03:00
Anton Argirov 652c756201 Bump version to 0.1.0 2015-10-28 01:06:25 +06:00
Anton Argirov 9f531d1a2c Bump to 0.0.9 2015-08-28 17:07:40 +06:00
Anton Argirov 383649bfb2 Torrent2http binaries updated to 1.0.3 2015-08-25 17:24:49 +06:00
Anton Argirov 550ff5b7b7 Torrent2http binaries updated to 1.0.2 2015-05-08 18:57:31 +06:00
Anton Argirov 56e97e1f46 Updated README.md 2015-02-06 12:59:04 +06:00
Anton Argirov 8c8944b822 Updated README.md 2015-02-02 16:10:01 +06:00
Anton Argirov 7fcf3e20ab Added code comments, better support of unicode path names 2015-01-29 16:34:13 +06:00
Anton Argirov 10d91a1d2d Version bump to 0.0.5 2015-01-16 16:33:17 +06:00
Anton Argirov cf2e371cf8 Support case when torrent2http has accidentally crashed 2015-01-16 16:32:33 +06:00
Anton Argirov 3a0502ffbd Added some mime types for better detection 2015-01-11 11:49:46 +06:00
Anton Argirov 74f247223f Initial commit 2015-01-11 11:47:17 +06:00