Bug #192

many deconnect and reconnect

Added by Anonymous 9 months ago. Updated 8 months ago.

Status:Resolved Start:2009-12-04
Priority:Normal Due date:
Assigned to:- % Done:

100%

Category:Core Spent time: -
Target version:1.0.1
libpurple:2.6.4 Branch:

Description

Hello sorry to create another ticket but i didnt find a way to respond to #190 comment

i use :
aur/bip 0.8.2-1
aur/minbif 1.0-1
extra/libpurple 2.6.4-1

i get this log from minbif:
-bip a expulsé *** (Server disconnected, reconnecting)
  • (localhost.localdomain) a rejoint &minbif
    Pseudos &minbif: [
    ]
    Canal &minbif: 1 pseudo (1 op, 0 halfop, 0 voice, 0 normal)
    Vous êtes maintenant connu sous le nom *
    Vous êtes maintenant connu sous le nom *

    Canal créé le Thu Jan 15 01:45:13 1970

log from bip:
15:11:00 -bip | Server disconnected, reconnecting
15:20:33 -bip | Server disconnected, reconnecting
15:30:04 -bip | Server disconnected, reconnecting

Maybe it's a bip + minbif problem ?
with bitlbee i get no many connection/reconnection :(

History

Updated by Romain Bignon 9 months ago

  • Category set to Core
  • Target version set to 1.1

Hello,

To answer to an opened ticket, you need to register an account.

By the way, can you try to use minbif without bip and see if this problem occures?

You can also see if there is a core file in the /var/lib/minbif/users/ directory, and attach it to this ticket if any.

Updated by spk spk 9 months ago

Romain Bignon wrote:

Hello,

To answer to an opened ticket, you need to register an account.

By the way, can you try to use minbif without bip and see if this problem occures?
This problem does not occur without bip

You can also see if there is a core file in the /var/lib/minbif/users/ directory, and attach it to this ticket if any.
No file core in /var/lib/minbif/users/ directory

Updated by spk spk 9 months ago

spk spk wrote:

Romain Bignon wrote:

Hello,

To answer to an opened ticket, you need to register an account.

By the way, can you try to use minbif without bip and see if this problem occures?

This problem does not occur without bip

You can also see if there is a core file in the /var/lib/minbif/users/ directory, and attach it to this ticket if any.

No file core in /var/lib/minbif/users/ directory

I check the bip log, that's what i get:
07-12-2009 22:42:37 DEBUG: [minbif] lag : 1
07-12-2009 22:42:38 DEBUG: [minbif] lag : 2
07-12-2009 22:42:39 DEBUG: [minbif] lag : 3
.....
07-12-2009 22:50:34 DEBUG: [minbif] lag : 478
07-12-2009 22:50:35 DEBUG: [minbif] lag : 479
07-12-2009 22:50:36 DEBUG: [minbif] lag : 480
07-12-2009 22:50:37 ERROR: [minbif] Lags out! closing
07-12-2009 22:50:37 DEBUG: Connection close asked. FD:2
07-12-2009 22:50:37 ERROR: [minbif] reconnecting in 0 seconds
07-12-2009 22:50:38 [minbif] Connecting user 'spk' using server localhost:6667
07-12-2009 22:50:38 DEBUG: fd:2 Connection established !
07-12-2009 22:50:38 DEBUG: ":localhost.localdomain NOTICE AUTH :Minbif-IRCd initialized, please go on"

Hope that help

Updated by Romain Bignon 9 months ago

Hope that help

No.

Could you try to connect to minbif without bip, and tell me if it works.

By the way, could you give me your exact minbif version (for example the Debian/Gentoo package version, or git commit)?

Thanks.

Updated by spk spk 9 months ago

Romain Bignon wrote:

No.
:D

Could you try to connect to minbif without bip, and tell me if it works.
Already respond in http://symlink.me/issues/show/192#note-2
Yes it works without bip

By the way, could you give me your exact minbif version (for example the Debian/Gentoo package version, or git commit)?
i use all from Archlinux:
repository/pkg vers

aur/bip 0.8.2-1
aur/minbif 1.0-1
extra/libpurple 2.6.4-1

So its minbif version 1.0-1 from Archlinux User Repository

Thanks

Updated by spk spk 9 months ago

i found an other odd problem, when i deconnect / reconnect it's create a new process:
ps aux | grep minbif
root 7922 0.0 0.1 12372 1532 pts/5 S 22:52 0:00 /usr/bin/minbif --pidfile /var/run/minbif/minbif.pid /etc/minbif/minbif.conf

Server disconnected, reconnecting

ps aux | grep minbif
root 7922 0.0 0.1 12372 1532 pts/5 S 22:52 0:00 /usr/bin/minbif --pidfile /var/run/minbif/minbif.pid /etc/minbif/minbif.conf
root 7949 2.4 0.7 21124 7232 pts/5 S 23:11 0:00 /usr/bin/minbif --pidfile /var/run/minbif/minbif.pid /etc/minbif/minbif.conf

every 9~10 minutes ...
Maybe it's not a minbif bug i should stop bother you ...?

Updated by Romain Bignon 9 months ago

Can you try to use the latest git revision, and when it crashes, open /var/lib/minbif/users/core with gdb, type bt full and paste it?

If you have several processes of minbif, I guess that this is because you use inetd, and the connection isn't correctly closed. Inetd waits that the TCP connection timeouts to close the process.

Updated by spk spk 8 months ago

Hello,
Romain Bignon wrote:

Can you try to use the latest git revision, and when it crashes, open /var/lib/minbif/users/core with gdb, type bt full and paste it?

I compiled the latest revision (19d5b30e) and no more many connection reconnection

If you have several processes of minbif, I guess that this is because you use inetd, and the connection isn't correctly closed. Inetd waits that the TCP connection timeouts to close the process.

Im using the fork daemon with lunch with minbif /etc/minbif/minbif.conf

Thanks for your work, i can really move to minbif now :)

Updated by Romain Bignon 8 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Oh cool, so I can consider that the bug is closed.

Updated by Romain Bignon 8 months ago

  • Target version changed from 1.1 to 1.0.1

Also available in: Atom PDF