Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-16-2009, 01:33 PM
LeftRoad
Sarnak
 
Join Date: Aug 2005
Location: Maine
Posts: 38
Default restarting EMU to update items?

Wasn't really sure what to name this thread. I guess that's close enough.

If I shutdown the login/world/zone processes and then restart them after updating something in the database it doesn't seem to update them. I have to actually reboot the server to do it. I can see this while watching the world server start, where it usually pauses to load items it just skips right along in a hurry. No error messages.

I tried restarting the MySQL service but that doesn't help either. What I'm guessing is that libEMuShareMem.so, once loaded, stays loaded. What does that shared library do? Well, besides the obvious. Is it a plugin for MySQL? Most importantly, is there a way to unload it or reset it so I can restart the server processes without rebooting?
Reply With Quote
  #2  
Old 02-16-2009, 02:07 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Items are stored in shared memory (libEMuShareMem.so handles this) which means they are loaded once on startup into memory and never touched again. This has the benefit of a great increase in speed as the data is all right there, no need to query for it. Faction, loot, and spells are also in shared memory. At the present, there is no way to alter any of that data and have it take effect without rebooting the server's binaries.

You're running Linux, so you need to run cleanipc to clear your shared memory which should be added to your stop script. Search the forums for info on both.

Last edited by cavedude; 02-16-2009 at 10:10 PM..
Reply With Quote
  #3  
Old 02-16-2009, 10:24 PM
LeftRoad
Sarnak
 
Join Date: Aug 2005
Location: Maine
Posts: 38
Default

Awesome, thanks for the info. I've seen cleanipc but it's not in my stop script, for some odd reason. I'll dig for more info on that.
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:38 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3