kaktatak Опубликовано 14 марта, 2010 · Жалоба Доброго времени суток. Есть вот такая проблема: 2 NAS сервера под управлением Mikrotik 3.3 и 4.4 версий (лицензия 5 лвл) используются как VPN сервера 1 сервер с биллингом - FreeBSD 6.3-RELEASE-p2, FreeRADIUS Version 1.1.7, Abills Периодически виснет Радиус (загрузка процессора 95-100%) Пробывал менять параметры max_raquest c стандартный 2048 на 20480 на 100000 счас 256000 - гдето читал что нужно 256 запросов на 1 клиента, у нас в пиках до 800. С увеличением данного параметра время до зависания увеличилось. но проблема осталась. В логи пишет следующее Sun Mar 14 08:13:05 2010 : Error: Dropping conflicting packet from client MatrixRouter2:58280 - ID: 35 due to unfinished request 1314632 Sun Mar 14 08:13:05 2010 : Error: Discarding duplicate request from client MatrixRouter2:40211 - ID: 36 due to unfinished request 1314633 Sun Mar 14 08:13:05 2010 : Error: Discarding duplicate request from client MatrixRouter:41022 - ID: 22 due to unfinished request 1314634 Sun Mar 14 08:13:05 2010 : Error: Discarding duplicate request from client MatrixRouter2:40211 - ID: 36 due to unfinished request 1314633 Sun Mar 14 08:13:05 2010 : Error: Discarding duplicate request from client MatrixRouter:41022 - ID: 22 due to unfinished request 1314634 Sun Mar 14 08:13:06 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:07 2010 : Error: Discarding duplicate request from client MatrixRouter2:45192 - ID: 37 due to unfinished request 1314635 Sun Mar 14 08:13:07 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:07 2010 : Error: Discarding duplicate request from client MatrixRouter2:45192 - ID: 37 due to unfinished request 1314635 Sun Mar 14 08:13:07 2010 : Error: Discarding duplicate request from client MatrixRouter2:39881 - ID: 38 due to unfinished request 1314636 Sun Mar 14 08:13:07 2010 : Error: Discarding duplicate request from client MatrixRouter2:39881 - ID: 38 due to unfinished request 1314636 Sun Mar 14 08:13:08 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:09 2010 : Error: Discarding duplicate request from client MatrixRouter:38535 - ID: 23 due to unfinished request 1314637 Sun Mar 14 08:13:09 2010 : Error: Discarding duplicate request from client MatrixRouter:38535 - ID: 23 due to unfinished request 1314637 Sun Mar 14 08:13:09 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:09 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:09 2010 : Error: Discarding duplicate request from client MatrixRouter:35941 - ID: 24 due to unfinished request 1314638 Sun Mar 14 08:13:09 2010 : Error: Discarding duplicate request from client MatrixRouter:54107 - ID: 25 due to unfinished request 1314639 Sun Mar 14 08:13:10 2010 : Error: Discarding duplicate request from client MatrixRouter:35941 - ID: 24 due to unfinished request 1314638 Sun Mar 14 08:13:10 2010 : Error: Dropping conflicting packet from client MatrixRouter:54107 - ID: 25 due to unfinished request 1314639 Sun Mar 14 08:13:12 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:13 2010 : Error: Discarding duplicate request from client MatrixRouter:36182 - ID: 26 due to unfinished request 1314640 Sun Mar 14 08:13:13 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:13 2010 : Error: Discarding duplicate request from client MatrixRouter:36182 - ID: 26 due to unfinished request 1314640 Sun Mar 14 08:13:13 2010 : Error: Discarding duplicate request from client MatrixRouter2:37459 - ID: 39 due to unfinished request 1314641 Sun Mar 14 08:13:13 2010 : Error: Discarding duplicate request from client MatrixRouter2:37459 - ID: 39 due to unfinished request 1314641 Sun Mar 14 08:13:13 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:14 2010 : Error: Discarding duplicate request from client MatrixRouter:54548 - ID: 27 due to unfinished request 1314642 Sun Mar 14 08:13:14 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:14 2010 : Error: Discarding duplicate request from client MatrixRouter:54548 - ID: 27 due to unfinished request 1314642 Sun Mar 14 08:13:14 2010 : Error: Discarding duplicate request from client MatrixRouter2:41788 - ID: 40 due to unfinished request 1314643 Sun Mar 14 08:13:14 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Sun Mar 14 08:13:14 2010 : Error: Dropping conflicting packet from client MatrixRouter2:41788 - ID: 40 due to unfinished request 1314643 Sun Mar 14 08:13:14 2010 : Error: Discarding duplicate request from client MatrixRouter2:60347 - ID: 41 due to unfinished request 1314644 Sun Mar 14 08:13:48 2010 : Info: Using deprecated naslist file. Support for this will go away soon. Sun Mar 14 08:13:48 2010 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none? Sun Mar 14 08:13:48 2010 : Info: Ready to process requests. Sun Mar 14 08:19:57 2010 : Info: Using deprecated naslist file. Support for this will go away soon. Sun Mar 14 08:19:57 2010 : Info: rlm_exec: Wait=yes but no output defined. Did you mean output=none? Sun Mar 14 08:19:57 2010 : Info: Ready to process requests. Это как раз в момент сегодняшнего утреннего висяка) и перезапуск. Спрашивал гугл по поводу "The maximum number of threads (32)" - ничего внятного пока не обнаружил, в самом конфиге написано что этих параметров достаточно для большинства случаев. Если нужна будет дополнительная информация - спрашивайте. Заранее благодарю за помощь. Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...
Zohan Опубликовано 14 марта, 2010 · Жалоба Sun Mar 14 08:13:06 2010 : Info: The maximum number of threads (32) are active, cannot spawn new thread to handle request Увеличь max_servers. Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...
kaktatak Опубликовано 14 марта, 2010 · Жалоба Увеличь max_servers. Я тоже об этом думал. Но... Насколько? Или как всегда методом аналитического тыка пальцем в небо? Просто если начать методом угадывания делать то это может затянутся на долго и не дать результата. Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...
Zohan Опубликовано 14 марта, 2010 · Жалоба Увеличь max_servers. Я тоже об этом думал. Но... Насколько? Или как всегда методом аналитического тыка пальцем в небо? Просто если начать методом угадывания делать то это может затянутся на долго и не дать результата. Увеличь до 1024, на 1000 клиентов хватает. Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...
Beginner Опубликовано 14 марта, 2010 · Жалоба Я бы глянул на загрузку DB. ИМХО дублирующие запросы размножаются, когда радиус не успевает ответить на предыдущий вовремя, так как база не успевает вовремя его обработать. Ну или увеличить время ожидания ответа радиуса на серверах-клиентах Вставить ник Цитата Ответить с цитированием Поделиться сообщением Ссылка на сообщение Поделиться на других сайтах More sharing options...