{"id":1878,"date":"2004-12-03T21:32:40","date_gmt":"2004-12-04T02:32:40","guid":{"rendered":"https:\/\/www.quirkspace.com\/quirkblog\/?p=623"},"modified":"2004-12-03T21:32:40","modified_gmt":"2004-12-04T02:32:40","slug":"comments-closed","status":"publish","type":"post","link":"https:\/\/www.quirkspace.com\/quirkblog\/?p=1878","title":{"rendered":"Comments Closed&#8230;"},"content":{"rendered":"<p>Sorry readers, but it&#8217;s time to close off the comments.  Spam has gotten to be enough of a problem that it&#8217;s slowing down a server we use for work.  MT-Blacklist isn&#8217;t taking care of that part of the problem, so I&#8217;ve had to add a bit of fun to the server itself.  Basically, every five minutes, the server looks for the mt-comments.cgi script and kills off the multiple copies of perl that it&#8217;s spawned.<\/p>\n<p>Here&#8217;s the command, just in case anyone else needs it:<br \/>\n<code>ps -ax | grep mt-comments.cgi | awk '{print $1}' | xargs kill<\/code><\/p>\n<p>Put that in Root&#8217;s crontab with a 5 minute refresh and watch all your load problems fade away&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sorry readers, but it&#8217;s time to close off the comments. Spam has gotten to be enough of a problem that it&#8217;s slowing down a server we use for work. MT-Blacklist isn&#8217;t taking care of that part of the problem, so &hellip; <a href=\"https:\/\/www.quirkspace.com\/quirkblog\/?p=1878\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[26],"class_list":["post-1878","post","type-post","status-publish","format-standard","hentry","tag-technical-notes"],"_links":{"self":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/posts\/1878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1878"}],"version-history":[{"count":0,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=\/wp\/v2\/posts\/1878\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.quirkspace.com\/quirkblog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}