IBM Support

Setting the ulimit for a single userid on Linux

Question & Answer


Question

Is it possible to set the ulimit on Linux for the Tivoli Storage Manager/DB2 instance ID only?

Cause

A Tivoli Storage Manager/ DB2 instance ID may have greater ulimit requirements than other users and not all users need to have the same ulimit's.

Answer

The limits.conf file on linux can be edited to configure a specific userid to have specific ulimit's.

Syntax: <domain> <type> <item> <value>
Domain can be
a username
a groupname, with @group syntax.
the wildcard *, for default entry - all users.
the wildcard %, for maxlogins limit only, can also be used with %group syntax.
Example:
*               soft    core            0
*               hard    nofile          512
tsminst1        hard    nofile          65536
@student        hard    nproc           20    
@faculty        soft    nproc           20    
@faculty        hard    nproc           50    
ftp             hard    nproc           0    
@student        -       maxlogins       4    
:123            hard    cpu             5000

[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Server","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Product Synonym

TSM ADSM ITSM Tivoli Storage Manager IBM Spectrum Protect

Document Information

Modified date:
17 June 2018

UID

swg21636634