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

Operating system call _beginthreadex failed. Error code 8 ... [CORE2978] #3360

Closed
firebird-automations opened this issue Apr 25, 2010 · 4 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Ramsees Rastafa (ramsees79)

Im having this problem daily, My porgrma stops working and when I check the Firebird Log I see these to lines repeaded over and over.

My programs make a query to a propertly indexed table in a database every 500 miliseconds.

the log show the next lines:

SERVERVOL (Server) Sun Apr 25 11:30:08 2010
XNET: can't start worker thread, connection terminated

SERVERVOL (Server) Sun Apr 25 11:30:09 2010
Operating system call _beginthreadex failed. Error code 8

SERVERVOL (Server) Sun Apr 25 11:30:09 2010
XNET: can't start worker thread, connection terminated

SERVERVOL (Server) Sun Apr 25 11:30:10 2010
Operating system call _beginthreadex failed. Error code 8

SERVERVOL (Server) Sun Apr 25 11:30:10 2010
XNET: can't start worker thread, connection terminated

SERVERVOL (Server) Sun Apr 25 11:30:11 2010
Operating system call _beginthreadex failed. Error code 8

SERVERVOL (Server) Sun Apr 25 11:30:11 2010
XNET: can't start worker thread, connection terminated

@firebird-automations
Copy link
Collaborator Author

Commented by: @hvlad

Firebird process is out of (virtual) memory (2GB per 32-bit process).

Make sure you not created new query every 500 ms without closing previous one.
I.e. you should or
a) re-use same statement handle, or
b) call isc_dsql_close(..., DSQL_drop) for every query

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

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

resolution: Won't Fix [ 2 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

security: Developers [ 10012 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

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

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

No branches or pull requests

1 participant