Topic: The Forge - The Hammer of Thor  (Read 56589 times)

0 Members and 2 Guests are viewing this topic.

Offline FCM_SFHQ_XC

  • There is life outside of Windows..
  • Administrator
  • Lt. Commander
  • *
  • Posts: 2267
  • Gender: Male
  • Starbase Atlantis [X-refit]
    • 9th Fleet
Re: The Forge - The Hammer of Thor
« Reply #300 on: October 21, 2007, 02:13:56 pm »
Ah, how many times have you changed the missionlist? Have you edited the missionslist blob, campaign file and missions folder so they all match exactly? (I can do this for you...) Oh wait, but the stock forge is doing it too you say? (is it just as I left it? Same build?) If so, then the problem is probably not with the serverkit.
Thats what makes me confused as to where this error is coming from ... the ODBC logs dont help me at all pinpoint the problem.
No changes to missionlist, campaign file, missions folder, etc since I first set it up and yea, I tripled checked to make sure it was and indeed it is.
« Last Edit: October 21, 2007, 02:47:00 pm by Capt_SFHQ_XC »
Starfleet Headquarters out.

Fleet Commodore, XenoCorp, ISC Fleet.

Offline Dfly

  • Lt. Commander
  • *
  • Posts: 1735
  • Lyran Alliance Lives
Re: The Forge - The Hammer of Thor
« Reply #301 on: October 21, 2007, 05:32:30 pm »
The only 2 things I noticed on the campaign was what Lear mentioned, being that the AI markers are still present even after a clean, and the other being the loaned fighters dont show properly.

Offline KBFLordKrueg

  • Commander
  • *
  • Posts: 3733
  • KBF CO
Re: The Forge - The Hammer of Thor
« Reply #302 on: October 21, 2007, 09:17:19 pm »
The only 2 things I noticed on the campaign was what Lear mentioned, being that the AI markers are still present even after a clean, and the other being the loaned fighters dont show properly.

The fighter thing has been a bane to the Coalition for a long time. It's becoming even more of a PITA now that the better fighters are coming out.
It's beginning to become a significant disadvantage for some ships.
Obviously, the first issue is the crashes, but, IMOHPO the fighter issue needs to be addressed right after that.
Taking into account my technical ignorance of the inner workings of a server, perhaps, the 2 issues could be related...?

Take your time with these, let's get it right rather than blundering ahead fighting constant issues.  ;)
*deposits 2 cents*  ;D
Lord Krueg
KBF CO
We are the Dead

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #303 on: October 21, 2007, 11:41:18 pm »
I see nobody is on the server right now, so I'm going to take it down for a few minutes and go over everything. (particularly the preparedmissions table and the missionlist blob). Maybe something will jump out at me.

I think some shiplist QA might be in order. But if the "stock" forge exhibits that behavior then I guess that is out...

Ohhh waaaiiiittt. Comcast. Now filtering peer to peer traffic openly.
http://slashdot.org/articles/07/10/19/1417238.shtml
Could that be a factor? A quirk of their new torrent filtering?  Hmmm...

Going to take a look now to see what I can find...

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #304 on: October 22, 2007, 03:31:04 am »
OK, DNS hiccups from downtime are more likely an interference than Comcasts P2P filtering.... anyway...

I went over everything. I gave it that special Bonk magic touch!  ;D

I just ran a mission, no crash. So give it a whirl... I left it running on the process sentinel...

quick summary:
1 ) reconfigured MySQL - memory, cache, named pipe, skip-innodb
2 ) reconfigured ODBC - no cache, named pipe
3 ) backed up current db
3 ) rationalised mct file, scripts folder and missionlist blob (important part! - the missionlist blob was borked)
4 ) standard db clean
5 ) backed up fixed(?) db
6 ) Did a "ServerPlatform.exe -install"
7 ) reconfigured ProcessSentinel
8 ) launched!

If you have any questions about the procedure just ask me. Hopefully it might be stable now. So get on there and give 'er a go!  :)
« Last Edit: October 22, 2007, 03:43:43 am by Bonk »

Offline odb

  • Hemah
  • Lt. Junior Grade
  • *
  • Posts: 40
  • Gender: Male
Re: The Forge - The Hammer of Thor
« Reply #305 on: October 22, 2007, 07:16:25 am »
approx 6.45 am monday morning ran a 6 min mission came out after debrief an i lost connection to the server. k so then i went to the oci switched from my bb to a klink d5d. i ran a 1 min 45 sec mission. came out of debrief, still connected, but  when i jumped to the next hex to supply immedatly after, slow movement. took 2+ min to compleate the jump. an after the movement was done i was still in origional hex, an was still connected, an was still able to move, but i was still in the same hex after the movement was done . so i loged out, an the forge wasent showin on the server listings to log in. its now just after 7 am monday morning.   i tried to make sure i ran a fast mission to see if it was a time thing that disconnected me. appearently makes no difference. vanguard was loged in ran a mission just befor i did, i came out he was gone im assuming he was disconnected to.      lotta chat here that probibly dont amount to nothin just tryin to help. good luck

