Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

On Windows listener process of Classic Server can't create necessary resources after restart if any worker process was present [CORE2356] #2779

Closed
firebird-automations opened this issue Mar 7, 2009 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @hvlad

Run fb_inet_server -a
Connect to any database
Stop listener process via tray icon
Run fb_inet_server -a again :
you'll found XNET error in firebird.log
new connection's is not accepted until old worker process exist

The following errors could be logged in firebird.log
XNET error (xnet:2323) XNET server initialization failed

INET/inet\_error: listen errno = 10022

Unable to complete network request to host "xxx"\.
Error while listening for an incoming connection\.
An invalid argument was supplied\.

WNET/wnet\_error: ReadFile end\-of\-file errno = 109

Commits: 807c777 c574a32

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Fix is to make child (worker) process not inherit handles of parent (listener) process.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5 Beta 1 [ 10251 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Backported into 2.1.4

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Fix Version: 2.1.4 [ 10361 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Cannot be tested

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment