Subject Problems shutting down a heaviliy loaded firebird database
Author Björn Reimer
Hello,

trying to shut down a heavily loaded database (670 concurrent connections but hardly any running statements) I'm getting the following errors in firebird.log:

[...]
rzdb6 Wed Sep 14 13:38:04 2011
Firebird shutdown is still in progress after the specified timeout


rzdb6 Wed Sep 14 13:38:04 2011
Firebird shutdown is still in progress after the specified timeout


rzdb6 Wed Sep 14 13:38:04 2011
Operating system call pthread_mutex_destroy failed. Error code 16


rzdb6 Wed Sep 14 13:38:04 2011
Operating system call pthread_mutex_destroy failed. Error code 16


rzdb6 Wed Sep 14 13:38:04 2011
Operating system call pthread_mutex_destroy failed. Error code 16


rzdb6 Wed Sep 14 13:38:04 2011
Firebird shutdown is still in progress after the specified timeout
[...]


after waiting some minutes with repeating messages like above I've had to use
killall -u firebird
to stop the stuff which causes some orphan pages and orphan backversions :-(


System infos:
rzdb6 /data/firebird# uname -a
Linux rzdb6 2.6.32.13-0.4-default #1 SMP 2010-06-15 12:47:25 +0200 x86_64 x86_64 x86_64 GNU/Linux

rzdb6 /data/firebird# ./bin/fb_inet_server -Z
Firebird TCP/IP server version LI-V2.5.0.26074 Firebird 2.5


Any idea what could have gone wrong?


--
Björn Reimer - RRZE