madf 279 Posted 2009-08-06 11:18:22 Share Posted 2009-08-06 11:18:22 Єто число увеличивает кол-во ресурсов, затрачиваемое на поддержку соединений. Как минимум - памяти. Может еще чего. Link to post Share on other sites
nallien 3 Posted 2009-08-06 11:31:41 Author Share Posted 2009-08-06 11:31:41 ну памяти там достаточно, то ли 14, то ли 16 %) а поставлю сейчас 100000. ведь в прицыпе я правильно догадываюсь что это размер, так сказать, буфера? Link to post Share on other sites
madf 279 Posted 2009-08-06 11:39:40 Share Posted 2009-08-06 11:39:40 man 2 listen: SYNOPSIS #include <sys/socket.h> int listen(int s, int backlog); ... The backlog parameter defines the maximum length the queue of pending connections may grow to. If a connection request arrives with the queue full the client may receive an error with an indication of ECON- NREFUSED or, if the underlying protocol supports retransmission, the request may be ignored so that retries succeed. Link to post Share on other sites
S_ergey 21 Posted 2009-08-06 14:41:45 Share Posted 2009-08-06 14:41:45 А вобще хоть в одном из скриптов используется? И что говорит при указании 2-х и более модулей? 2009-08-06 17:28:59 -- Stg v. 2.406-rc1 2009-08-06 17:28:59 -- Message queue created successfully. msgKey=5555 msgID=1179648 2009-08-06 17:28:59 -- Timer thread started successfully. 2009-08-06 17:28:59 -- Storage plugin: file_store v.1.03. Loading successfull. 2009-08-06 17:29:02 -- Users started successfully. 2009-08-06 17:29:02 -- Traffcounter started successfully. 2009-08-06 17:29:02 -- Module: 'ipq_cap v.1.2'. Start successfull. 0 2009-08-06 17:29:02 -- Module: 'InetAccess authorizator v.1.2'. Start successfull. 50 2009-08-06 17:29:02 -- Module: 'Always Online authorizator v.1.0'. Start successfull. 70 2009-08-06 17:29:02 -- Module: 'Pinger v.1.01'. Start successfull. 100 2009-08-06 17:29:02 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-08-06 17:29:02 -- Error: Bind admin socket failed 2009-08-06 17:29:02 -- +++++++++++++++++++++++++++++++++++++++++++++ 2009-08-06 17:29:02 -- Module: 'Stg configurator v.0.07'. Stop successfull. 2009-08-06 17:29:02 -- Module: 'Stg configurator v.0.07'. Stop successfull. 2009-08-06 17:29:02 -- Module: 'Pinger v.1.01'. Stop successfull. Так же не работает и больше одного порта на авторизаторе. В предыдущем релизе авторизатор работал больше чем на одном порту. Link to post Share on other sites
nallien 3 Posted 2009-08-06 15:18:26 Author Share Posted 2009-08-06 15:18:26 Так же не работает и больше одного порта на авторизаторе.В предыдущем релизе авторизатор работал больше чем на одном порту. посмотри выше, я там писал как запустить, у меня сейчас три конфигуратора работает Link to post Share on other sites
S_ergey 21 Posted 2009-08-06 18:06:49 Share Posted 2009-08-06 18:06:49 посмотри выше, я там писал как запустить, у меня сейчас три конфигуратора работает Угу все гут тоже 3 работает. 2009-08-06 21:15:35 -- Stg v. 2.406-rc1 2009-08-06 21:15:35 -- Message queue created successfully. msgKey=5555 msgID=196608 2009-08-06 21:15:35 -- Timer thread started successfully. 2009-08-06 21:15:35 -- Storage plugin: file_store v.1.03. Loading successfull. 2009-08-06 21:15:38 -- Users started successfully. 2009-08-06 21:15:38 -- Traffcounter started successfully. 2009-08-06 21:15:38 -- Module: 'ipq_cap v.1.2'. Start successfull. 0 2009-08-06 21:15:38 -- Module: 'InetAccess authorizator v.1.2'. Start successfull. 50 2009-08-06 21:15:38 -- Module: 'Always Online authorizator v.1.0'. Start successfull. 70 2009-08-06 21:15:38 -- Module: 'Pinger v.1.01'. Start successfull. 100 2009-08-06 21:15:38 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-08-06 21:15:38 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-08-06 21:15:38 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-08-06 21:15:38 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-08-06 21:15:38 -- Module: 'Stg configurator v.0.07'. Start successfull. 220 2009-08-06 21:15:38 -- Stg started successfully. 2009-08-06 21:15:38 -- +++++++++++++++++++++++++++++++++++++++++++++ Link to post Share on other sites
yKpon 8 Posted 2009-08-28 08:21:31 Share Posted 2009-08-28 08:21:31 проблема: skyprox:~# ./sgconf -s 127.0.0.1 -p 4444 -a admin -w пароль_не_скажу_какой -u test -t now Login or password failed. пароль 100% правильный, стг версии 2.406-beta, в конфиге стг более старых версий есть AdminOrder, AdminAllowFrom, AdminDenyFrom, в новой таких ограничений нет... в чём тогда может быть причина? виндовый конфигуратор коннектится отовсюду Link to post Share on other sites
madf 279 Posted 2009-08-28 10:22:16 Share Posted 2009-08-28 10:22:16 Судя по синтаксису вызова КК используется версия от старой версии STG (более старой чем 405 даже). А вобще интересно посмотреть на консольный лог в момент такого вызова. Собери в режиме debug и покажи что он пишет. Link to post Share on other sites
yKpon 8 Posted 2009-08-29 11:24:20 Share Posted 2009-08-29 11:24:20 Судя по синтаксису вызова КК используется версия от старой версии STG (более старой чем 405 даже).А вобще интересно посмотреть на консольный лог в момент такого вызова. Собери в режиме debug и покажи что он пишет. хм, так вроде на сайте выложен только один консольный конфигуратор Link to post Share on other sites
egor2fsys 5 Posted 2009-08-29 14:35:00 Share Posted 2009-08-29 14:35:00 хм, так вроде на сайте выложен только один консольный конфигуратор Используйте конс. конфигуратор, который идет в архиве с сервером (/projects/sgconf). Link to post Share on other sites
yKpon 8 Posted 2009-09-02 10:30:49 Share Posted 2009-09-02 10:30:49 Используйте конс. конфигуратор, который идет в архиве с сервером (/projects/sgconf). спасибо теперь работает, но возникла необходимость узнать IP с комощью sgconf, может быть добавить эту функцию? Link to post Share on other sites
madf 279 Posted 2009-09-02 10:38:48 Share Posted 2009-09-02 10:38:48 ... To set IP-addresses use: sgconf set -s <server> -p <port> -a <admin> -w <admin_pass> -u <user> -I <*|ip_addr[,ip_addr...]> To get IP-addresses use: sgconf get -s <server> -p <port> -a <admin> -w <admin_pass> -u <user> -I ... Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now