View Single Post
  #13  
Old 09-06-2006, 11:00 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

I am experimenting with an EQEmu Linux installation right now and it comes to my mind that maybe you didnt had enough shared memory.
Look in your logs or start a zone server and see if you find the following lines:

Code:
failed to get 0-length shared mem: Function not implemented
shmat failed! Invalid argument
To check your current shared memory limit setting do this

cat /proc/sys/kernel/shmmax

The Number you got is the size in BYTES

You can change that on the fly with this command. As an example let us set the size to 128 MB

echo 134217700 > /proc/sys/kernel/shmmax

To see an effect you should restart the EQEmu server after that.
After a reboot of the server the setting is gone. If you want to make it permanent you have to edit /etc/sysctl.conf (at least for Debian, Redhat/Fedora and derviates)
See if you already have an 'kernel.shmmax' entry you can modify. Otherwise add the line:

Code:
kernel.shmmax = 134217700
Reply With Quote