Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Linux Shared Memory Configuration

    1 answers - 2329 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    Technote talking about Linux kernel tuning recommendations:
    A little old but I doubt the variables have changed any.
    - John Nardello
    Message
    From: veritas-bu-bounces (AT) mailman (DOT) eng.auburn.edu
    [mailto:veritas-bu-bounces (AT) mailman (DOT) eng.auburn.edu] Behalf Kathryn
    Hemness
    Sent: Monday, September 18, 2006 3:59 PM
    To: veritas-bu (AT) mailman (DOT) eng.auburn.edu
    Subject: [Veritas-bu] Linux Shared Memory Configuration
    Greetings,
    My backup enterprise currently consists of a Solaris 9 Sun V240 master
    and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.
    I've been getting the following messages for backups and duplications
    to storage units on my Linux media servers:
    "problems encountered during setup of shared memory (89)"
    I use disk storage units and a mixed LT/LT library.
    I've attempted to setup my Linux media servers similar to my Solaris 9
    master by using the same NUMBER/SIZE_DATA_BUFFERS files in
    /usr/openv/netbackup/db/config. But on my Solaris 9 master, I also
    had /etc/system settings for msgsys, semsys, and shmsys values.
    I haven't been able to find anything about needing similar
    /etc/system tuning on Linux (I believe the /etc/system equivalents are
    set
    via the /etc/sysctl.conf file).
    I'm hoping someone can tell me if all of the /etc/system parameters can
    be set with sysctl on Linux and if their names are the same. Here are
    my
    current Solaris /etc/system parameters:
    set msgsys:msginfo_msgmap=512
    set msgsys:msginfo_msgmax=8192
    set msgsys:msginfo_msgmnb=65536
    set msgsys:msginfo_msgmni=256
    set msgsys:msginfo_msgssz=16
    set msgsys:msginfo_msgtql=512
    set msgsys:msginfo_msgseg=8192
    set semsys:seminfo_semmap=64
    set semsys:seminfo_semmni=1024
    set semsys:seminfo_semmns=1024
    set semsys:seminfo_semmnu=1024
    set semsys:seminfo_semmsl=300
    set semsys:seminfo_semopm=32
    set semsys:seminfo_semume=64
    set
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=220
    set shmsys:shminfo_shmseg=100
    Any help is appreciated.
    Veritas-bu maillist - Veritas-bu (AT) mailman (DOT) eng.auburn.edu
    Veritas-bu maillist - Veritas-bu (AT) mailman (DOT) eng.auburn.edu
  • No.1 | | 3725 bytes | |

    Greetings,

    Thanks to all who respondedMost of the suggestions were helpful.

    This is a good technote and I'm going to try adjusting my values.
    Regarding bob944's comments, my Linux media servers ARE running
    with default kernel parameters and I'm seeing shared memory errors.
    The files in the /usr/openv/netbackup/db/config were recommended
    for both Solaris and Linux. It is for these reasons that I posted
    my query.

    I'm posting my current values for the parameters and indicating
    the recommended minimal settings in parenthesis:

    kernel.msgmnb = 16384 (65536)
    kernel.msgmni = 16 (256)
    kernel.msgmax = 8192 (8192)

    kernel.shmmni = 4096 (1024)
    kernel.shmall = 2097152 (nothing indicated in document)
    kernel.shmmax = 33554432 (16777216) - my value is already larger, so I'm keeping it.

    kernel.sem = 250 32000 32 128
    (300 1024 32 1024)
    semmsl, semmns, semopm, semmni)

    My Linux servers have 4GB of memory so I can always make upward adjustments.

    Tue, 19 Sep 2006, Nardello, John wrote:

    Date: Tue, 19 Sep 2006 08:21:59 -0700
    From: "Nardello, John" <john.nardello (AT) wamu (DOT) net>
    To: Kathryn Hemness <kfhemness (AT) ucdavis (DOT) edu>,
    veritas-bu (AT) mailman (DOT) eng.auburn.edu
    Subject: RE: [Veritas-bu] Linux Shared Memory Configuration

    Technote talking about Linux kernel tuning recommendations:

    A little old but I doubt the variables have changed any.

    - John Nardello

    Message
    From: veritas-bu-bounces (AT) mailman (DOT) eng.auburn.edu
    [mailto:veritas-bu-bounces (AT) mailman (DOT) eng.auburn.edu] Behalf Kathryn
    Hemness
    Sent: Monday, September 18, 2006 3:59 PM
    To: veritas-bu (AT) mailman (DOT) eng.auburn.edu
    Subject: [Veritas-bu] Linux Shared Memory Configuration

    Greetings,

    My backup enterprise currently consists of a Solaris 9 Sun V240 master
    and 3 Sun X4200 RHEL3 Linux Media Servers running NB51MP5.

    I've been getting the following messages for backups and duplications
    to storage units on my Linux media servers:

    "problems encountered during setup of shared memory (89)"

    I use disk storage units and a mixed LT/LT library.

    I've attempted to setup my Linux media servers similar to my Solaris 9
    master by using the same NUMBER/SIZE_DATA_BUFFERS files in
    /usr/openv/netbackup/db/config. But on my Solaris 9 master, I also
    had /etc/system settings for msgsys, semsys, and shmsys values.

    I haven't been able to find anything about needing similar
    /etc/system tuning on Linux (I believe the /etc/system equivalents are
    set
    via the /etc/sysctl.conf file).

    I'm hoping someone can tell me if all of the /etc/system parameters can
    be set with sysctl on Linux and if their names are the same. Here are
    my
    current Solaris /etc/system parameters:

    set msgsys:msginfo_msgmap=512
    set msgsys:msginfo_msgmax=8192
    set msgsys:msginfo_msgmnb=65536
    set msgsys:msginfo_msgmni=256
    set msgsys:msginfo_msgssz=16
    set msgsys:msginfo_msgtql=512
    set msgsys:msginfo_msgseg=8192

    set semsys:seminfo_semmap=64
    set semsys:seminfo_semmni=1024
    set semsys:seminfo_semmns=1024
    set semsys:seminfo_semmnu=1024
    set semsys:seminfo_semmsl=300
    set semsys:seminfo_semopm=32
    set semsys:seminfo_semume=64

    set
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=220
    set shmsys:shminfo_shmseg=100

    Any help is appreciated.

    Veritas-bu maillist - Veritas-bu (AT) mailman (DOT) eng.auburn.edu

    Veritas-bu maillist - Veritas-bu (AT) mailman (DOT) eng.auburn.edu

Re: Linux Shared Memory Configuration


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Networking"

EMSDN.COM