I know the replication is stopped because there are a lot of segments unreaded. In the moment I restart the Firebird service, it needs less than one minute for reading saving and deleting all that segments.There are no news on the firebird.log.
Each replication machine is only for replication, in where only one Firebird service instance is running and is the only one using the replica databases.
It is not a expected and need some investigations. As a very first step, I'd recommend to allow 'verbose_logging' for at least one instance and watch
for replication.log regularly on this instance. It could grow fast, so be careful. Probably it would make sense to enlarge 'apply_idle_timeout' also.
Next, I would like to look at full memory dump of such "hung' Firebird process - right before service restart. Watch for memory usage also - as you
use 32-bit process that handle many databases. BTW, I see no good reason to use 32-bit Firebird on replicas, I remember you use 32-bit Firebird
because of user's HW and/or OS, but is it a case for replica servers too ?
Regards,
Vlad