Subject Suddenly: Connection rejected by remote interface
Author

Hello,

My Firebird works ok, but sometimes suddenly stop to accept connections and I need to restart it in order to work again.

Firebird Version: Firebird TCP/IP server version LI-V2.5.2.26540 Firebird 2.5

Debian 7.1 (Wheezy)


Logs from the last time that this happened:


Application message (php)

From 08/09/2015 15:34:31 to 15:38:28 (restart) a lot of "connection rejected by remote interface"

08/09/2015 - 15:34:31 ibase_connect(): connection rejected by remote interface
....
08/09/2015 - 15:38:28 ibase_connect(): connection rejected by remote interface 

firebird.log

BMX7PROD (Server)       Mon Sep  7 18:48:24 2015
        Sweep is finished
        Database "bmx"
        OIT 623314, OAT 671682, OST 623315, Next 676359


BMX7PROD (Server)       Tue Sep  8 13:58:04 2015
        INET/inet_error: read errno = 110


BMX7PROD (Server)       Tue Sep  8 15:38:33 2015
        Shutting down the server with 3 active connection(s) to 1 database(s), 0 active service(s)


BMX7PROD (Client)       Tue Sep  8 15:38:36 2015
        /usr/sbin/fbguard: /usr/sbin/fbserver killed (did not terminate)



BMX7PROD (Client)       Tue Sep  8 15:38:36 2015
        /usr/sbin/fbguard: guardian starting /usr/sbin/fbserver

syslog

Sep  8 15:38:29 BMX7PROD kernel: [97893.280484] php5[23797]: segfault at 7f4f4f3aa690 ip 00007f4f47afc928 sp 00007fff4b7a2390 error 4 in libfbclient.so.2.5.2[7f4f47ad0000+c0000]

Header page information
08/09/2015 15:30.01

Database "/mnt/base/firebird/2.5/data/BMX_ONLINE.GDB"
Database header page information:
Flags 0
Checksum 12345
Generation 1276633
Page size 8192
ODS version 11.2
Oldest transaction 1274420
Oldest active 1274421
Oldest snapshot 1274421
Next transaction 1274432
Bumped transaction 1
Sequence number 0
Next attachment ID 311824
Implementation ID 24
Shadow count 0
Page buffers 0
Next header page 0
Database dialect 3
Creation date Sep 6, 2015 4:00:19
Attributes

Variable header data:
Database backup GUID: {848E3E01-7B7A-4208-65A9-E08B79C0BFF3}
Sweep interval: 20000
*END*

08/09/2015 15:35.01


Database "/mnt/base/firebird/2.5/data/BMX_ONLINE.GDB"
Database header page information:
Flags 0
Checksum 12345
Generation 1276633
Page size 8192
ODS version 11.2
Oldest transaction 1274420
Oldest active 1274421
Oldest snapshot 1274421
Next transaction 1274432
Bumped transaction 1
Sequence number 0
Next attachment ID 311824
Implementation ID 24
Shadow count 0
Page buffers 0
Next header page 0
Database dialect 3
Creation date Sep 6, 2015 4:00:19
Attributes

Variable header data:
Database backup GUID: {848E3E01-7B7A-4208-65A9-E08B79C0BFF3}
Sweep interval: 20000
*END*


08/09/2015 15:40.01

Database "/mnt/base/firebird/2.5/data/BMX_ONLINE.GDB"
Database header page information:
Flags 0
Checksum 12345
Generation 1279054
Page size 8192
ODS version 11.2
Oldest transaction 1276848
Oldest active 1276849
Oldest snapshot 1276849
Next transaction 1276850
Bumped transaction 1
Sequence number 0
Next attachment ID 312418
Implementation ID 24
Shadow count 0
Page buffers 0
Next header page 0
Database dialect 3
Creation date Sep 6, 2015 4:00:19
Attributes

Variable header data:
Database backup GUID: {848E3E01-7B7A-4208-65A9-E08B79C0BFF3}
Sweep interval: 20000
*END*


Does somebody know the possible reasons for this situation?

Please let me know if I should provide more information.

Thank you very much for your help!


Vanina