Subject Periodical Server Crashes (from Firebird-Java)
Author Roman Rokytskyy
Hi all,

In Firebird-Java group we have a bug/problem report and we were not
able to find a reason for it. Maybe you can give some ideas? Original
post you will find below. In few words: there is a JVM that dies after
few days complaining that nonpaged memory pool is empty. Microsoft
says that there must be a program that tries to connect to
non-existing socket, however this bug report is related to NT 3.51.

Do you have any ideas, what can cause this problem? Does anybody knows
anything about nonpaged memory pool 'AfdB'?

Thanks in advance,
Roman Rokytskyy

Here is the original message:
------------------------------------------------------------------

Hi,
i have a big problem.
I have written a java-programm that connects to firebird.
On one of my customers the server where my programm runs crashes from
time to time (1 time a week).
Its a Windows 2000 Server with SP3 installed.
I get the following in the system Event-Log:
Event ID 2019
Description:
The server was unable to allocate from the system nonpaged pool
because the pool was empty.

This error is decribed here:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q133384

When this error occurs no client can connect to the server.
(the server can see the clients, but the client no longer the server)

I'm using Jaybird RC1 with Firebird 1.0.
The only difference between this customer and my other ones is jaybird.
Elsewhere i'm using Interclient.
But I can't use IC at this customer because of some bugs with it.
This is my largest customer. I'm using 2 connections(1 read/1 write)
to the db for every client,
and i have up to 25 Clients that can work with my programm
simultaneous. I'm only closing the 2 connections when the client
disconnects from my programm. (Sometimes after a few days)

I have used poolmon to identify the pool tag that consumes all from
the nonpaged pool.
Its called 'AfdB'
Does someone know where this is used ?
Is it in Jaybird ?
Or is it in Firebird ?