Subject: [Firebird-devel] [FB-Tracker] Created: (CORE-5450)
sometimes fb_inet_server gets hung for startup



sometimes fb_inet_server gets hung for startup
----------------------------------------------

Key: CORE-5450
URL: http://tracker.firebirdsql.org/browse/CORE-5450
Project: Firebird Core
Issue Type: Bug
Affects Versions: 2.5.6
Environment: Linux (Fedora) and MAC OSX - so far only seen with 2.5.x
Reporter: Ray Holme
Priority: Minor


Using Apache Tomcat and doing a restart- occasionally get message in log that
cannot get a connection to server.

a) isql works fine (using local connection); NOT if use remote connection

b) problem goes away after 1/2 hour or so (for the patient)
AND
reboot of machine solves problem more quickly

c) problem shows up in the OS log files as the inet service is being rejected
- I am "assuming" too many hits in a short period of time

I see this VERY occasionally on my Fedora box. The first time, I was doing
something else and happened to wait.
The second and ... times I found out reboot solved the problem.
Then I found the problems in the log file (I will add more here if and when I
get the error again) as I do NOT have a real recent example.
Yesterday this happened on another system, this time a MAC. The person was in a
rush so I did not delve into the logs and get examples of the messages.
BUT reboot solved the problem.

I suspect a race condition is happening where Tomcat is hitting the server with
multiple requests for connections in a short time but have no way to prove that.
I certainly have no idea why this happens sometimes and not more frequently,
but I restart the web server quite a few times before it happens again.

Will try to add exact message from log when I can.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel



Programming list archiving by: Enterprise Git Hosting