forum.bitel.ru http://forum.bitel.ru/ |
|
[5.2] Inet - перестали меняться статусы сервисов http://forum.bitel.ru/viewtopic.php?f=44&t=8023 |
Страница 1 из 1 |
Автор: | nik247 [ 13 май 2013, 15:39 ] |
Заголовок сообщения: | [5.2] Inet - перестали меняться статусы сервисов |
Сегодня ночью падал MQ - престали работать все Inet модули. Код: 2013-05-13 04:12:37,826 | INFO | Usage Manager memory limit (134217728) reached for topic://BG.Event.ru.bitel.bgbilling.modules.inet.accounting.event.InetAccountingEvent. Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it. See http://activemq.apache.org/producer-flow-control.html for more info | org.apache.activemq.broker.region.Topic | ActiveMQ NIO Worker 2013-05-13 04:12:38,992 | INFO | Usage Manager Memory Limit (134217728) reached on queue://BG.Event.ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaAccountingEvent. Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it. See http://activemq.apache.org/producer-flow-control.html for more info | org.apache.activemq.broker.region.Queue | ActiveMQ NIO Worker 2013-05-13 04:12:51,132 | INFO | Usage Manager Memory Limit (134217728) reached on queue://BG.Event.ru.bitel.bgbilling.modules.card.common.event.CardGetRequestEvent. Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it. See http://activemq.apache.org/ producer-flow-control.html for more info | org.apache.activemq.broker.region.Queue | ActiveMQ NIO Worker 2013-05-13 04:17:51,049 | INFO | Usage Manager Memory Limit (134217728) reached on queue://BG.Event.ru.bitel.bgbilling.modules.inet.access.sa.event.InetSaStateModifyEvent. Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it. See http://activemq.apach e.org/producer-flow-control.html for more info | org.apache.activemq.broker.region.Queue | ActiveMQ NIO Worker 2013-05-13 07:07:13,874 | INFO | Usage Manager Memory Limit (134217728) reached on queue://BG.Event.ru.bitel.bgbilling.kernel.contract.balance.server.event.PaymentEvent. Producers will be throttled to the rate at which messages are removed from this destination to prevent flooding it. See http://activemq.apache.org/producer-flow-control.html for more info | org.apache.activemq.broker.region.Queue | ActiveMQ NIO Worker .. .. .. Перезагрузка помогла. Но перестали активироваться сервисы Inet при внесении платежей или установки лимита. Помогает только редактирование сервиса. После этого на Inet Access идет команда о смене статуса device: Код: mq 05-13/12:31:22 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Taked event: Event[ru.bitel.bgbilling.modules.inet.api.server.event.InetServModifiedEvent] moduleId: 8; pluginId: no; cid: 7852; scid: -1; userId: 2; timestamp: 1368437480178 mq 05-13/12:31:22 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Reload InetServRuntime: 1842 mq 05-13/12:31:22 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Removing InetServRuntime: 1842 mq 05-13/12:31:22 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Adding InetServRuntime: 1842 mq 05-13/12:31:22 INFO [event-proc-p-2-t-1] InetServRuntimeMap - ContractId: 7852; servId: 1842 inetd:21711 Options [] TariffModuleTreeSet [6:13.05.2013-…; ] Device state: 0; optionSet: mq 05-13/12:31:29 INFO [event-proc-p-2-t-1] InetConnectionManager - Remove connection: InetConnection [id=939383-0, iface=3:1673401, sessId=81b1bc98, start=13.05.2013 11:41:07, uname=21167@wlan, addr=10.101.1.53] connection 05-13/12:31:30 INFO [sa-p-12-t-1] ServiceActivatorSet - Connecting to device connection 05-13/12:31:30 INFO [sa-p-12-t-1] ServiceActivatorDeviceWorker - Do task deviceId: 2; Event[ru.bitel.bgbilling.modules.inet.access.sa.event.InetS aServModifyEvent] moduleId: 8; pluginId: no; cid: global; scid: -1; userId: -1; oldInetServ: inetd:21711; newInetServ: inetd:21711; newInetServState: 1; newInetServOptionList: ; timestamp: 1368437480183 connection 05-13/12:31:30 INFO [sa-p-12-t-1] InetApplication - TariffOptionMap: {} connection 05-13/12:31:30 INFO [sa-p-12-t-1] InetApplication - OptionSet: [7] connection 05-13/12:31:30 INFO [sa-p-12-t-1] ServiceActivatorDeviceWorker - Command result event: ServiceActivatorEvent type=2; inetServId: 1842; call: true ; oldState: 0; newState: 1; oldOptionSet: ; newOptionSet: 7 connection 05-13/12:31:30 INFO [sa-p-12-t-1] ServiceActivatorDeviceWorker - Processing deviceId:2; command ServiceActivatorEvent type=2; inetServId: 1842; c all: true; oldState: 0; newState: 1; oldOptionSet: ; newOptionSet: 7 connection 05-13/12:31:30 INFO [sa-p-12-t-1] ServiceActivatorSet - Invoking serviceModify connection 05-13/12:31:30 INFO [sa-p-12-t-1] ServiceActivatorDeviceWorker - Process event type[2] result=true connection 05-13/12:31:30 INFO [sa-p-12-t-1] ServiceActivatorDeviceWorker - Changing InetServ:1842 state and/or options mq 05-13/12:31:30 INFO [event-proc-p-2-t-1] InetServRuntimeMap - Taked event: Event[ru.bitel.bgbilling.modules.inet.access.event.InetServDeviceStateAndOptio nsModifiedEvent] moduleId: 8; pluginId: no; cid: global; scid: -1; userId: -1; deviceId: 2; inetServId: 1842; state: 1; optionSet: 7; timestamp: 1368437490196 Перезагрузка MQ, BG server, BG Inet не помогает. Обновление до последней версии от 10.05.2013 тоже результатов не дало. |
Автор: | zavndw [ 13 май 2013, 15:44 ] |
Заголовок сообщения: | Re: [5.2] Inet - перестали меняться статусы сервисов |
Код: Usage Manager Memory Limit памяти приложению хватает? |
Автор: | nik247 [ 13 май 2013, 15:51 ] |
Заголовок сообщения: | Re: [5.2] Inet - перестали меняться статусы сервисов |
zavndw писал(а): Код: Usage Manager Memory Limit памяти приложению хватает? Так больше и не падает. Стоят рекомендованные: Код: <systemUsage>
<systemUsage> <memoryUsage> <memoryUsage limit="128 mb"/> </memoryUsage> <storeUsage> <storeUsage limit="10 gb"/> </storeUsage> <tempUsage> <tempUsage limit="1 gb"/> </tempUsage> </systemUsage> </systemUsage> |
Автор: | Amir [ 13 май 2013, 15:58 ] |
Заголовок сообщения: | Re: [5.2] Inet - перестали меняться статусы сервисов |
В activemq/data/kahadb не много файлов? Папка не много весит? Если да - попробуйте остановить activemq, переименовать папку kahadb и запустить. Или (более правильно) включите web-интерфейс в conf/activemq.xml (раскоменитруйте <import resource="jetty.xml"/>) и зайдите на 8161, посмотрите очереди (Queues), возможно какая-то очередь сообщений забивается - ее можно попробовать сделать purge. |
Автор: | nik247 [ 13 май 2013, 16:11 ] |
Заголовок сообщения: | Re: [5.2] Inet - перестали меняться статусы сервисов |
Amir писал(а): В activemq/data/kahadb не много файлов? Папка не много весит? Если да - попробуйте остановить activemq, переименовать папку kahadb и запустить. Или (более правильно) включите web-интерфейс в conf/activemq.xml (раскоменитруйте <import resource="jetty.xml"/>) и зайдите на 8161, посмотрите очереди (Queues), возможно какая-то очередь сообщений забивается - ее можно попробовать сделать purge. Спасибо. Разбираться особо уже некогда было, что забилось. Клиенты на голове висят у манагеров. Перезеапустил MQ c пустым kahadb и все заработало. Осталось понять, что что могло остаться нужное в старой базе..... Код: [root@bg kahadb-2]# ls -l total 142772 -rw-r--r-- 1 root root 33555227 May 13 08:40 db-1756.log -rw-r--r-- 1 root root 33554842 May 13 10:06 db-1757.log -rw-r--r-- 1 root root 33571605 May 13 11:55 db-1758.log -rw-r--r-- 1 root root 33030144 May 13 13:02 db-1759.log -rw-r--r-- 1 root root 10817536 May 13 13:02 db.data -rw-r--r-- 1 root root 1658008 May 13 13:02 db.redo Но было сначала 4, а после каждой перегрузки стал добавляться по одному db-17хх.log |
Автор: | Amir [ 13 май 2013, 16:18 ] |
Заголовок сообщения: | Re: [5.2] Inet - перестали меняться статусы сервисов |
Нужно также включить web-интерфейс и смотреть очереди. Number Of Pending Messages не должно постоянно расти, а Messages Dequeued - не увеличиваться. |
Страница 1 из 1 | Часовой пояс: UTC + 5 часов [ Летнее время ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |