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 12-20-2007, 03:30 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default Shared memory error when starting server after reboot.

Whenever I start my server after a reboot I always see the following:

SharedMemory->datasize(0) != iSize(36508172), We can rebuild him faster better STRONGER!
Or not.. restart all servers on this machine

I run gentoo linux and have applied the shmmax fix as noted in this post which corrected the shmat issue from before but this new error just start popping up a few server revisions ago. Basically I just restart the server and it is fine until the PC is rebooted then I get the line again. If I stop the server then start it again without rebooting the pc I do not get the error.

I have the following line added to /etc/sysctl.conf:
kernel.shmmax = 134217728

and also did the command /sbin/sysctl -p to make it permanent.

When I run:
cat /proc/sys/kernel/shmmax

it returns:
134217728

Any help is appreciated.
Reply With Quote
  #2  
Old 12-20-2007, 07:27 AM
Bishop4351
Sarnak
 
Join Date: Sep 2006
Location: Texas
Posts: 49
Default

I had this this morning after a server crash I restarted world and it was good.
Reply With Quote
  #3  
Old 12-20-2007, 08:08 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Try rebooting your PC and then start the eqemu server up again you will get the same message and will have to stop the eqemu server and restart it for it to go away. Then it will be good until your server reboots , then you will have to do the process over.
Reply With Quote
  #4  
Old 12-26-2007, 08:11 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Look for my post about "shmmat" issues. There are a few solutions in there to make a perma change to your kernal.shmmax size.
Reply With Quote
  #5  
Old 12-27-2007, 12:58 AM
cubber
Discordant
 
Join Date: Apr 2006
Posts: 374
Default

Thanks for the reply John but I did follow all the directions in that post a while ago. Also in my first post in this thread I listed the values:

From the top:

I have the following line added to /etc/sysctl.conf:
kernel.shmmax = 134217728

and also did the command /sbin/sysctl -p to make it permanent.

When I run:
cat /proc/sys/kernel/shmmax

it returns:
134217728
Reply With Quote
  #6  
Old 01-01-2008, 04:00 AM
narcberry
Sarnak
 
Join Date: Mar 2005
Location: Idaho, USA
Posts: 94
Default

I have same problem. I have increased my shmmax and it persists after reboots. I'm running Eqemu 0.7.0-1070 on ubuntu with a clean install, and a fresh database from peq cvs.

On first load of world I get
Code:
SharedMemory->datasize(0) != iSize(31898332), We can rebuild him faster better STRONGER!
Or not.. restart all servers on this machine

It only displays on first world run after a server boot. It's not just a nuisance for me, since I also am getting this on zone launches:
Code:
Error: EMuShareMem: DLLLoadItems: iItemStructSize != sizeof(Item_Struct)
Item_Struct has changed, EMuShareMem.dll needs to be recompiled.
[Debug] [ZONE__INIT_ERR] Loading items FAILED!
[Debug] [ZONE__INIT] Failed.  But ignoring error and going on...
[Debug] [ZONE__INIT] Loading npc faction lists
Error: EMuShareMem: DLLLoadNPCFactionLists: iNPCFactionListStructSize != sizeof(NPCFactionList)
NPCFactionList struct has changed, EMuShareMem.dll needs to be recompiled.
[Debug] [ZONE__INIT_ERR] Loading npcs faction lists FAILED!
I can run 0.7.0-989 just fine, dunno about any versions in between. I've been struggling with this for a couple weeks now off and on. Lend me your head so I can pull out your hair too pls.
__________________
Thanks for answering my questions.
My Website
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 06:40 PM.


 

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