Мультитрекер (парсер числа внешних пиров)

Мультитрекер (парсер числа внешних пиров) v2.2.1

Protektor

Пользователь
Столкнулся с такой проблемой, при попытке запуска сайт.ру/mult/ann.php Выскакивает такая ошибка "Доступ запрещен для пользователя 'Admin'@'сайт.ру~~HEAD=pobj' (используя пароль: ДА)"
В конфиге логин и пароль админа прописал и все равно не работает. По крону тоже не обновляет, в чем прикол-то?? Помогите!!!
 

Protektor

Пользователь
Вроде разобрался с "мультом" при заходе в тему пиры вручную обновляются, в базу все пишется без проблем. Но ни как не могу заставить по крону работать, смотрел в логах, задача отрабатывает без ошибок, а при попытке запуска сайт.ру/mult/ann.php вылазиет вот такая х...ня
Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219615 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219617 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219621 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219624 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219628 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219632 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219637 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 1 [1] => 1 ) ) [last_update] => 1470219641 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219646 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219650 ) Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 1 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 1 [1] => 2 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219715 )
Warning: mysqli::query() [

Please Login or Register to view hidden text.

]: MySQL server has gone away in C:\OpenServer\domains\torrent3\mult\ann.php on line 22

Warning: mysqli::query() [

Please Login or Register to view hidden text.

]: Error reading result set's header in C:\OpenServer\domains\torrent3\mult\ann.php on line 22
������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219720 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219726 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219729 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219732 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 2 [1] => 1 ) ) [last_update] => 1470219735 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 1 [1] => 1 ) ) [last_update] => 1470219740 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 1 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 1 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 1 [1] => 1 ) ) [last_update] => 1470219745 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219751 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219755 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 1 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 1 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 2 [1] => 1 ) ) [last_update] => 1470219760 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 1 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 1 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219764 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219768 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219772 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219775 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219778 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219782 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219785 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219790 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219794 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219798 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 1 [1] => 1 ) ) [last_update] => 1470219801 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219805 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219809 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219813 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 1 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 1 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219816 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219819 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219823 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 2 [1] => 1 ) ) [last_update] => 1470219826 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219830 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219832 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219836 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => 0 ) [last_update] => 1470219841 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 12 [1] => 2 ) ) [last_update] => 1470219844 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219849 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 1 [1] => 1 ) ) [last_update] => 1470219854 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 1 [1] => 1 ) ) [last_update] => 1470219857 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219861 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219864 ) ������ ��� ���������� �����: MySQL server has gone away Array ( [peers] => Array ( [0] => 0 [1] => Array ( [0] => 0 [1] => 0 ) [2] => 0 [3] => 0 [4] => 0 [5] => 0 [6] => 0 [7] => Array ( [0] => 0 [1] => 0 ) [8] => 0 [9] => 0 [10] => Array ( [0] => 0 [1] => 1 ) ) [last_update] => 1470219868 ) ������ ��� ���������� �����: MySQL server has gone away
как его заставить по крону работать? и с чем связаны эти ошибки?
 

Protektor

Пользователь
dredd
[client]
port=3306
socket=/var/run/mysqld/mysqld.sock

[mysqld_safe]
socket=/var/run/mysqld/mysqld.sock

[mysqld]
user=mysql
pid-file=/var/run/mysqld/mysqld.pid
socket=/var/run/mysqld/mysqld.sock
port=3306
basedir=/usr
datadir=/var/lib/mysql
tmpdir=/tmp
lc-messages-dir=/usr/share/mysql
log_error=/var/log/mysql/error.log

symbolic-links=0

skip-external-locking
key_buffer_size = 256M
max_allowed_packet = 128M
table_open_cache = 512
sort_buffer_size = 16M
read_buffer_size = 64M
read_rnd_buffer_size = 32M
net_buffer_length = 2K
thread_stack = 240K
query_cache_size = 64M
query_cache_limit = 16M
join_buffer_size = 32M
myisam_sort_buffer_size = 64M
tmp_table_size = 64M
max_heap_table_size = 32M
bulk_insert_buffer_size = 16M



#innodb_use_native_aio = 0
innodb_file_per_table

max_connections=500
max_user_connections=500
wait_timeout=60
interactive_timeout=60
long_query_time=5
thread_cache_size=32
table_cache=512

!includedir /etc/mysql/conf.d/
Перенес на сервер теперь еще одна ерунда вылазиет при попытке записи в базу возникает ошибка, если оставить анонсеры с которых пиры не цепляет то ошибки нет. Вообщем получается что ошибка возникает тогда когда пиры есть и мульт их пытается в базу записать
Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/admin/web/free-download.su/public_html/mult/class.getpeers.php on line 116

Warning: fsockopen(): unable to connect to udp://:2710 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/admin/web/free-download.su/public_html/mult/class.getpeers.php on line 116

Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/admin/web/free-download.su/public_html/mult/class.getpeers.php on line 116

Warning: fsockopen(): unable to connect to udp://:2710 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/admin/web/free-download.su/public_html/mult/class.getpeers.php on line 116

Может в конфиге сервера что то включить нужно?
На локалке все работало, кроме обновления по крону.
 

dredd

Пользователь
Protektor по конфигу могу сказать только одно: попробуйте изменить
Код:
wait_timeout=60
interactive_timeout=60
на
Код:
wait_timeout=600
interactive_timeout=600
про ошибки php.. логи пишут, что функция не может соединиться с указанным адресом. Сервер в России? может, аннонсеры к которым идёт подключение заблокированы вот и возникает ошибка
 

Protektor

Пользователь
dredd увеличил до 600, пока результата нет. тут как я понял не в таймаутах дело, дело в том что когда добавляю анонсер вида к примеру udp://opentor.org:2710 то все подвисает, а если добавить

