NPROC and NSWAP kernel parameters
How to Increase NPROC and NSWAP kernel parameters.
Pls help me any body
Responses
Kernel parameters are added to the GRUB config, which is in /boot in RHEL 5/6 and in /etc/default/grub in RHEL 7. However neither of these things are kernel parameters.
nproc is the maximum number of processes a user is allowed to open in a login session. This is controlled by /etc/security/limits.conf. The correct syntax is explained in detail inside that file. You will need to have a user log out and in again (or if there is no user, stop and restart an application) for any changes to apply.
nswap is not a configuration option at all, it is an informational statistic about the number of memory page a process has swapped, either in /proc/self/stat or the getrusage() system call.
If that doesn't answer your query, can you tell us a bit more about what you've been asked to do and why?
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
