View Single Post
  #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