ADSM-L

Re: [ADSM-L] performance tuning tsm server

2015-05-18 11:40:30
Subject: Re: [ADSM-L] performance tuning tsm server
From: Skylar Thompson <skylar2 AT U.WASHINGTON DOT EDU>
To: ADSM-L AT VM.MARIST DOT EDU
Date: Mon, 18 May 2015 08:38:16 -0700
Yep, we do the same thing. Note that /etc/security is only used by PAM, so
processes that don't descend from a PAM-managed login won't be affected by
it. This makes for an interesting problem where you will get different
limits for dsmserv if it's started during the system's boot process vs
started manually by a login shell, since the login shell will have PAM
limits on it. For this reason, you should always set the ulimit values you
need in the init script.

On Mon, May 18, 2015 at 09:32:28AM -0600, Nick Marouf wrote:
> Hello,
>  I added the following two lines in the tsm startup script. the -n 8192 in
> the startup script will start the process using the higher count number.
>
> more /etc/init.d/tsminst1
>
> start() {
> # make sure that the server CAN create a core dump in the event of an error
> # NAM - 16082014 - Added Ulimit 8192 for open files and -c unlimited for
> core dump
>         ulimit -c unlimited
>         ulimit -n 8192
>
>         echo -n "Starting $prog instance $instance ... "
>         #if we're already running, say so
>
> Hope that helps,
> -Nick
>
>
>
> On Mon, May 18, 2015 at 9:14 AM, Lee, Gary <glee AT bsu DOT edu> wrote:
>
> > Servers running on redhat enterprise 6.1 and 6.5.
> >
> > Trying to set open files, max processes, etc for the dsmserv process.
> >
> > Tried using /etc/security/limits.conf, but no help.
> > Looking in /proc/process-id/limits
> >
> > Open files is 4096.
> >
> > However, set at 8192 for soft and 10240 for hard in
> > /etc/security/limits.conf.
> >
> > Any idea where the 4096 is coming from?
> >

--
-- Skylar Thompson (skylar2 AT u.washington DOT edu)
-- Genome Sciences Department, System Administrator
-- Foege Building S046, (206)-685-7354
-- University of Washington School of Medicine

<Prev in Thread] Current Thread [Next in Thread>