{"id":54,"date":"2006-04-12T14:55:00","date_gmt":"2006-04-12T21:55:00","guid":{"rendered":"http:\/\/www.steveneppler.com\/blog\/2006\/04\/12\/resource-temporarily-unavailable-with-cpanel-and-teamspeak"},"modified":"2006-04-12T14:55:00","modified_gmt":"2006-04-12T21:55:00","slug":"resource-temporarily-unavailable-with-cpanel-and-teamspeak","status":"publish","type":"post","link":"https:\/\/steveneppler.com\/blog\/2006\/04\/12\/resource-temporarily-unavailable-with-cpanel-and-teamspeak","title":{"rendered":"Resource Temporarily Unavailable with cPanel and TeamSpeak"},"content":{"rendered":"<p>One of my friends, <a href=\"http:\/\/www.ahacomputers.com\" target=\"_blank\">Jeremy Bergen<\/a>, is running a TeamSpeak server on one of my <a href=\"http:\/\/epplersoft.com\">servers<\/a>, and was running into a resource temporarily unavailable while ssh&#8217;d into the box.  The TeamSpeak server was also randomly shutting down, and this may have been caused by the same error.  TeamSpeak uses around between 10-16 processes itself, so after a logging in a few times or doing other things, this default limit of 20 it reached.<\/p>\n<p>To fix this, first I turned off cPanel&#8217;s built in &#8216;Prevent Shell Fork Bomb Protection&#8217;.  Then, I edited the \/etc\/security\/limits.conf.  I still wanted users to be limited to 20 processes, except for the TeamSpeak user which I wanted to have 40, and root which I wanted unlimited.  Here are the lines that I had:<\/p>\n<pre>\r\n*             soft     nproc     20\r\njeremy        soft     nproc     40\r\nroot          soft     nproc     unlimited\r\n<\/pre>\n<p>Of course, you can customize the file however you like.  The key is turning off cPanel&#8217;s internal protection so your box will use this file.  Also, I happen to use <a href=\"http:\/\/www.centos.org\" target=\"_blank\">CentOS 4.3<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>One of my friends, Jeremy Bergen, is running a TeamSpeak server on one of my servers, and was running into a resource temporarily unavailable while ssh&#8217;d into the box. The TeamSpeak server was also randomly shutting down, and this may have been caused by the same error. TeamSpeak uses around between 10-16 processes itself, so &#8230; <a title=\"Resource Temporarily Unavailable with cPanel and TeamSpeak\" class=\"read-more\" href=\"https:\/\/steveneppler.com\/blog\/2006\/04\/12\/resource-temporarily-unavailable-with-cpanel-and-teamspeak\" aria-label=\"Read more about Resource Temporarily Unavailable with cPanel and TeamSpeak\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,12],"tags":[],"class_list":["post-54","post","type-post","status-publish","format-standard","hentry","category-linux","category-web-hosting-and-design"],"_links":{"self":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/54","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/comments?post=54"}],"version-history":[{"count":0,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/posts\/54\/revisions"}],"wp:attachment":[{"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/media?parent=54"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/categories?post=54"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/steveneppler.com\/blog\/wp-json\/wp\/v2\/tags?post=54"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}