performance tuning tsm server
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?
Re: performance tuning tsm server
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 g...@bsu.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?
Re: performance tuning tsm server
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 g...@bsu.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 (skyl...@u.washington.edu) -- Genome Sciences Department, System Administrator -- Foege Building S046, (206)-685-7354 -- University of Washington School of Medicine
Re: performance tuning tsm server
If you search the ADSM-L archives, you will see we went through this a while ago. The startup script (for us tsminst1_dsmserv.rc) contains ulimit statements that sets them to much higher values - *ulimit -n 65536* and *ulimit -c unlimited*) . Second, when we upgraded to 6.3.5, IBM changed the startup script which further effects this. On Mon, May 18, 2015 at 11:14 AM, Lee, Gary g...@bsu.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? -- *Zoltan Forray* TSM Software Hardware Administrator Xymon Monitor Administrator Virginia Commonwealth University UCC/Office of Technology Services www.ucc.vcu.edu zfor...@vcu.edu - 804-828-4807 Don't be a phishing victim - VCU and other reputable organizations will never use email to request that you reply with your password, social security number or confidential personal information. For more details visit http://infosecurity.vcu.edu/phishing.html
Re: performance tuning tsm server
Adding those lines worked. Can one change the file /proc/pid/limits and change the limit for the running dsmserv process? I doubt it but thought I'd ask. -Original Message- From: ADSM: Dist Stor Manager [mailto:ADSM-L@VM.MARIST.EDU] On Behalf Of Nick Marouf Sent: Monday, May 18, 2015 11:32 AM To: ADSM-L@VM.MARIST.EDU Subject: Re: [ADSM-L] performance tuning tsm server 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 g...@bsu.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?