Hi Mark, thanks for your answer. Sorry for my lack of infos, I read your previous message before post my message here. I'm testing this in the my dev machine, I configured ConnectionTimeout in the firebird.conf file in the physical machine, and configured it in the virtual machine I use (VirtualBox) too.
In this scenario the physical machine is the server, and the virtual machine is the client, right? Well, I tested again now, and running my application in the server, the 5 secs timeout is working fine. But inside the virtual machine, the timeout is not working as I set. It is taking about 45 secs to timeout. Is there something I'm doing wrong? Thanks for your time. []s Andrei Em ter., 10 de mar. de 2020 às 10:54, Mark Rotteveel m...@lawinegevaar..nl [firebird-support] <firebird-support@yahoogroups.com> escreveu: > On 10-03-2020 14:41, Andrei Luís compuvale.softw...@gmail.com > [firebird-support] wrote: > > I'm having the same problem. Already set ConnectionTimeout = 5 in > > firebird.conf, restarted the FB service, and the connect try is going so > > far from that. I'm using FB 2.5. Is there anything else to set? > > To repeat my previous post: > > """ > ConnectionTimeout isn't a server setting, it is in the section with the > header "Client Connection Settings (Basic)". > > However, to apply to a fbclient, it must be configured in a > firebird.conf in the same directory as the fbclient.dll/libfbclient.so > """ > > Or in other words: changing the config on the *server* has no effect, > because you must change the config of the *client*. > > The settings in firebird.conf are not only for the server, but some of > them are (also or only) configuration options for the client. However, > for those settings to apply to the client, they must be in a > firebird.conf that is actually read by the client, which usually is not > the firebird.conf of the server. > > Mark > -- > Mark Rotteveel > > > ------------------------------------ > Posted by: Mark Rotteveel <m...@lawinegevaar.nl> > ------------------------------------ > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > > Visit http://www.firebirdsql.org and click the Documentation item > on the main (top) menu. Try FAQ and other links from the left-side menu > there. > > Also search the knowledgebases at > http://www.ibphoenix.com/resources/documents/ > > ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ > ------------------------------------ > > Yahoo Groups Links > > > >