[00:08:13] fuzzy is now online
[00:10:24] slav0nic is now offline
[00:10:27] fuzzy is now online
[00:13:25] MaXGGXaM is now away
[00:17:37] MaXGGXaM is now online
[00:20:28] fuzzy is now online
[00:26:00] nuclearworm is now away
[00:26:02] nuclearworm is now online
[00:31:13] fuzzy is now online
[00:32:36] gigimon is now online
[00:32:40] gigimon is now online
[00:47:50] fuzzy is now online
[00:56:14] fuzzy is now online
[01:11:43] gigimon is now offline
[01:38:38] nuclearworm is now away
[01:38:40] nuclearworm is now away
[01:54:21] fuzzy is now away
[01:54:22] fuzzy is now away
[02:24:33] : Используемый вами псевдоним не зарегистрирован
[02:24:33] MaXGGXaM is now online
[02:24:33] nuclearworm is now away
[02:24:33] madmercen is now xa
[02:24:33] fuzzy is now away
[02:24:33] AlexZenon is now xa
[02:24:33] magic_pony is now online
[02:54:43] : Используемый вами псевдоним не зарегистрирован
[02:54:43] MaXGGXaM is now online
[02:54:43] nuclearworm is now away
[02:54:43] madmercen is now xa
[02:54:43] fuzzy is now away
[02:54:43] AlexZenon is now xa
[02:54:43] magic_pony is now online
[03:01:05] MaXGGXaM is now away
[03:02:34] MaXGGXaM is now online
[03:24:54] remo is now away
[03:42:05] MaXGGXaM is now away
[03:52:05] MaXGGXaM is now xa
[04:04:06] remo is now offline
[04:34:20] : Используемый вами псевдоним не зарегистрирован
[04:34:20] MaXGGXaM is now xa
[04:34:20] nuclearworm is now away
[04:34:20] madmercen is now xa
[04:34:20] fuzzy is now away
[04:34:20] AlexZenon is now xa
[04:34:20] magic_pony is now online
[05:04:29] : Используемый вами псевдоним не зарегистрирован
[05:04:29] MaXGGXaM is now xa
[05:04:29] nuclearworm is now away
[05:04:29] madmercen is now xa
[05:04:29] fuzzy is now away
[05:04:29] AlexZenon is now xa
[05:04:29] magic_pony is now online
[05:34:40] : Используемый вами псевдоним не зарегистрирован
[05:34:40] MaXGGXaM is now xa
[05:34:40] nuclearworm is now away
[05:34:40] madmercen is now xa
[05:34:40] fuzzy is now away
[05:34:40] AlexZenon is now xa
[05:34:40] magic_pony is now online
[05:37:25] fuzzy is now away
[06:07:33] : Используемый вами псевдоним не зарегистрирован
[06:07:33] MaXGGXaM is now xa
[06:07:33] nuclearworm is now away
[06:07:33] madmercen is now xa
[06:07:33] fuzzy is now away
[06:07:33] AlexZenon is now xa
[06:07:33] magic_pony is now online
[06:37:43] : Используемый вами псевдоним не зарегистрирован
[06:37:43] MaXGGXaM is now xa
[06:37:43] nuclearworm is now away
[06:37:43] madmercen is now xa
[06:37:43] fuzzy is now away
[06:37:43] AlexZenon is now xa
[06:37:43] magic_pony is now online
[07:04:12] MaXGGXaM is now online
[07:20:36] MaXGGXaM is now away
[07:30:36] MaXGGXaM is now xa
[08:00:47] : Используемый вами псевдоним не зарегистрирован
[08:00:47] MaXGGXaM is now xa
[08:00:47] nuclearworm is now away
[08:00:47] madmercen is now xa
[08:00:47] fuzzy is now away
[08:00:47] AlexZenon is now xa
[08:00:47] magic_pony is now online
[08:31:02] : Используемый вами псевдоним не зарегистрирован
[08:31:02] MaXGGXaM is now xa
[08:31:02] nuclearworm is now away
[08:31:02] madmercen is now xa
[08:31:02] fuzzy is now away
[08:31:02] AlexZenon is now xa
[08:31:02] magic_pony is now online
[09:01:10] : Используемый вами псевдоним не зарегистрирован
[09:01:10] MaXGGXaM is now xa
[09:01:10] nuclearworm is now away
[09:01:10] madmercen is now xa
[09:01:10] fuzzy is now away
[09:01:10] AlexZenon is now xa
[09:01:10] magic_pony is now online
[09:18:47] nuclearworm is now away
[09:18:48] nuclearworm is now online
[09:48:53] : Используемый вами псевдоним не зарегистрирован
[09:48:53] MaXGGXaM is now xa
[09:48:53] nuclearworm is now online
[09:48:53] madmercen is now xa
[09:48:53] fuzzy is now away
[09:48:53] AlexZenon is now xa
[09:48:53] magic_pony is now online
[10:19:05] : Используемый вами псевдоним не зарегистрирован
[10:19:05] MaXGGXaM is now xa
[10:19:05] nuclearworm is now online
[10:19:05] madmercen is now xa
[10:19:05] fuzzy is now away
[10:19:05] AlexZenon is now xa
[10:19:05] magic_pony is now online
[10:49:15] : Используемый вами псевдоним не зарегистрирован
[10:49:15] MaXGGXaM is now xa
[10:49:15] nuclearworm is now online
[10:49:15] madmercen is now xa
[10:49:15] fuzzy is now away
[10:49:15] AlexZenon is now xa
[10:49:15] magic_pony is now online
[11:09:08] nuclearworm is now away
[11:09:10] nuclearworm is now away
[11:20:46] AlexZenon is now offline
[11:20:59] fuzzy is now away
[11:21:01] fuzzy is now online
[11:27:55] fuzzy is now offline
[11:32:46] levsha is now online
[11:33:56] gigimon is now online
[11:35:47] nuclearworm is now away
[11:35:49] nuclearworm is now online
[11:36:59] nuclearworm is now offline
[11:51:30] fuzzy is now online
[11:57:49] fuzzy is now away
[12:00:34] fuzzy is now online
[12:13:14] gigimon is now online
[12:18:24] gigimon is now away
[12:18:28] levsha is now offline
[12:21:07] levsha is now online
[12:32:08] nuclearworm is now online
[12:32:24] fuzzy is now away
[12:40:31] fuzzy is now online
[12:40:58] AlexZenon is now online
[13:01:07] gigimon is now online
[13:13:23] levsha is now offline
[13:39:41] levsha is now online
[14:09:46] : Используемый вами псевдоним не зарегистрирован
[14:09:46] nuclearworm is now online
[14:09:46] MaXGGXaM is now xa
[14:09:46] madmercen is now xa
[14:09:46] levsha is now online
[14:09:46] fuzzy is now online
[14:09:46] gigimon is now online
[14:09:46] AlexZenon is now online
[14:09:46] magic_pony is now online
[14:34:19] slav0nic is now online
[14:41:32] nuclearworm is now away
[14:41:33] nuclearworm is now away
[15:07:50] nuclearworm is now away
[15:07:52] nuclearworm is now online
[15:25:43] slav0nic is now offline
[15:55:51] : Используемый вами псевдоним не зарегистрирован
[15:55:51] nuclearworm is now online
[15:55:51] MaXGGXaM is now xa
[15:55:51] madmercen is now xa
[15:55:51] levsha is now online
[15:55:51] fuzzy is now online
[15:55:51] gigimon is now online
[15:55:51] AlexZenon is now online
[15:55:51] magic_pony is now online
[16:09:31] levsha is now offline
[16:11:47] levsha is now online
[16:23:16] fuzzy is now away
[16:29:50] gigimon is now offline
[16:31:20] blw0rm is now online
[16:33:16] fuzzy is now away
[16:33:20] fuzzy is now away
[16:33:52] fuzzy is now away
[16:45:21] levsha is now offline
[16:47:44] levsha is now online
[16:48:26] fuzzy is now away
[16:48:29] fuzzy is now online
[16:49:08] slav0nic is now online
[16:52:41] fuzzy is now away
[16:54:30] fuzzy is now online
[17:16:16] MaXGGXaM is now online
[17:37:14] remo is now away
[17:55:08] levsha is now offline
[17:59:54] remo: есть некоторый демон, в котором на каждый job выделяется процесс. Внутри job'a выполняются действия в тредах
[18:00:24] remo: запустил демон, на следующий день смотрю командой ps -eo nlwp | tail -n +2 | awk '{ num_threads += $1 } END { print num_threads }' и вижу, что в системе 6400 тредов
[18:00:38] remo: останавливаю демон, в системе становится 1100 тредов
[18:00:52] remo: запускаю демон - становится 1261 тред
[18:01:19] remo: получается, кол-во тредов растет за ночь с 1261 до 6400
[18:02:01] levsha is now online
[18:02:39] levsha is now offline
[18:03:16] fuzzy is now offline
[18:04:02] fuzzy is now online
[18:07:16] slav0nic is now away
[18:07:36] slav0nic is now online
[18:14:05] remo: попробую в цикле в finally поставить pool.terminate()
[18:16:36] fuzzy: у тебя сразу несколько проблем
[18:16:46] fuzzy: во-первых, джобы не заканчиваются
[18:16:56] fuzzy: т.к. если бы заканчивались, то тред бы убивался
[18:17:06] fuzzy: попробуй сделать джобы, которые заканчиваются
[18:17:15] fuzzy: во-вторых, у тебя неограниченное количство тредов
[18:17:17] fuzzy: или процессов?
[18:17:30] fuzzy: создавать новый тред/процесс на каждую задачу - антипатерн
[18:17:48] fuzzy: если у тебя уже есть пул - используй пул с ограниченым макс. количеством потоков/процессов
[18:19:12] fuzzy is now offline
[18:49:19] : Используемый вами псевдоним не зарегистрирован
[18:49:19] blw0rm is now online
[18:49:19] slav0nic is now online
[18:49:19] nuclearworm is now online
[18:49:19] MaXGGXaM is now online
[18:49:19] madmercen is now xa
[18:49:19] remo is now away
[18:49:19] AlexZenon is now online
[18:49:19] magic_pony is now online
[18:55:05] fuzzy is now online
[18:57:20] remo: fuzzy: http://paste.debian.net/hidden/abc28909/
[18:58:15] remo: Вот интересно, pool.wait_completion() ждет завершения всего пула или сразу выполняется и интерпретатор перейдет в finally и выполнит pool.terminate() ?
[18:59:51] fuzzy: очевидно, что wait - ждёт
[19:00:05] fuzzy: хотя и не понятно, что у тебя в ThreadPool() классе
[19:01:40] remo: fuzzy: http://paste.debian.net/767966/
[19:03:44] fuzzy: ну так у тебя же ни один таск не выполняется. наверно?
[19:04:07] fuzzy: ты не обращал внимания?
[19:04:09] levsha is now online
[19:04:36] remo: fuzzy: что ты подразумеваешь под словом ни один таск не выполняется ?
[19:04:43] remo: все треды в пуле выполняются
[19:04:52] fuzzy: треды выполняются
[19:04:55] fuzzy: а таски - не выполняются
[19:05:20] fuzzy: или выполняются?
[19:05:36] remo: fuzzy: выполняются
[19:05:50] remo: pool.add_task работает
[19:06:06] fuzzy: add_task работает
[19:06:11] fuzzy: но таски-то не выполняются?
[19:06:46] fuzzy: потому что у тебя когда создаются воркеры - они сразу же вывалятся на self.tasks.get() т.к. очередь пустая
[19:07:06] fuzzy: и потом ты сделаешь add_task, но тредов, чтобы это выполнить, уже не останется
[19:08:14] levsha is now offline
[19:08:24] blw0rm is now away
[19:08:31] levsha is now online
[19:09:58] MaXGGXaM is now away
[19:10:16] remo: fuzzy: http://paste.debian.net/hidden/fedd93c6/
[19:10:28] fuzzy is now offline
[19:10:29] remo: fuzzy: вот с этого примера я брал основу
[19:19:57] MaXGGXaM is now xa
[19:21:16] fuzzy is now online
[19:21:21] MaXGGXaM is now online
[19:21:57] remo: fuzzy: и там, видимо, всё работает
[19:22:37] nuclearworm is now offline
[19:31:10] blw0rm is now online
[19:31:51] fuzzy: а, get по умолчанию блокируется
[19:51:00] remo is now offline
[19:58:24] levsha is now offline
[19:59:49] MaXGGXaM is now away
[20:00:10] levsha is now online
[20:04:23] MaXGGXaM is now online
[20:31:03] fuzzy is now offline
[20:36:56] levsha is now offline
[20:38:43] levsha is now online
[20:39:25] levsha is now offline
[20:54:24] nuclearworm is now online
[21:04:00] fuzzy is now online
[21:18:23] madmercen is now online
[21:20:19] fuzzy is now offline
[21:20:20] fuzzy is now online
[21:36:52] fuzzy is now offline
[21:36:53] fuzzy is now online
[21:59:59] fuzzy is now offline
[22:11:44] fuzzy is now online
[22:20:57] gigimon is now online
[22:24:40] madmercen is now away
[22:28:50] madmercen is now online
[22:50:06] nuclearworm is now away
[22:50:08] nuclearworm is now away
[22:54:30] nuclearworm is now away
[22:54:32] nuclearworm is now online
[22:55:47] fuzzy is now online
[23:01:14] fuzzy is now online
[23:04:30] levsha is now online
[23:04:34] remo is now away
[23:14:14] levsha is now offline
[23:24:52] madmercen is now away
[23:34:52] madmercen is now xa
[23:41:03] levsha is now online
[23:51:20] madmercen is now online