Issue Details (XML | Word | Printable)

Key: CORE-2978
Type: Bug Bug
Status: Closed Closed
Resolution: Won't Fix
Priority: Major Major
Assignee: Unassigned
Reporter: Ramsees Rastafa
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Firebird Core

Operating system call _beginthreadex failed. Error code 8 ...

Created: 25/Apr/10 07:29 PM   Updated: 14/Feb/11 11:11 AM
Component/s: Engine
Affects Version/s: 2.5 RC1
Fix Version/s: None

Environment:
Windows Server 2003 sp2 RE
3gb Ram
Intel Pentium 4 2.8 mhz....


 Description  « Hide
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

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Vlad Khorsun added a comment - 26/Apr/10 06:32 AM
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

Dmitry Yemanov made changes - 14/Feb/11 11:05 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Won't Fix [ 2 ]
Pavel Cisar made changes - 14/Feb/11 11:11 AM
Security Developers [ 10012 ]
Pavel Cisar made changes - 14/Feb/11 11:11 AM
Status Resolved [ 5 ] Closed [ 6 ]