Page 1 of 1

Infinite loop between services(Anope) and Unreal 3.2.4.

Posted: Mon Mar 06, 2006 1:59 am
by Pink
This(Sunday) morning, Unreal booted Anope off the server for exceeding SendQ. After much consulting the FAQ and Documentation, I increased the SendQ in unrealircd.conf and bufferpools in ./Config. All was alright, but after a minute or so, I found services became extremely laggy, and a couple of minutes later, Unreal booted it off again for exceeding Max SendQ. Gave the server a restart, fired everything back up again, and did the same again. I used -nofork and -debug switches to start Anope and the screen streamed with the following:
[Mar 06 00:22:35.918197 2006] debug: Sent: :Terra JOIN #opers
[Mar 06 00:22:35.922997 2006] debug: Sent: :Terra MODE #opers +ao Terra Terra
[Mar 06 00:22:35.927733 2006] debug: Sent: :BotServ NOTICE PinkFloydYoshi :Bot Terra has been assigned to #opers.
[Mar 06 00:22:35.934452 2006] debug: Received: :terra.pinkfloydyoshi.com MODE #opers -oh Terra Terra 0
[Mar 06 00:22:35.939088 2006] debug: Changing modes for #opers to -oh Terra Terra 0
[Mar 06 00:22:35.943945 2006] debug: Sent: :Terra MODE #opers +o Terra
[Mar 06 00:22:35.948427 2006] channel: MODE #opers -h for nonexistent user Terra
[Mar 06 00:22:35.953065 2006] debug: Received: :terra.pinkfloydyoshi.com MODE #opers &-ao Terra Terra 1141580911
[Mar 06 00:22:35.957530 2006] debug: Changing modes for #opers to &-ao Terra Terra 1141580911
[Mar 06 00:22:35.962230 2006] debug: Sent: :Terra MODE #opers +a Terra
[Mar 06 00:22:35.966891 2006] debug: Sent: :Terra MODE #opers +o Terra
[Mar 06 00:22:35.971267 2006] debug: Received: :terra.pinkfloydyoshi.com MODE #opers -oh Terra Terra 0
[Mar 06 00:22:35.975445 2006] debug: Changing modes for #opers to -oh Terra Terra 0
[Mar 06 00:22:35.979962 2006] debug: Sent: :Terra MODE #opers +o Terra
[Mar 06 00:22:35.984207 2006] channel: MODE #opers -h for nonexistent user Terra
[Mar 06 00:22:35.988562 2006] debug: Received: :terra.pinkfloydyoshi.com MODE #opers &-o Terra 1141580911
[Mar 06 00:22:35.992788 2006] debug: Changing modes for #opers to &-o Terra 1141580911
Terra is a bot. After recreating the Anope databases to track down the source of the problem, I could register my nick, channels, oper up, and create a bot. The second I assigned a bot to a channel, Anope and Unreal would go into an infinite loop until SendQ again. I've searched the board, and the FAQ/Documentation for ways to stop unreal from applying -oh after Anope sends +ao without any luck, partially due to not knowing exactly what to look for, but is there a way to prevent Unreal from removing modes Anope applies?

Thanks much in advance.

Posted: Mon Mar 06, 2006 3:28 am
by nate
Do you have your Services listed in the U:Line block?

I do believe this is supposed to prevent it from being kicked as such like its a regular client isn't it?

Posted: Mon Mar 06, 2006 4:38 am
by Pink
Heh, I feel quite ashamed now. Just realised right above my U:Lines there was an extra '};' just after the link block. After correcting it, I went ahead and tried assigning the bot to the channel, with success. Doesn't matter how long you've been playing with programs and scripts, we still always end up placing something that shouldn't be in there. Mistakes are what make us human I guess. Wish I saw it before though. I apologise for not realising before. Thanks for pointing me in the direction of the ULines, else I might not have seen it so quickly.