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

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

Reply
 
Thread Tools Display Modes
  #16  
Old 10-21-2007, 05:56 AM
uncommon
Sarnak
 
Join Date: Feb 2002
Posts: 52
Default

Many thanks cavedude. Sourced it np.
Reply With Quote
  #17  
Old 10-21-2007, 10:37 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

The following changes are needed:

Code:
update items set stackable = 1 where clickeffect = -1 and maxcharges = 1;
update items set stackable = 1 where itemtype in (14,18,28,55,15,19,37,56,17,27,38,53,21);
update items set casttime = casttime_;
update items set stackable = 1 where name like 'Spell:%' and itemtype = 20;
update items set slots = 2097152 where slots = 4194304;
Some more itemtypes were added as being stackable, food/drink consumption is fixed, and many ammo slot items are now fixed. The players on PEQ didn't really find any other bugs with the new table so after this update all should be good. If more updates are needed, however I will post.
Reply With Quote
  #18  
Old 10-22-2007, 12:56 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

More fixes bard spells and items:

Code:
update items set slots = 2099200 where slots = 4196352;
update items set stackable = 1 where name like 'Song:%' and itemtype = 20;
Reply With Quote
  #19  
Old 10-23-2007, 01:57 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

Excellent guys, thank you for bringing this to a conclusion.

Cavedude, are the updates you mentioned in the peq-db svn? If so, I'll just continue to source from there. Thanks again!
Reply With Quote
  #20  
Old 10-23-2007, 02:32 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

They will be by the end of the day
Reply With Quote
  #21  
Old 10-23-2007, 03:08 AM
John Adams
Demi-God
 
Join Date: Jul 2006
Posts: 1,552
Default

A temporary solution appears to be running this on my Linux FC4 server:

Code:
echo 83886080 > /proc/sys/kernel/shmmax
This sets my current shared memory at 80mb, but when I reboot it will go back to the default 32mb. This is where things get scarey with Linux for me; the perma fix is to change Kernel source and recompile. I have never done this, and I will certainly screw things up

Some general info about making this change permanent (related to installing Ingres, but still informative):
Quote:
3.3. Kernel Parameters
The default settings of the Linux kernel are adequate for a development Ingres environment. For a live system, however, probably to increase the size of the database cache(s), you may want to change the built-in value of the SHMMAX parameter. This parameter sets the maximum size of a shared memory segment. By default, it is 32 Mb which allows for a somewhat lesser buffer cache.

You have two choices to change the value of SHMMAX:

As root, simply echo the new value into /proc/sys/kernel/shmmax:

Code:
#echo 83886080 > /proc/sys/kernel/shmmax
In the example above, we set the value of SHMMAX to 80 Mb. The change takes effect immediately but after a reboot, the original value is restored.

The other possibility is to change SHMMAX's default value in the kernel source (the relevant header file is /usr/src/linux/include/asm/shmparam.h if you have installed the source). In this case, you may also have to modify other parameters in the file, then rebuild the kernel. I suggest you do it only if you know what you are doing. For information on how to configure and compile the kernel see The Linux Kernel HOWTO by Brian Ward.
Source: http://www.linux.com/base/ldp/howto/...TO/sysreq.html

If I figure it out, I'll post it. I cannot imagine I am the only one with this problem... but maybe a newer distro could solve it?
Reply With Quote
  #22  
Old 10-23-2007, 05:24 AM
WildcardX
Developer
 
Join Date: Apr 2003
Posts: 589
Default

I know openSUSE 10.3 doesnt have this problem. Actually its really not a "problem", its just a configuration. But if you are asking if there is a distro that doesnt need to have this configuration adjusted out of the box, then I know openSUSE 10.3 is one that doesn't need to be.
__________________
Read my developer notes at my blog.

Quote:
If it's not on IRC, it ain't l33t!
Reply With Quote
  #23  
Old 10-23-2007, 01:54 PM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Grandmaster items:

Code:
update items set slots = 2123776 where slots = 4220928;
Reply With Quote
  #24  
Old 10-23-2007, 01:59 PM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Can also put the command in your init script so that it gets changed at startup every time.

But who reboots a linux server anymore?

That's so... so... Windows. hehehehe
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
Reply With Quote
  #25  
Old 10-24-2007, 10:00 AM
cavedude's Avatar
cavedude
The PEQ Dude
 
Join Date: Apr 2003
Location: -
Posts: 1,988
Default

Another option is to put it in the beginning of your EQEmu startup script, that's what I am doing and it works fine even after a reboot.

CVS was just updated, btw.

Last edited by cavedude; 10-24-2007 at 06:04 PM..
Reply With Quote
  #26  
Old 10-25-2007, 02:14 AM
sesmar
I built it I will Support it!
 
Join Date: Jun 2005
Location: Michigan
Posts: 214
Default

I know this is referring to Sybase but this is a fix for shmat issues on Gentoo.

Quote:
Sybase requires at least 64MB of system wide shared memory. Unfortunately, most linux distros, including Gentoo are configured with on 32MB, by default. To verify that your system has not been configured with more, issue the command /sbin/sysctl kernel.shmmax. If it doesn't report at least 64MB, or 67108864 bytes, then perform one of the following: - To temporarily increase the shared memory until next reboot issue the following: /sbin/sysctl -w kernel.shmmax=67108864 - To increase it permanently, edit /etc/sysctl.conf to include the following:

kernel.shmmax = 67108864

To make this take effect from now on issue a /sbin/sysctl -p.
__________________
Reply With Quote
  #27  
Old 10-26-2007, 01:49 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Quote:
Originally Posted by sesmar View Post
I know this is referring to Sybase but this is a fix for shmat issues on Gentoo.
This worked on my Mandriva too , thanks.
Reply With Quote
  #28  
Old 10-30-2007, 01:09 AM
gernblan
Discordant
 
Join Date: Aug 2006
Posts: 394
Default

Yup, will work on pretty much any distro
__________________
--
Keelyeh
Owner, ServerOp and Developer
Jest 4 Server
Linux (Jest3 runs on Fedora, our Dev servers usually run on Ubuntu and/or Gentoo), OC-12 Connection = Hella Fast
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 03:56 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