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

SuperClassic: Server sometimes hangs [CORE3720] #4068

Open
firebird-automations opened this issue Jan 9, 2012 · 2 comments
Open

SuperClassic: Server sometimes hangs [CORE3720] #4068

firebird-automations opened this issue Jan 9, 2012 · 2 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: Håkan Johansson (hakjo)

We are using Firebird databases for automatic integration tests. We create all our test databases using a script. For each test a copy is made of one of the test databases. The test program only connects to the copy. When the test is complete, the copy is deleted. This way we guarantee that the different test programs do not interfere with each other. We also run a lot of the tests in parallel, all against the same server, but each against a database of their own.

The problem is that sometimes the server hangs and the only way to get it working again is to restart it.
Sadly the problem is not really reproducible. It can work fine for weeks, then hang several times in one day.

My *guess* to why this happens is that when we clean up after a test, then sometimes the test program has not finished closing the database connection. This can happen if a test is killed, which happens automatically when it takes too long. It might be that the server has the database open when we delete the database file and also the directory where it resides.

@firebird-automations
Copy link
Collaborator Author

Commented by: @AlexPeshkoff

Please install debuginfo, attach to hanged process with gdb and send here all threads' stacktraces.

@firebird-automations
Copy link
Collaborator Author

Commented by: Håkan Johansson (hakjo)

I will do that and report back when I know more.

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