Please Login or Register to view hidden text.

то запрос обрабатывается быстро, но пиров по нулям. На локалке анонсеры все работают, на VDS с такими "udp://" возникает проблема. Сервер в Лондоне.
что функция не может соединиться с указанным адресом
я это тоже увидел но соединиться не получается из за "udp://" как я понимаю.
в логах sql_error_bb.log на ajax.php(581) ругается то есть
находит пиры и не может их в базу записать из за этого подвисает и возникает ошибка (581 строка ) как раз за это и отвечает
DB()->query("UPDATE ".BB_BT_TORRENTS." SET last_update = ".$data['last_update'].", ext_seeder = ".$seed.", ext_leecher = ".$leech." WHERE topic_id = $topic_id");
Просто волшебная фигня получается на OPENSERVER то с горем пополам работает, а на vds нет:banghead::banghead::banghead:
 

dredd

Пользователь
Protektor заставил воркать эту ухню) по крайней мере у меня пиры парсит, кроме одного аннонсера) погуглил по поводу ошибки, она означает, что соединение не удалось) в общем, откройте mult/config.php и замените все переменные $cfg_ann[] на вот эти:
PHP:
$cfg_ann[] = 'udp://tracker.coppersurfer.tk:6969/announce';
$cfg_ann[] = 'udp://tracker.opentrackr.org:1337/announce';
$cfg_ann[] = 'http://tracker.opentrackr.org:1337/announce';
$cfg_ann[] = 'udp://tracker.leechers-paradise.org:6969/announce';
$cfg_ann[] = 'udp://9.rarbg.com:2710/announce';
$cfg_ann[] = 'http://explodie.org:6969/announce';
$cfg_ann[] = 'udp://explodie.org:6969/announce';
$cfg_ann[] = 'udp://p4p.arenabg.com:1337/announce';
$cfg_ann[] = 'http://p4p.arenabg.com:1337/announce';
$cfg_ann[] = 'http://tracker.aletorrenty.pl:2710/announce';
$cfg_ann[] = 'udp://tracker.aletorrenty.pl:2710/announce';
$cfg_ann[] = 'http://tracker1.wasabii.com.tw:6969/announce';
$cfg_ann[] = 'http://tracker.baravik.org:6970/announce';
$cfg_ann[] = 'udp://tracker.piratepublic.com:1337/announce';
$cfg_ann[] = 'http://tracker.tfile.me/announce';
$cfg_ann[] = 'udp://torrent.gresille.org:80/announce';
$cfg_ann[] = 'http://torrent.gresille.org/announce';
$cfg_ann[] = 'udp://tracker.internetwarriors.net:1337/announce';
$cfg_ann[] = 'http://tracker.internetwarriors.net:1337/announce';
$cfg_ann[] = 'udp://mgtracker.org:2710/announce';
соединение по udp:// работает, ибо он ругнулся только на один аннонсер, который был с этим протоколом) здесь, скорее всего проблема устарелых списков аннонсеров была)

P.S. кому интересно, аннонсеры брал отсюда

Please Login or Register to view hidden text.

 
Последнее редактирование:

Protektor

Пользователь
$cfg_ann[] = 'udp://tracker.coppersurfer.tk:6969/announce';
$cfg_ann[] = 'udp://tracker.opentrackr.org:1337/announce';
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = 'udp://tracker.leechers-paradise.org:6969/announce';
$cfg_ann[] = 'udp://9.rarbg.com:2710/announce';
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = 'udp://explodie.org:6969/announce';
$cfg_ann[] = 'udp://p4p.arenabg.com:1337/announce';
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = 'udp://tracker.aletorrenty.pl:2710/announce';
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = 'udp://tracker.piratepublic.com:1337/announce';
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = 'udp://torrent.gresille.org:80/announce';
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = 'udp://tracker.internetwarriors.net:1337/announce';
$cfg_ann[] = '

Please Login or Register to view hidden text.

'
;
$cfg_ann[] = 'udp://mgtracker.org:2710/announce';
сразу ошибка в логах на локалке, пиры не цепляет
#002006 MySQL server has gone away

UPDATE bb_bt_torrents SET last_update = 1470245338, ext_seeder = 5134, ext_leecher = 178 WHERE topic_id = 6034

Source : ajax.php(581) :: db1.torrent3
IP : 127.0.0.1
Date : 2016-08-03 20:28:58
Agent : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Req_URI : /ajax.php
Referer :

Please Login or Register to view hidden text.


Method : POST
PID : 09144
Request : Array
(
[action] => update_peers
[topic_id] => 6034
[form_token] =>
)______________________________________________________________________________
вот анонсеры которые я из торрент файлов брал
$cfg_ann[] = '

Please Login or Register to view hidden text.


$cfg_ann[] = '

Please Login or Register to view hidden text.


$cfg_ann[] = '

Please Login or Register to view hidden text.


$cfg_ann[] = '

Please Login or Register to view hidden text.


$cfg_ann[] = 'udp://opentor.org:2710';
$cfg_ann[] = 'udp://ipv6.leechers-paradise.org:6969';
$cfg_ann[] = 'udp://tracker.coppersurfer.tk:6969';
они на локалке нормально работают а вот на сервере нет, и ошибка на сервере возникает только тогда когда находятся пиры
PS: из ваших анонсеров видно что пиры нашлись, но один или несколько все же не рабочие из за них и ошибка. те что скинул я отрабатывают без ошибок но только на локалке (у меня) Из этого вывод только один могу сделать что то серваку не нравится, дело не в мульте - по ходу.
вот что в логах error на сервере
4210 upstream timed out (110: Connection timed out) while reading response header from upstream, client и дальше на файл ajax.php ссылается (тайм-аут соединения во время чтения заголовка)
 
Сверху