{"id":657,"date":"2015-04-14T19:15:22","date_gmt":"2015-04-14T19:15:22","guid":{"rendered":"http:\/\/vickistan.com\/?p=657"},"modified":"2015-04-14T19:18:19","modified_gmt":"2015-04-14T19:18:19","slug":"editing-ulimit-variables-permanently","status":"publish","type":"post","link":"https:\/\/vickistan.com\/?p=657","title":{"rendered":"Editing ulimit variables permanently"},"content":{"rendered":"<p>If you want to edit ulimit variables that return with the ulimit -a command:<\/p>\n<p>You can do it temporarily from the command line with the ulimit command, but to make it permanent, you have to put the change in \/etc\/security\/limits.conf. The difficulty is determining the correct format. For pending signals, for example, I couldn&#8217;t find an example.<\/p>\n<p>It works for me when I add this:<\/p>\n<p>*                soft   sigpending       2103295<br \/>\n*                hard   sigpending       2103295<\/p>\n<p>I then logout and back in and test with the ulimit command:<\/p>\n<p>[root@ridus357 ~]# ulimit -a |grep sig<br \/>\npending signals                 (-i) 2103295<\/p>\n<p>Since they are not easy to find, I am listing them here:<\/p>\n<p>core &#8211; limits the core file size (KB)<br \/>\ndata &#8211; max data size (KB)<br \/>\nfsize &#8211; maximum filesize (KB)<br \/>\nmemlock &#8211; max locked-in-memory address space (KB)<br \/>\nnofile &#8211; max number of open files<br \/>\nrss &#8211; max resident set size (KB)<br \/>\nstack &#8211; max stack size (KB)<br \/>\ncpu &#8211; max CPU time (MIN)<br \/>\nnproc &#8211; max number of processes<br \/>\nas &#8211; address space limit (KB)<br \/>\nmaxlogins &#8211; max number of logins for this user<br \/>\nmaxsyslogins &#8211; max number of logins on the system<br \/>\npriority &#8211; the priority to run user process with<br \/>\nlocks &#8211; max number of file locks the user can hold<br \/>\nsigpending &#8211; max number of pending signals<br \/>\nmsgqueue &#8211; max memory used by POSIX message queues (bytes)<br \/>\nnice &#8211; max nice priority allowed to raise to values: [-20, 19]<br \/>\nrtprio &#8211; max realtime priority<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to edit ulimit variables that return with the ulimit -a command: You can do it temporarily from the command line with the ulimit command, but to make it permanent, you have to put the change in \/etc\/security\/limits.conf. &hellip; <a href=\"https:\/\/vickistan.com\/?p=657\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-657","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/657","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=657"}],"version-history":[{"count":4,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/657\/revisions"}],"predecessor-version":[{"id":661,"href":"https:\/\/vickistan.com\/index.php?rest_route=\/wp\/v2\/posts\/657\/revisions\/661"}],"wp:attachment":[{"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vickistan.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}