Offline FCM_SFHQ_XC

  • There is life outside of Windows..
  • Administrator
  • Lt. Commander
  • *
  • Posts: 2267
  • Gender: Male
  • Starbase Atlantis [X-refit]
    • 9th Fleet
Re: The Forge - The Hammer of Thor
« Reply #306 on: October 22, 2007, 08:24:08 am »
OK, thanks Bonk for fixing the Mission Blob for me :D .. havent had time to log into THOR since its been brought back up, but I'll see if there anything else still clogging it up.
Starfleet Headquarters out.

Fleet Commodore, XenoCorp, ISC Fleet.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #307 on: October 22, 2007, 10:00:12 am »
Well it looks like its down now and I'm off to work.  :(  Hey, did I read somewhere that the characters and ships were imported into this db? Maybe we've hit the point where there is an ID conflict? Try double checking the next object ID in the database description table against the largest record ID anywhere in the db to ensure the next one is larger, I did not check that.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #308 on: October 22, 2007, 04:26:13 pm »
It just occurred to me that this box Thor is on is new? It is a 64 bit AMD processor right?

We are running Win2003 Server Standard Edition on a 64 bit processor?  (ummm....)

I also notice that MySQL 5.1 is installed. 5.1 is a release candidate and should not be used for production boxes. We should roll it back to 5.0.45. (dont just coopy data dirs - but dump and reload after the rollback) Also, it should be a 64 bit version of MySQL (Oonce we have the right OS installed).

From the look of it it seems your troubles started when MySQL 5.1 was intalled.

Also, we may need to recompile the serverkit for 64 bit architecture. Has that been done yet?

Also has C++ been reinstalled on thor or was the software kjust restored from a backup to the new machine? Different platform will call for a new VC install and recompilation of our applications.

(though it is acceptable to run an 32 bit OS on a 64 bit processor, it will just be a bit slower, in which case we can stick with the 32 bit apps)
« Last Edit: October 22, 2007, 05:53:21 pm by Bonk »

Offline FCM_SFHQ_XC

  • There is life outside of Windows..
  • Administrator
  • Lt. Commander
  • *
  • Posts: 2267
  • Gender: Male
  • Starbase Atlantis [X-refit]
    • 9th Fleet
Re: The Forge - The Hammer of Thor
« Reply #309 on: October 22, 2007, 07:31:58 pm »
It just occurred to me that this box Thor is on is new? It is a 64 bit AMD processor right?

We are running Win2003 Server Standard Edition on a 64 bit processor? (ummm....)

I also notice that MySQL 5.1 is installed. 5.1 is a release candidate and should not be used for production boxes. We should roll it back to 5.0.45. (dont just coopy data dirs - but dump and reload after the rollback) Also, it should be a 64 bit version of MySQL (Oonce we have the right OS installed).

From the look of it it seems your troubles started when MySQL 5.1 was intalled.

Also, we may need to recompile the serverkit for 64 bit architecture. Has that been done yet?

Also has C++ been reinstalled on thor or was the software kjust restored from a backup to the new machine? Different platform will call for a new VC install and recompilation of our applications.

(though it is acceptable to run an 32 bit OS on a 64 bit processor, it will just be a bit slower, in which case we can stick with the 32 bit apps)
So far as I can tell V C++ has not been reinstalled on THOR, and yea I would agree.. it seems that MySQL 5.1 seems to be the thing that has changed and I can see it causing this since the serverkit was built on previous versions of MySQL. Also, yep, its a 64 bit AMD processor that THOR is running on.
I dont believ that the serverkit has been recompiled on 64 bit architecture..
it probably is the main reason for all these strange occurances with the instability of HoT.. its so sensative to every change now since it wasnt built for the latest and the best(or so MySQL 5.1 devs would claim).
I have also noticed that Process Sentinel with the serverkit running for long durations without a reset also seems to cause a slow down in preformance on the server..
Starfleet Headquarters out.

Fleet Commodore, XenoCorp, ISC Fleet.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #310 on: October 22, 2007, 08:32:25 pm »
. it seems that MySQL 5.1 seems to be the thing that has changed and I can see it causing this since the serverkit was built on previous versions of MySQL.

The MySQL code was added back on EAW 2.0.36 and the current stable version of MySQL back then 3.23. The Kit code has not changed in that respect in its interaction with the SQL db, as the communication is actually through MSADO, then ODBC then to the MySQL server.

The issue is not that the serverkit was built for earlier versions of MySQL but rather that MySQL 5.1 is a release candidate only intended for testing new features.

