Firebird SQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesFirebird SQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 29th, 2011, 06:32 AM
BrendanH BrendanH is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2011
Posts: 1 BrendanH User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 39 sec
Reputation Power: 0
Corrupt FB 2.5 database

Hi,

We have an issue where a database hangs the server when
> a backup is performed (Hangs on a specific table)
> selecting * or count(1) from a specific table
> or viewing data that is related to the table (FKs, etc)

We could browse the table to a certain point (using IBExpert) however after about 2900 records the machine just spikes and hangs.
Performing a gfix -m does not work, and the validation reports back Record level errors = 4. (No matter how many times we run gfix -m, -v, etc.

The Firebird.log file reports back these types of messages(Multiple instances of each of the below messages):
-Relation has 91631 orphan backversions (9214273 in use) in table BINS (137) - {Which is apparently just a warning}
-Unable to complete network request to host "MHPLZA1".
Error reading data from the connection.
-INET/inet_error: read errno = 10054
-SERVER/process_packet: broken port, server exiting
-Shutting down the server with 1 active connection(s) to 1 database(s), 0 active service(s) - {If we leave the backup to run while hanging, it eventually logs this error message}

The table is question has about 7000 records only
The Firebird version is 2.5 Classic Server x64 install
The OS is Windows Server 2008
This is a virtual machine (VMWare) running on a massive server. (Does anyone have issues with VMs and Firebird?)
We have the same setup running fine on other servers (However they are not virtual machines)

Is there anyway to pin point the issue and or the cause?

Thanks in advance for any and all help!

Brendan

Reply With Quote
  #2  
Old August 8th, 2011, 09:42 AM
rapgame rapgame is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2009
Posts: 74 rapgame User rank is Private First Class (20 - 50 Reputation Level)rapgame User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 14 h 12 m 41 sec
Reputation Power: 4
Interesting post!

We are running:
Firebird 2.04 superserver on a XEN visualization --> Debian 5.

Since a software update we are also encountering database hangs.
Some say: it could be XEN, some say: it could be FB super, some say it is the application, some say bull****.

Cause is still unknown. Errors are different. Prob. multiple problems...

One error is saying that a deadlock occurs...

So about deadlocks. Is this a database issue or an application issue?
I say application. The application should perform deadlock prevention or resolution right?

Currently I am developing some test cases. New hardware, stress scripts, different VM's/ OS, newest FB version super/classic, etc, etc.
To make hard conclusions you can only change on thing at the time and it is very difficult to make your test situation the same as your production server.

In case the conclusion will be something like: Don't run FB on a VM, I will inform you.

Some tips:

- Try this: http://www.firebirdnews.org/?p=1881
- Try Linux
- Try another VM like KVM.
- Try MySQL or PostGreSQL if possible

I can suggest and provide more details, but I am not allowed to do.
This is a kind of complex problem with too many variables.
That's the reason I want to test with different scenario's. A very time consuming and difficult task. But it is needed. I am tired of all the different suggestions, lack of documentation, lack of answers, lack of support, lack of log messages.

Lets test it and solve it our selfs!!!
And lets keep in touch.

---
EDIT:
Another tip:
http://stackoverflow.com/questions/3787727/know-of-any-firebird-profilers-and-or-stress-tester-apps


R.

Last edited by rapgame : August 8th, 2011 at 01:59 PM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesFirebird SQL Development > Corrupt FB 2.5 database

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap