Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Bug Reports

Development::Bug Reports Post detailed bug reports and what you would like to see next in the emu here.

Reply
 
Thread Tools Display Modes
  #1  
Old 11-11-2004, 11:13 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default Not sure what this bug is...

I really dont know what happened here. My server has been running great, so great I decided to try to boot up 10 zones. But since then I started to get this message in my ZONES log file:

[Status] Starting Log: logs/eqemu_zone.log
[Status] Using database 'eq' at localhost
[Status] CURRENT_ZONE_VERSION: EQEMu 0.6.0-DR2
[Status] Loading Variables
[Status] Loading zone names
[Status] Loading items
[Status] libEMuShareMem.so loaded
[Status] Loading npcs
[Status] Loading npc faction lists
[Status] Loading loot tables
Error: EMuShareMem: DLLLoadLoot: !LootMMF.IsLoaded() (timeout)
[Error] Starting Log: logs/eqemu_error_zone.log
[Error] Loading loot FAILED!
Warning something odd happened freeing shared memory
Warning something odd happened freeing shared memory
Warning something odd happened freeing shared memory

the following is in my eqemu_error_zone.log:

---------------------------------------------
2342 [11.11. - 17:07:14] Starting Log: logs/eqemu_error_zone.log
2342 [11.11. - 17:07:14] Loading loot FAILED!
---------------------------------------------
2340 [11.11. - 17:07:14] Starting Log: logs/eqemu_error_zone.log
2340 [11.11. - 17:07:14] Loading loot FAILED!
---------------------------------------------
2341 [11.11. - 17:07:14] Starting Log: logs/eqemu_error_zone.log
2341 [11.11. - 17:07:14] Loading loot FAILED!

And this weird file gets generated in my /bin directory named gmon.out but its full of white space when I MORE it.

All I did was try to load up 10 zones.. After this happened I restored my original boot script thats been running great, but this same thing keeps happening now no matter how few zones I run.

I also verified my DB is up and accepting requests as I manually checked that out..

This is a 6.0 DR2 CVS 11/9/2004 server with perl enabled running on a redhat 9 linux server with the peq_kunark_latest DB.

Any ideas?
Reply With Quote
  #2  
Old 11-12-2004, 04:06 AM
fathernitwit
Developer
 
Join Date: Jul 2004
Posts: 773
Default

Quote:
Error: EMuShareMem: DLLLoadLoot: !LootMMF.IsLoaded() (timeout)
aka your mysql server is being too slow. try running these queries by hand, one by one, against mysql on the command line (not in some stupid tool):
SELECT max(id), count(*) FROM loottable
SELECT count(*) FROM loottable_entries
SELECT max(id), count(*) FROM lootdrop
SELECT max(lootdrop_id), count(*) FROM lootdrop_entries
SELECT id, mincash, maxcash, avgcoin FROM loottable
SELECT id FROM lootdrop

caution: the last 2 are going to spit out a ton of shit.
If any of them take more than a few seconds to start printing stuff (you can kill it once they start printing), then your DB server cant produce the results fast enough for the zone. One thing you might try is just booting 1 zone, sleeping for like 30 seonds-1 minute and then booting the rest, so the other 9 zones arent interfering with mysql any.

if that dosent work, im out of ideas.
Reply With Quote
  #3  
Old 11-12-2004, 04:44 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

Thanks a ton for the suggestion.. I put some sleep 10 commands in between the zone launches and it seems to work. Takes several minutes to bring the server up, but they do all launch now so thats cool. I guess it makes sense that 10+ zones all trying to load DB info at the same second would result in some timeouts. I'm going to look into moving my DB server to a dedicated server to see if that works better for me, but once all the zones launch, server performance seems fine.
Reply With Quote
  #4  
Old 11-19-2004, 07:08 AM
Xorith
Sarnak
 
Join Date: Nov 2004
Posts: 52
Default

Curious:

What *is* gmon.out?

And...

After the first zone loads, do the others load faster? Meaning, does it all get cached or something?
Reply With Quote
Reply


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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 08:43 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3