Kizilkum Posted June 25, 2016 Share #201 Posted June 25, 2016 памяти действительно кушает больше, но у меня выше 350 метров не зафиксировано. мне это непринципиально, у меня 8 гиг стоит в остальном вроде все работает хорошо Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 25, 2016 Share #202 Posted June 25, 2016 1. Большой жор памяти (значение RAM в контейнере). У менея значение доходило до 700 МБ. Причем увеличивается с количеством переключяемых каналов. Т.е. 20 раз переключил каналы - использование памяти увеличилось в 2 раза. Такое впечатление, что при запуске нового канала, старый не выгружается. В старой сборке значение используемой памяти стабильно - примерно до 120 Мб памяти действительно кушает больше, но у меня выше 350 метров не зафиксировано. по памяти я другого и не ожидал услышать и это так и есть потаму как я намеренно выставил настройки в запуске движка когда кеш пишеться не на диск а на память это выставляется в конфиге supervisord.conf: [program:acestream] command=acestreamengine --client-console --log-file /dev/null --core-sandbox-max-peers 10 --live-buffer 5000 --live-cache-type memory directory = /home/tv/ вот мануал acestream по этому поводу http://wiki.acestream.org/wiki/index.php/AceStream_3.0 Новые параметры для настройки кеша --live-cache-type (string) - тип кеша: disk - хранить кеш на диске в папке, указанной параметром --cache-dir, memory - хранить кеш в оперативной памяти (по умолчанию: disk) --live-cache-size (integer) - максимальный размер кеша в байтах (по умолчанию: 209715200 байт (200 Мб)) можете просто убрать эту команду --live-cache-type memory и кеш будет сыпать по умолчанию на диск в папку /root/.ACEStream/.acestream_cache а теперь вопрос, как быстрее будет обрабатывать запросы с диском или рам? решайте и пробуйте сами у меня допустим съедает память при 3 клиентах и два из которых тянут один и тот же канал составляет где то грубо 600мб. впрочем вот сами посмотрите вообще по памяти для меня 600-800мб не вопрос так как стоит 8 гигов и собственно для чего я их брал, пусть железо отрабатывает свою задачу ну и конечно если прокся реально будет быстрее с кешем в память то это для меня важнее чем сами планки рама кстати на адроид девайсах все стараются выставить кеш в память Сильная загрузка сети при старте канала и буферизации. На HD каналах до 10 МБ/с, при этом долго не снижается, после чего канал или зависает или вылетает по видео у меня не больше 4 МБ/с, хотя и 10 МБ/с для HD каналов тоже бывает если вы конечно с Мбитами не путаете ещё один момент по движку Оптимизизация распределения трафика Начиная с версии 3.0.5 узлы поддержки умеют автоматически находить пиров с хорошей скоростью отдачи и подсоединять их к себе. Данный алгоритм позволяет оптимизировать распределение трафика. Во время подключения таких пиров общее кол-во подсоединенных пиров может превысить значение --max-peers. Максимальное кол-во пиров сверх значения --max-peers задается опцией --core-sandbox-max-peers (по умолчанию 5). Если задать --core-sandbox-max-peers равным нулю, то алгоритм оптимизации распределения трафика будет отключен, поэтому делать это крайне не рекомендуется. это значит что не неполхо бы обновить движок, актуально в контейнере стоит version: 3.0.3 revision: 1355 --core-sandbox-max-peers стоит значение 10 так что тоже можно поигратся Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 26, 2016 Share #203 Posted June 26, 2016 обновил VLC до v2.2.1 Install / Upgrade to VLC 2.2.0 in Ubuntu 14.04: root@aceproxyL:/#apt-get remove vlc-nox vlc-plugin-* root@aceproxyL:/#apt-get remove libav-tools root@aceproxyL:/#apt-get remove libavcodec-extra-54 libavdevice-extra-53 libavformat-extra-54 libavutil-extra-52 libswscale-extra-2 root@aceproxyL:/# cd tmp root@aceproxyL:/tmp#add-apt-repository ppa:mc3man/trusty-media root@aceproxyL:/tmp#apt-get update root@aceproxyL:/tmp#apt-get dist-upgrade root@aceproxyL:/tmp#apt-get install -y vlc-nox vlc-plugin-* дополнительно root@aceproxyL:/tmp#apt-get install -y libav-tools root@aceproxyL:/tmp#apt-get install -y libavcodec-extra-54 libavdevice-extra-53 libavformat-extra-54 libavutil-extra-52 libswscale-extra-2 касательно настроек значений VLC Для того чтобы запускать с VLC надо в стандартном aceconfig поменять всего 4 значения httpport=8081 vlcuse=True vlcspawn=True vlcoutport=8082 достаточно поменять только всего одно значение vlcuse=True и в логах увидите vlcclient.py:147 VlcClient_startBroadcast| Broadcast started acehttp.py:327 handleRequest| VLC url http://127.0.0.1:8081/4b657352a151e0c73 ... 2f2a6d6480 172.17.42.1 - - [26/Jun/2016 22:52:09] "GET /torrenttv/channel/TV1000%20Premium%20HD.mp4 HTTP/1.1" 200 - [spoiler=Using VLC VLC media player 2.2.1 Terry Pratchett (Weatherwax)] 26.06 22:48:47 DEBUG Dummy-1 acehttp.py:603 INIT| Plugin loaded: Stat 26.06 22:48:47 DEBUG Dummy-1 acehttp.py:603 INIT| Plugin loaded: Torrenttv 26.06 22:48:47 DEBUG Dummy-1 acehttp.py:603 INIT| Plugin loaded: Ytv 26.06 22:48:47 DEBUG Dummy-1 acehttp.py:603 INIT| Plugin loaded: Allfon 26.06 22:48:47 DEBUG Dummy-1 acehttp.py:603 INIT| Plugin loaded: P2pproxy 26.06 22:48:47 DEBUG Dummy-1 acehttp.py:603 INIT| Plugin loaded: Torrenttelik 26.06 22:48:47 DEBUG Dummy-1 vlcclient.py:57 VlcClient_init| Successfully connected with VLC socket! 26.06 22:48:47 INFO Dummy-2 vlcclient.py:201 VlcClient_recvData| Authentication successful 26.06 22:48:47 INFO Dummy-1 acehttp.py:862 HTTP| Using gevent 1.0 26.06 22:48:47 INFO Dummy-1 acehttp.py:863 HTTP| Using psutil 1.2.1 26.06 22:48:47 INFO Dummy-1 acehttp.py:865 HTTP| Using VLC VLC media player 2.2.1 Terry Pratchett (Weatherwax) 26.06 22:48:47 INFO Dummy-1 acehttp.py:866 HTTP| Server started. 26.06 22:49:07 INFO Thread-3 acehttp.py:193 do_GET| Accepted connection from 172.17.42.1 path /torrenttv/playlist.m3u 26.06 22:49:07 DEBUG Thread-3 torrenttv_plugin.py:47 plugin_torrenttv| Trying to download playlist 26.06 22:49:09 DEBUG Thread-3 torrenttv_api.py:69 TTV API| Creating new session 26.06 22:49:09 DEBUG Thread-3 torrenttv_api.py:75 TTV API| New session created: xtBjHbyAAIzIbOUYVIp90u9E 26.06 22:49:09 DEBUG Thread-3 torrenttv_api.py:255 TTV API| http://1ttvapi.top/v3/translation_list.php?session=xtBjHbyAAIzIbOUYVIp90u9E&typeresult=xml&type=all 26.06 22:49:10 DEBUG Thread-3 torrenttv_plugin.py:91 plugin_torrenttv| Logos updated 172.17.42.1 - - [26/Jun/2016 22:49:10] "GET /torrenttv/playlist.m3u HTTP/1.1" 200 - 26.06 22:49:10 INFO Thread-4 acehttp.py:193 do_GET| Accepted connection from 172.17.42.1 path /torrenttv/channel/1%2B1.mp4 26.06 22:49:10 DEBUG Thread-4 acehttp.py:222 handleRequest| Headers: Host: 192.168.178.36:9900 User-Agent: VLC/2.2.4 LibVLC/2.2.4 Range: bytes=0- Connection: close Icy-MetaData: 1 Quote Link to comment Share on other sites More sharing options...
Syncos Posted June 29, 2016 Share #204 Posted June 29, 2016 Bob the Builder, Пытался запустить вашу обновленную сборку Update v2 отсюда http://sybdata.com/nas-builder/aceproxydocker-setup/ Не запускается. Сообщение из журнала: aceproxyLv2 date stream content 2016-06-29 10:19:10 stdout *** Killing all processes... 2016-06-29 10:19:10 stdout 2016-06-29 10:19:10 stdout *** /etc/my_init.d/start.sh failed with status 2 2016-06-29 10:19:10 stdout For help, use /usr/bin/supervisord -h 2016-06-29 10:19:10 stdout Error: The directory named as part of the path /var/log/supervisor/supervisord.log does not exist. 2016-06-29 10:19:10 stdout 'Supervisord is running as root and it is searching ' 2016-06-29 10:19:10 stdout /usr/lib/python2.7/dist-packages/supervisor/options.py:295: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security. 2016-06-29 10:19:10 stdout *** Running /etc/my_init.d/start.sh... 2016-06-29 10:19:10 stdout *** Running /etc/my_init.d/00_regen_ssh_host_keys.sh... Пожалуйста, помогите Спасибо Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 29, 2016 Share #205 Posted June 29, 2016 Error: The directory named as part of the path /var/log/supervisor/supervisord.log does not exist. выключите контейнер и редактируйте путь где монтируется папка с логами или уберите монтирование вообще пока допустим это мой путь /share/aceproxy/_log но у вас его естестенно ещё нет и тем более папок таких нет /share/aceproxy/_log >> /var/log P.S. сейчас смотрю эту сборку на debiane https://hub.docker.com/r/sergelevin/acestream-debproxy, работает только обновить не много саму проксю, интересно попробовать Quote Link to comment Share on other sites More sharing options...
Syncos Posted June 29, 2016 Share #206 Posted June 29, 2016 Спасибо! Запустился Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted June 29, 2016 Share #207 Posted June 29, 2016 Спасибо! Запустился и? где отзыв? надо ли переходить? Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 29, 2016 Share #208 Posted June 29, 2016 (edited) на дебиане сделал точнее обновил эту сборку https://hub.docker.com/r/sergelevin/acestream-debproxy обновил до 8 (jessie), ядро с 3.2.0-4-amd64 стабле до 3.16.0-4-amd64 тоже стабле, на новых 4.ххх ядрах движок не идёт VLC 2.2.4 , psutil 4.2.0, gevent 1.1.1 root@aceproxyLD:/# acestreamengine --version version: 3.0.5.1 revision: 1415 root@aceproxyLD:/# cat /etc/os-release PRETTY_NAME="Debian GNU/Linux 8 (jessie)" NAME="Debian GNU/Linux" VERSION_ID="8" VERSION="8 (jessie)" 29.06 18:19:10 DEBUG MainThread acehttp.py:603 INIT| Plugin loaded: Allfon 29.06 18:19:10 DEBUG MainThread acehttp.py:603 INIT| Plugin loaded: P2pproxy 29.06 18:19:10 DEBUG MainThread acehttp.py:603 INIT| Plugin loaded: Stat 29.06 18:19:10 DEBUG MainThread acehttp.py:603 INIT| Plugin loaded: Torrenttelik 29.06 18:19:10 DEBUG MainThread acehttp.py:603 INIT| Plugin loaded: Torrenttv 29.06 18:19:10 DEBUG MainThread vlcclient.py:57 VlcClient_init| Successfully connected with VLC socket! 29.06 18:19:10 INFO DummyThread-1 vlcclient.py:201 VlcClient_recvData| Authentication successful 29.06 18:19:10 INFO MainThread acehttp.py:862 HTTP| Using gevent 1.1.1 29.06 18:19:10 INFO MainThread acehttp.py:863 HTTP| Using psutil 4.2.0 29.06 18:19:10 INFO MainThread acehttp.py:865 HTTP| Using VLC VLC media player 2.2.4 Weatherwax 29.06 18:19:10 INFO MainThread acehttp.py:866 HTTP| Server started. по памяти небольшой позитив если мне не чудится, но меньше кушает на вскидку, надо по больше по гонять Edited June 29, 2016 by Guest Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 29, 2016 Share #209 Posted June 29, 2016 [spoiler=нагрузка 4 клиента тянут 1 канал] [spoiler=нагрузка сеть, всё это крутится в двойной виртуалке w10>>Workstation>>>esxi] Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted June 29, 2016 Share #210 Posted June 29, 2016 Спасибо! Запустился а у меня v2 не ставится. Fail to import images: Untar exit status 1: xz: (stdin): Compressed data is corrupt Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 30, 2016 Share #211 Posted June 30, 2016 Compressed data is corrupt попробуйте ещё раз файл перекачать, где-то по "дороге" пару битов потерялось Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted June 30, 2016 Share #212 Posted June 30, 2016 перекачал 2 раза, разными компами попробую еще раз скачать, из другой сети Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted June 30, 2016 Share #213 Posted June 30, 2016 (edited) del Edited June 30, 2016 by Guest Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted June 30, 2016 Share #214 Posted June 30, 2016 (edited) у меня по прежнему состояние: экспортируется как остановить экспорт и удалить контейнер? поскольку находится с экспорте удалить не получается скачал версию 2 другим браузером, все запустилось Edited June 30, 2016 by Guest Quote Link to comment Share on other sites More sharing options...
elnik06 Posted June 30, 2016 Share #215 Posted June 30, 2016 Bob the Builder здравствуйте. Спасибо за Вашу работу, контейнер установился и работает. Разрешите вопрос- как можно увеличить скорость переключения каналов? Просто большая разница как каналы переключаются при просмотре в серверном прокси и в локальном. Одной и той же программой смотрю на Dune-303D. Что может влиять на это? Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 30, 2016 Share #216 Posted June 30, 2016 как можно увеличить скорость переключения каналов? поставте вместо vlcuse=True vlcuse=False у меня на переключение уходит одна секунда [spoiler=1 sek. движок 17:15:30-17:15:31] 2016-06-30 17:07:07,016|Timer-Thread-93|acestream.BGInstanceConnection|send STATE 2 2016-06-30 17:15:30,328|BGTaskQueueThread-1|acestream.coreapp|got command: STOP 2016-06-30 17:15:30,328|BGTaskQueueThread-1|acestream.BGInstanceConnection|send STATE 0 2016-06-30 17:15:30,330|BGTaskQueueThread-1|acestream.BGInstanceConnection|cleanup_playback 2016-06-30 17:15:30,474|BGTaskQueueThread-1|acestream.coreapp|got command: START PID 5d08c3adb86c5d914629557011a79b5810d8017a 0 2016-06-30 17:15:30,482|BGTaskQueueThread-1|acestream.BGInstanceConnection|send STATE 1 2016-06-30 17:15:30,483|BGTaskQueueThread-1|acestream.coreapp|start_download_wrapper: dlfile=Первый музыкальный HD fileindex=0 2016-06-30 17:15:30,487|BGTaskQueueThread-1|acestream.coreapp|start_download_wrapper: starting new download 2016-06-30 17:15:30,589|BGTaskQueueThread-1|acestream.coreapp|start_download: starting new download: infohash=d3257ac8bde312e50bbcf863928f15617ef75fb4 initialdlstatus=None 2016-06-30 17:15:30,591|AceStreamCoreThread|acestream.Live.Storage|__init__: use_disk=0 mem_size=104857600(min=52428800) disk_size=0 dir=/root/.ACEStream/.acestream_cache piecelen=262144 chunklen=16384 chunks_per_piece=16 delete_pieces_before_playback=0 2016-06-30 17:15:30,936|AceStreamCoreThread|acestream.VOD|hook_in: want=34247699 hook=34251563 2016-06-30 17:15:31,673|Timer-Thread-115|acestream.BGInstanceConnection|start_playback: telling plugin to start playback: is_ad=0 is_interruptable_ad=0 is_live=1 url=http://127.0.0.1:6878/content/d3257ac8bde312e50bbcf863928f15617ef75fb4/0.853926997036 click_url=None skip_offset=None volume=None no_ad_text=None ad_info_text=None media_params=None 2016-06-30 17:15:31,674|Timer-Thread-115|acestream.BGInstanceConnection|start_playback: send cmd START http://127.0.0.1:6878/content/d3257ac8bde312e50bbcf863928f15617ef75fb4/0.853926997036 stream=1 2016-06-30 17:15:31,677|Timer-Thread-115|acestream.BGInstanceConnection|send STATE 2 [spoiler=1 sek. acehttp прокся 17:15:30-17:15:31]30.06 17:07:07 DEBUG Dummy-4 aceclient.py:416 AceClient_recvdata| STATUS changed to main:dl 30.06 17:15:30 DEBUG Dummy-12 acehttp.py:153 http_hangDetector| Client disconnected 30.06 17:15:30 DEBUG Thread-10 aceclient.py:281 StreamReader| Video stream closed 30.06 17:15:30 DEBUG Thread-10 aceclient.py:126 AceClient_write| STOP 30.06 17:15:30 DEBUG Dummy-4 aceclient.py:416 AceClient_recvdata| STATUS changed to main:idle 30.06 17:15:30 DEBUG Thread-10 acehttp.py:392 handleRequest| END REQUEST 30.06 17:15:30 INFO Thread-13 acehttp.py:193 do_GET| Accepted connection from 172.17.42.1 path /torrenttv/channel/%D0%9F%D0%B5%D1%80%D0%B2%D1%8B%D0%B9%20%D0%BC%D1%83%D0%B7%D1%8B%D0%BA%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9%20HD.mp4 30.06 17:15:30 DEBUG Thread-13 acehttp.py:222 handleRequest| Headers: Host: 192.168.178.27:9600 User-Agent: VLC/2.2.4 LibVLC/2.2.4 Range: bytes=0- Connection: close Icy-MetaData: 1 30.06 17:15:30 DEBUG Thread-13 acehttp.py:272 handleRequest| CID: 5d08c3adb86c5d914629557011a79b5810d8017a 30.06 17:15:30 DEBUG Thread-13 aceclient.py:126 AceClient_write| START PID 5d08c3adb86c5d914629557011a79b5810d8017a 0 30.06 17:15:30 DEBUG Thread-13 acehttp.py:290 handleRequest| START done 30.06 17:15:30 DEBUG Dummy-4 aceclient.py:416 AceClient_recvdata| STATUS changed to main:starting 30.06 17:15:30 DEBUG Dummy-4 aceclient.py:416 AceClient_recvdata| STATUS changed to main:prebuf 30.06 17:15:31 DEBUG Thread-13 acehttp.py:299 handleRequest| Got url http://127.0.0.1:6878/content/d3257ac8b ... 3926997036 30.06 17:15:31 DEBUG Thread-13 acehttp.py:320 handleRequest| hangDetector spawned 30.06 17:15:31 DEBUG Dummy-14 aceclient.py:215 StreamReader| Opening video stream: http://127.0.0.1:6878/content/d3257ac8b ... 3926997036 172.17.42.1 - - [30/Jun/2016 17:15:31] "GET /torrenttv/channel/%D0%9F%D0%B5%D1%80%D0%B2%D1%8B%D0%B9%20%D0%BC%D1%83%D0%B7%D1%8B%D0%BA%D0%B0%D0%BB%D1%8C%D0%BD%D1%8B%D0%B9%20HD.mp4 HTTP/1.1" 200 - 30.06 17:15:31 DEBUG Dummy-4 aceclient.py:416 AceClient_recvdata| STATUS changed to main:dl Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted June 30, 2016 Share #217 Posted June 30, 2016 поставте вместо vlcuse=True vlcuse=False немного подробнее можете пояснить? Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted June 30, 2016 Share #218 Posted June 30, 2016 в настройках aceconfig.py # ---------------------------------------------------- # VLC configuration # ---------------------------------------------------- # # Use VideoLAN VLC Media Player # I strongly recommend to use VLC, because it lags a lot without it # And multiple clients can't watch one stream without it. # That's Ace Stream Engine fault. # To use this, you should install VLC first # And run it with: # vlc -I telnet --clock-jitter 0 --network-caching 500 --telnet-pass admin vlcuse = False # Use AceStream player that comes with engine # If true than proxy will detect a path to ace_player.exe and ace_player.exe will be spawned # It also will not check if vlc.exe is running, it will watch over ace_player.exe process # This option applies only for Windows systems # If set to true, you need to edit vlccmd like this: # ace_player.exe -I telnet --clock-jitter -1 --network-caching -1 --sout-mux-caching 2000 --telnet-password admin # to point ace_player.exe, not vlc.exe!!! vlcuseaceplayer = False # Spawn VLC automaticaly vlcspawn = False Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted June 30, 2016 Share #219 Posted June 30, 2016 спасибо! завтра займусь Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted July 1, 2016 Share #220 Posted July 1, 2016 выключите контейнер и редактируйте путь где монтируется папка с логами или уберите монтирование вообще пока допустим это мой путь /share/aceproxy/_log но у вас его естестенно ещё нет и тем более папок таких нет /share/aceproxy/_log >> /var/log никак не соображу, где его редактировать? Quote Link to comment Share on other sites More sharing options...
Syncos Posted July 1, 2016 Share #221 Posted July 1, 2016 никак не соображу, где его редактировать? У меня сборка не запускалась, потому что по на пути /var/log/ не было папки supervisor. Я выключил контейнер, зашел через WinSCP и создал эту папку вручную. После этого все заработало. Если у вас такая же проблема - попробуйте. Но если честно, сборка версия 2 у меня нормально не работает - не стабильные каналы не запускаются, а их у ТТВ очень много. Возможно "виноват" новый движок Ace Stream. Тестировал на Смарт ТВ фирмы LG, возможно на других клиентах будет лучше. Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted July 1, 2016 Share #222 Posted July 1, 2016 (edited) на пути /var/log/ не было папки supervisor. Я выключил контейнер, зашел через WinSCP и создал эту папку вручную... не много те так, куда вы зашли через WinSCP? порядок действий такой, что бы отредактировать проброс/монтирование нужно сначала остановить контейнер иначе не даст это сделать потом выбираем папку на насе которая вам удобна и монтируем её с папкой log как на скрине Edited July 1, 2016 by Guest Quote Link to comment Share on other sites More sharing options...
Syncos Posted July 1, 2016 Share #223 Posted July 1, 2016 [/url] на пути /var/log/ не было папки supervisor. Я выключил контейнер, зашел через WinSCP и создал эту папку вручную... не много те так, куда вы зашли через WinSCP? Сюда Quote Link to comment Share on other sites More sharing options...
Bob the Builder Posted July 1, 2016 Share #224 Posted July 1, 2016 Сюда [spoiler=] так там эта папка уже есть! покажите содержимое папки на насе, сыпят ли туда логи с контейнера? не заходите больше в контейнер через WinSCP Quote Link to comment Share on other sites More sharing options...
Kizilkum Posted July 1, 2016 Share #225 Posted July 1, 2016 через WinSCP заходить можно, но очень легко ошибиться в пути. особенно есть контейнеров много поэтому действительно лучше так не делать Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.