Check DB2 documentation about specific kernel parameters.
To see your current shared resouce limits use ipcs -l. To check the system limits, use the ulimit -a command.