Quote
MySQL 5.1 -- Release Candidate release, Test new features early!

MySQL 5.1 Community Edition - Release Candidate Development Release
NOTE: This release candidate release, as any other pre-production release, should not be installed on production level systems or systems with critical data. It is good practice to back up your data before installing any new version of software. Although MySQL has worked very hard to ensure a high level of quality, protect your data by making a backup as you would for any other pre release software. MySQL generally recommends that you dump and reload your tables from any previous version to upgrade to 5.1.

There is no guarantee that this is the problem, but it is mighty suspicious as it seems it was installed about when the trouble started...

Would you like me to do the rollback or will you take care of it? (Make sure to dump, uninstall, move folder, reinstall and reload dbs - also ensure no conflicting libmysql.dll is present in the system32 folder - and use a similar my.ini setup ans the changes I've made to the 5.1 config)

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #311 on: October 23, 2007, 02:46:37 am »
I rolled thor back to MySQL 5.0.45 and the problem persists.  :(   So much for that theory.

In the process of working on the machine and watching the taskmanager as I went, something does not seem right about the memory in that system. I gotta ask frey if he has run a full test from the bios on these sticks in this machine at least once. Though what I'm seeing may be a result of the CPU/OS combo.

I'll check on the next object ID issue (I should have done that first)

Though this seems missions related somehow...

Offline FCM_SFHQ_XC

  • There is life outside of Windows..
  • Administrator
  • Lt. Commander
  • *
  • Posts: 2267
  • Gender: Male
  • Starbase Atlantis [X-refit]
    • 9th Fleet
Re: The Forge - The Hammer of Thor
« Reply #312 on: October 23, 2007, 05:43:00 am »
Is there any new specific error being produced since the Mission blob was fixed?
If I get the time today I'll take a look at the serverkit as well.
Starfleet Headquarters out.

Fleet Commodore, XenoCorp, ISC Fleet.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #313 on: October 23, 2007, 12:05:50 pm »
leave it be for a bit, I think I may have found the problem... I rolled it back to my last build (39) and it ran two missions in a row (an improvement) I did not test a third.

But I found 113 ships in the ship table with owner IDs not present in the character table, I removed these ships. (incomplete db cleans? - you need to remove the dead AI ships too... I have a good three query procedure for it.) This might explain that ADO/ODBC error of "could not find row to update".

So now its running under the process sentinel on build 39 with the ship table cleaned up. If its stable for a day or two then lets put build 41 back in and see what happens. And a good question would be why would build 41 be more sensitive to a bad ship table than build 39?


P.S. I have a bunch of screenshots of errors and the state of the taskmanager display while running build 41 when it was crashing, I'll try and get the relevant ones posted in the dev forum

P.P.S the DVs did not seem to be shifting properly... gotta look into that.
« Last Edit: October 23, 2007, 12:26:17 pm by Bonk »

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #314 on: October 23, 2007, 01:45:35 pm »
OK, I've restored MySQL 5.1 and build 41 of the serverkit since I've established those were not the problem (though there was a difference in the kit builds)... so we can continue to test new features of MySQL as suggested!

I've got a pretty good feeling that the ghost AI ships with no AI owners in the db were the problem. Tricky one to find. I'm going to try a few missions now and see what I get!

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #315 on: October 23, 2007, 02:00:59 pm »
Welp, maybe not, the kit crashes again with the combo of MySQL 5.1 and build 41 of the kit.

I'll see if my old build 39 will crash with this db on MySQL 5.1...

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #316 on: October 23, 2007, 02:31:57 pm »
I just ran three missions in a row no troubles with kit build 39 on MySQL 5.1. I'll leave it like that for now to see if its stable.

So it was not MySQL and probably not the game db (though it had troubles) but rather the kit build 41 seems to have an issue with this game db on either MySQL 5.0.45 or 5.1.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #317 on: October 23, 2007, 02:51:52 pm »
rebooting the machine...

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: The Forge - The Hammer of Thor
« Reply #318 on: October 23, 2007, 03:15:25 pm »
Server rebooted and back up and running. Lets see if she holds, if so, we have some debugging to do on that new build.

Offline FCM_SFHQ_XC

  • There is life outside of Windows..
  • Administrator
  • Lt. Commander
  • *
  • Posts: 2267
  • Gender: Male
  • Starbase Atlantis [X-refit]
    • 9th Fleet
Re: The Forge - The Hammer of Thor
« Reply #319 on: October 23, 2007, 07:53:46 pm »
Server rebooted and back up and running. Lets see if she holds, if so, we have some debugging to do on that new build.
Seems to be holding, though Ternado just reported to me that the Ed missions crash in nebs then causes the server to crash.
Starfleet Headquarters out.

Fleet Commodore, XenoCorp, ISC Fleet.