<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"
"http://www.w3.org/MarkUp/DTD/xhtml-rdfa-1.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" version="XHTML+RDFa 1.0" dir="ltr"
xmlns:fb="http://ogp.me/ns/fb#"
xmlns:og="http://ogp.me/ns#"
xmlns:article="http://ogp.me/ns/article#"
xmlns:book="http://ogp.me/ns/book#"
xmlns:profile="http://ogp.me/ns/profile#"
xmlns:video="http://ogp.me/ns/video#"
xmlns:product="http://ogp.me/ns/product#">
<head profile="http://www.w3.org/1999/xhtml/vocab">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="https://www.google.com/recaptcha/api.js?hl=en" async="async" defer="defer"></script>
<link rel="shortcut icon" href="http://www.antojose.com/sites/default/files/public/anto-jose-001.jpg" type="image/jpeg" />
<meta name="description" content="This is an issue which occurs due to the maximum number of open files allowed for a process (mysql in this case) being very less that what is required - something that happens because you have lots of large tables / a large DB. To fix this, you just have to increase the limits in a few places. Here is how you do it:" />
<meta name="generator" content="Drupal 7 (http://drupal.org)" />
<link rel="canonical" href="http://www.antojose.com/node/50" />
<link rel="shortlink" href="http://www.antojose.com/node/50" />
<meta property="og:site_name" content="antojose.com" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://www.antojose.com/node/50" />
<meta property="og:title" content="[SOLVED] How to Fix on Ubuntu/Debian linux - MySQL/MariaDB: Out of resources when opening file (Errcode: 24)" />
<meta property="og:description" content="This is an issue which occurs due to the maximum number of open files allowed for a process (mysql in this case) being very less that what is required - something that happens because you have lots of large tables / a large DB. To fix this, you just have to increase the limits in a few places. Here is how you do it:" />
<meta property="og:updated_time" content="2014-03-11T04:49:37+05:30" />
<meta property="article:published_time" content="2014-03-11T04:25:25+05:30" />
<meta property="article:modified_time" content="2014-03-11T04:49:37+05:30" />
<title>[SOLVED] How to Fix on Ubuntu/Debian linux - MySQL/MariaDB: Out of resources when opening file (Errcode: 24) | antojose.com</title>
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/sites/default/files/public//css/css_xE-rWrJf-fncB6ztZfd2huxqgxu4WO-qwma6Xer30m4.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/sites/default/files/public//css/css_8_QKQjo6I581bcQ12ZUCISW0l2jx1UMxP2MwerCfG4w.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/sites/default/files/public//css/css_ho01hPNYFPXQ7ZYc_pMiGDnJ7Jjb2by9LQGTosxHWEk.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/sites/default/files/public//css/css_gOaFDMFlJxy-ZR-9z1VPiCOeTzaAYB3hcpfS4X8JxZI.css" media="all" />
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/sites/default/files/public//css/css_2THG1eGiBIizsWFeexsNe1iDifJ00QRS9uSd03rY9co.css" media="print" />
<!--[if lte IE 7]>
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/themes/bartik/css/ie.css?ofnmmu" media="all" />
<![endif]-->
<!--[if IE 6]>
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/themes/bartik/css/ie6.css?ofnmmu" media="all" />
<![endif]-->
<link type="text/css" rel="stylesheet" href="http://www.antojose.com/sites/default/files/public//css/css_zkK35Th979krbf-D_gga5cRyAkGOTB78bQSVxOwUzV8.css" media="all" />
<script type="text/javascript" src="http://www.antojose.com/sites/default/files/public//js/js_UWQINlriydSoeSiGQxToOUdv493zEa7dpsXC1OtYlZU.js"></script>
<script type="text/javascript" src="http://www.antojose.com/sites/default/files/public//js/js_9quVfS3gZladorkV2ed-FVAfl5erRUkKd0N5N7vsDg8.js"></script>
<script type="text/javascript" src="http://www.antojose.com/sites/default/files/public//js/js_Fl8k0iuP6VEpB7300oos-fS56hei3vPA7MdTvzINA9Y.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
(function(i,s,o,g,r,a,m){i["GoogleAnalyticsObject"]=r;i[r]=i[r]||function(){(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)})(window,document,"script","//www.google-analytics.com/analytics.js","ga");ga("create", "UA-15575285-1", {"cookieDomain":"auto"});ga("send", "pageview");
//--><!]]>
</script>
<script type="text/javascript" src="http://www.antojose.com/sites/default/files/public//js/js_U4NwpHfNvPgCwUUvLae0TEZNVZ-7I9yx6KmWZee00mM.js"></script>
<script type="text/javascript">
<!--//--><![CDATA[//><!--
jQuery.extend(Drupal.settings, {"basePath":"\/","pathPrefix":"","ajaxPageState":{"theme":"bartik","theme_token":"9OtUmMjQa37uj2qonRsYW9enSy6Zz6HXCQgWiOnhTus","js":{"misc\/jquery.js":1,"misc\/jquery.once.js":1,"misc\/drupal.js":1,"sites\/all\/libraries\/prettify\/prettify.js":1,"misc\/jquery.cookie.js":1,"misc\/form.js":1,"sites\/all\/modules\/prettify\/prettify.loader.js":1,"sites\/all\/modules\/captcha\/captcha.js":1,"sites\/all\/modules\/google_analytics\/googleanalytics.js":1,"0":1,"misc\/textarea.js":1,"modules\/filter\/filter.js":1},"css":{"modules\/system\/system.base.css":1,"modules\/system\/system.menus.css":1,"modules\/system\/system.messages.css":1,"modules\/system\/system.theme.css":1,"modules\/book\/book.css":1,"modules\/comment\/comment.css":1,"modules\/field\/theme\/field.css":1,"modules\/node\/node.css":1,"modules\/search\/search.css":1,"modules\/user\/user.css":1,"sites\/all\/modules\/views\/css\/views.css":1,"sites\/all\/modules\/ckeditor\/css\/ckeditor.css":1,"sites\/all\/modules\/ctools\/css\/ctools.css":1,"sites\/all\/modules\/facebookshare\/facebookshare.css":1,"modules\/filter\/filter.css":1,"sites\/default\/files\/public\/\/honeypot\/honeypot.css":1,"public:\/\/spamicide\/your_site_info.css":1,"themes\/bartik\/css\/layout.css":1,"themes\/bartik\/css\/style.css":1,"themes\/bartik\/css\/colors.css":1,"themes\/bartik\/css\/print.css":1,"themes\/bartik\/css\/ie.css":1,"themes\/bartik\/css\/ie6.css":1,"sites\/all\/modules\/prettify\/styles\/sunburst.css":1}},"prettify":{"linenums":false,"match":".content","nocode":"no-code","custom":[],"markup":{"code":true,"pre":true,"precode":false}},"googleanalytics":{"trackOutbound":1,"trackMailto":1,"trackDownload":1,"trackDownloadExtensions":"7z|aac|arc|arj|asf|asx|avi|bin|csv|doc(x|m)?|dot(x|m)?|exe|flv|gif|gz|gzip|hqx|jar|jpe?g|js|mp(2|3|4|e?g)|mov(ie)?|msi|msp|pdf|phps|png|ppt(x|m)?|pot(x|m)?|pps(x|m)?|ppam|sld(x|m)?|thmx|qtm?|ra(m|r)?|sea|sit|tar|tgz|torrent|txt|wav|wma|wmv|wpd|xls(x|m|b)?|xlt(x|m)|xlam|xml|z|zip"},"ckeditor":{"input_formats":{"filtered_html":{"customConfig":"\/sites\/all\/modules\/ckeditor\/ckeditor.config.js?","defaultLanguage":"en","toolbar":"\n[\n [\u0027Source\u0027],\n [\u0027Cut\u0027,\u0027Copy\u0027,\u0027Paste\u0027,\u0027PasteText\u0027,\u0027PasteFromWord\u0027,\u0027-\u0027,\u0027SpellChecker\u0027, \u0027Scayt\u0027],\n [\u0027Undo\u0027,\u0027Redo\u0027,\u0027Find\u0027,\u0027Replace\u0027,\u0027-\u0027,\u0027SelectAll\u0027,\u0027RemoveFormat\u0027],\n [\u0027Image\u0027,\u0027Media\u0027,\u0027Flash\u0027,\u0027Table\u0027,\u0027HorizontalRule\u0027,\u0027Smiley\u0027,\u0027SpecialChar\u0027],\n [\u0027Maximize\u0027, \u0027ShowBlocks\u0027],\n \u0027\/\u0027,\n [\u0027Format\u0027],\n [\u0027Bold\u0027,\u0027Italic\u0027,\u0027Underline\u0027,\u0027Strike\u0027,\u0027-\u0027,\u0027Subscript\u0027,\u0027Superscript\u0027],\n [\u0027NumberedList\u0027,\u0027BulletedList\u0027,\u0027-\u0027,\u0027Outdent\u0027,\u0027Indent\u0027,\u0027Blockquote\u0027],\n [\u0027JustifyLeft\u0027,\u0027JustifyCenter\u0027,\u0027JustifyRight\u0027,\u0027JustifyBlock\u0027,\u0027-\u0027,\u0027BidiLtr\u0027,\u0027BidiRtl\u0027],\n [\u0027Link\u0027,\u0027Unlink\u0027,\u0027Anchor\u0027, \u0027Linkit\u0027]\n]\n ","enterMode":1,"shiftEnterMode":2,"toolbarStartupExpanded":true,"width":"100%","skin":"moono","format_tags":"p;div;pre;address;h1;h2;h3;h4;h5;h6","show_toggle":"t","default":"t","ss":"2","loadPlugins":[],"scayt_autoStartup":false,"stylesCombo_stylesSet":"drupal:\/sites\/all\/modules\/ckeditor\/ckeditor.styles.js","contentsCss":["\/sites\/all\/modules\/ckeditor\/css\/ckeditor.css?ofnmmu","\/\/cdn.ckeditor.com\/4.4.3\/full-all\/contents.css?ofnmmu"]},"full_html":{"customConfig":"\/sites\/all\/modules\/ckeditor\/ckeditor.config.js?","defaultLanguage":"en","toolbar":"\n[\n [\u0027Source\u0027],\n [\u0027Cut\u0027,\u0027Copy\u0027,\u0027Paste\u0027,\u0027PasteText\u0027,\u0027PasteFromWord\u0027,\u0027-\u0027,\u0027SpellChecker\u0027, \u0027Scayt\u0027],\n [\u0027Undo\u0027,\u0027Redo\u0027,\u0027Find\u0027,\u0027Replace\u0027,\u0027-\u0027,\u0027SelectAll\u0027,\u0027RemoveFormat\u0027],\n [\u0027Image\u0027,\u0027Media\u0027,\u0027Flash\u0027,\u0027Table\u0027,\u0027HorizontalRule\u0027,\u0027Smiley\u0027,\u0027SpecialChar\u0027],\n \u0027\/\u0027,\n [\u0027Bold\u0027,\u0027Italic\u0027,\u0027Underline\u0027,\u0027Strike\u0027,\u0027-\u0027,\u0027Subscript\u0027,\u0027Superscript\u0027],\n [\u0027NumberedList\u0027,\u0027BulletedList\u0027,\u0027-\u0027,\u0027Outdent\u0027,\u0027Indent\u0027,\u0027Blockquote\u0027],\n [\u0027JustifyLeft\u0027,\u0027JustifyCenter\u0027,\u0027JustifyRight\u0027,\u0027JustifyBlock\u0027,\u0027-\u0027,\u0027BidiLtr\u0027,\u0027BidiRtl\u0027],\n [\u0027Link\u0027,\u0027Unlink\u0027,\u0027Anchor\u0027, \u0027Linkit\u0027],\n [\u0027DrupalBreak\u0027],\n \u0027\/\u0027,\n [\u0027Format\u0027,\u0027Font\u0027,\u0027FontSize\u0027],\n [\u0027TextColor\u0027,\u0027BGColor\u0027],\n [\u0027Maximize\u0027, \u0027ShowBlocks\u0027]\n]\n ","enterMode":1,"shiftEnterMode":2,"toolbarStartupExpanded":true,"width":"100%","skin":"moono","format_tags":"p;div;pre;address;h1;h2;h3;h4;h5;h6","show_toggle":"t","default":"t","ss":"2","loadPlugins":[],"scayt_autoStartup":false,"stylesCombo_stylesSet":"drupal:\/sites\/all\/modules\/ckeditor\/ckeditor.styles.js","contentsCss":["\/sites\/all\/modules\/ckeditor\/css\/ckeditor.css?ofnmmu","\/\/cdn.ckeditor.com\/4.4.3\/full-all\/contents.css?ofnmmu"]}},"plugins":[],"textarea_default_format":{"edit-comment-body-und-0-value":"1"}},"urlIsAjaxTrusted":{"\/comment\/reply\/50":true}});
//--><!]]>
</script>
</head>
<body class="html not-front not-logged-in one-sidebar sidebar-second page-node page-node- page-node-50 node-type-story" >
<div id="skip-link">
<a href="#main-content" class="element-invisible element-focusable">Skip to main content</a>
</div>
<div id="page-wrapper"><div id="page">
<div id="header" class="without-secondary-menu"><div class="section clearfix">
<a href="/" title="Home" rel="home" id="logo">
<img src="http://www.antojose.com/sites/default/files/public/anto-jose-001.jpg" alt="Home" />
</a>
<div id="name-and-slogan">
<div id="site-name">
<strong>
<a href="/" title="Home" rel="home"><span>antojose.com</span></a>
</strong>
</div>
<div id="site-slogan">
Drupal, Python, Linux, OpenSource, Christianity, People, Beliefs, Choice, Freedom, Life and Happiness from the eyes of a seeker </div>
</div> <!-- /#name-and-slogan -->
<div id="main-menu" class="navigation">
<h2 class="element-invisible">Main menu</h2><ul id="main-menu-links" class="links clearfix"><li class="menu-499 first"><a href="/services" title="Services">Services</a></li>
<li class="menu-1958"><a href="/node/34" title="A study guide to help you prepare for RedHat's RHCSA (EX200) / RHCE (EX300) certification examinations.">RHCE Study Guide</a></li>
<li class="menu-464"><a href="/freedomx" title="FreedomX.in - Home of The FreedomX Linux OS">FreedomX Linux</a></li>
<li class="menu-488"><a href="/content/teracom-lw272-36mbps-3g-usb-modem" title="Teracom LW272 3.6Mbps 3G USB Modem">LW272</a></li>
<li class="menu-502"><a href="/irc" title="IRC Webchat">IRC WebChat</a></li>
<li class="menu-2230 last"><a href="/user/login" title="">Log In</a></li>
</ul> </div> <!-- /#main-menu -->
</div></div> <!-- /.section, /#header -->
<div id="main-wrapper" class="clearfix"><div id="main" class="clearfix">
<div id="breadcrumb"><h2 class="element-invisible">You are here</h2><div class="breadcrumb"><a href="/">Home</a></div></div>
<div id="content" class="column"><div class="section">
<a id="main-content"></a>
<h1 class="title" id="page-title">
[SOLVED] How to Fix on Ubuntu/Debian linux - MySQL/MariaDB: Out of resources when opening file (Errcode: 24) </h1>
<div class="tabs">
</div>
<div class="region region-content">
<div id="block-system-main" class="block block-system">
<div class="content">
<div id="node-50" class="node node-story node-promoted node-full clearfix">
<div class="meta submitted">
Submitted by <span class="username">admin</span> on Tue, 03/11/2014 - 04:25 </div>
<div class="content clearfix">
<div class="facebookshare-box"><a name="fb_share" type="box_count" share_url="http://www.antojose.com/node/50"></a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script></div><div class="g-plusone-wrapper" style="margin: 0 1em 1em 1em;float:right" ><g:plusone href="http://www.antojose.com/node/50" annotation="bubble" width="250" ></g:plusone></div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even"><p>This is an issue which occurs due to the maximum number of open files allowed for a process (mysql in this case) being very less that what is required - something that happens because you have lots of large tables / a large DB. To fix this, you just have to increase the limits in a few places.</p>
<p>Here is how you do it:</p>
<p><strong>Step 1: Identify the issue</strong><br />
as limit on the max number of open files (1024) for a single process (mysql) by doing these as <code>root</code> user:<br /><code>ulimit -a | grep open</code></p>
<pre>
root@server:/home/user# ulimit -a | grep open
open files (-n) 1024
</pre><p>and<br /><code>SHOW VARIABLES LIKE 'open%';</code> done in MySQL commandline, logged in as MySQL root user.</p>
<pre>
root@server:/home/user# mysql -u root -p
MariaDB [(none)]> SHOW VARIABLES LIKE 'open%';
+------------------+-------+
| Variable_name | Value |
+------------------+-------+
| open_files_limit | 1024 |
+------------------+-------+
1 row in set (0.00 sec)
</pre><p>
<br /><strong>Step 2: Do the Fix</strong></p>
<ol><li>To the file <code>/etc/security/limits.conf</code>, add the following lines:<br /><pre>
mysql soft nofile 24000
mysql hard nofile 32000
</pre></li>
<li>To the file <code>/etc/pam.d/common-session</code>, towards the end of the file, add the line:<br /><code>session required pam_limits.so</code></li>
<li>To the file <code>/etc/pam.d/common-session-noninteractive</code>, towards the end of the file, add the line:<br /><code>session required pam_limits.so</code></li>
<li>To the file <code>/etc/my.cnf</code>, under the section <code>'[mysqld]'</code>, add the line:<br /><code>open_files_limit = 24000</code></li>
<li>Restart the server.</li>
</ol><p><strong>Step 3: Verify the fix with:</strong><br /><code>root@server:/home/user# ulimit -a | grep open</code><br />
and<br /><code>MariaDB [(none)]> SHOW VARIABLES LIKE 'open%';</code></p>
<p>--</p>
<p><strong>References:</strong></p>
<ol><li><a href="http://stackoverflow.com/questions/502545/too-many-open-files-error-on-ubuntu-8-04">http://stackoverflow.com/questions/502545/too-many-open-files-error-on-u...</a></li>
<li><a href="http://secure.hens-teeth.net/orders/knowledgebase/109/MYSQL-Out-of-resources-when-opening-file-Errcode-24.html">http://secure.hens-teeth.net/orders/knowledgebase/109/MYSQL-Out-of-resou...</a></li>
<li><a href="https://forums.cpanel.net/f354/upgrade-mysql-5-5-sqlstate-hy000-general-error-23-out-resources-286172.html">https://forums.cpanel.net/f354/upgrade-mysql-5-5-sqlstate-hy000-general-...</a></li>
<li><a href="http://duntuk.com/how-raise-ulimit-open-files-and-mysql-openfileslimit">http://duntuk.com/how-raise-ulimit-open-files-and-mysql-openfileslimit</a></li>
</ol><p>--</p>
<p>Did this help you out? Please let me know using the Comments box below. </p>
<p>Cheers!</p>
</div></div></div><div class="field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-above clearfix"><h3 class="field-label">Tags: </h3><ul class="links"><li class="taxonomy-term-reference-0"><a href="/category/tags/mysql">MySQL</a></li><li class="taxonomy-term-reference-1"><a href="/taxonomy/term/213">MariaDB</a></li><li class="taxonomy-term-reference-2"><a href="/category/tags/ubuntu">Ubuntu</a></li><li class="taxonomy-term-reference-3"><a href="/category/tags/lamp">LAMP</a></li><li class="taxonomy-term-reference-4"><a href="/category/tags/linux">Linux</a></li></ul></div> </div>
<div class="link-wrapper">
<ul class="links inline"><li class="statistics_counter first last"><span>25085 reads</span></li>
</ul> </div>
<div id="comments" class="comment-wrapper">
<h2 class="title">Comments</h2>
<a id="comment-54969"></a>
<div class="comment comment-by-anonymous clearfix">
<div class="attribution">
<div class="submitted">
<p class="commenter-name">
<span class="username">Antonio (not verified)</span> </p>
<p class="comment-time">
Tue, 05/05/2015 - 05:55 </p>
<p class="comment-permalink">
<a href="/comment/54969#comment-54969" class="permalink" rel="bookmark">Permalink</a> </p>
</div>
</div>
<div class="comment-text">
<div class="comment-arrow"></div>
<h3><a href="/comment/54969#comment-54969" class="permalink" rel="bookmark">Thanks!!</a></h3>
<div class="content">
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p>Thanks!<br />
This solved my problems!</p>
</div></div></div> </div> <!-- /.content -->
<ul class="links inline"><li class="comment-reply first last"><a href="/comment/reply/50/54969">reply</a></li>
</ul> </div> <!-- /.comment-text -->
</div>
<a id="comment-54977"></a>
<div class="comment comment-by-anonymous clearfix">
<div class="attribution">
<div class="submitted">
<p class="commenter-name">
<span class="username">Alejandro (not verified)</span> </p>
<p class="comment-time">
Thu, 06/25/2015 - 08:51 </p>
<p class="comment-permalink">
<a href="/comment/54977#comment-54977" class="permalink" rel="bookmark">Permalink</a> </p>
</div>
</div>
<div class="comment-text">
<div class="comment-arrow"></div>
<h3><a href="/comment/54977#comment-54977" class="permalink" rel="bookmark">This solved my problem! Thanks!</a></h3>
<div class="content">
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p>I'm running Debian Wheezy and Mysql 5.6. My problem was that after reboot, mysql was always starting with 1024, and after a manual restart this parameter got the right value.<br />
I was missing the "session required pam_limits.so" lines. </p>
<p>Thanks you!</p>
</div></div></div> </div> <!-- /.content -->
<ul class="links inline"><li class="comment-reply first last"><a href="/comment/reply/50/54977">reply</a></li>
</ul> </div> <!-- /.comment-text -->
</div>
<a id="comment-54989"></a>
<div class="comment comment-by-anonymous clearfix">
<div class="attribution">
<div class="submitted">
<p class="commenter-name">
<span class="username">steward (not verified)</span> </p>
<p class="comment-time">
Sat, 11/07/2015 - 22:07 </p>
<p class="comment-permalink">
<a href="/comment/54989#comment-54989" class="permalink" rel="bookmark">Permalink</a> </p>
</div>
</div>
<div class="comment-text">
<div class="comment-arrow"></div>
<h3><a href="/comment/54989#comment-54989" class="permalink" rel="bookmark">Thanks for posting.</a></h3>
<div class="content">
<div class="field field-name-comment-body field-type-text-long field-label-hidden"><div class="field-items"><div class="field-item even"><p>Thanks for posting.</p>
<p>ulimit- a still showed 1024 after reboot. But sql showed 24000.</p>
<p>It fixed my issue, was able to continue working. Great!</p>
<p>I understand increasing the limits for sql. The pam stuff made no sense.</p>
</div></div></div> </div> <!-- /.content -->
<ul class="links inline"><li class="comment-reply first last"><a href="/comment/reply/50/54989">reply</a></li>
</ul> </div> <!-- /.comment-text -->
</div>
<h2 class="title comment-form">Add new comment</h2>
<form class="comment-form user-info-from-cookie" action="/comment/reply/50" method="post" id="comment-form" accept-charset="UTF-8"><div><div class="form-item form-type-textfield form-item-name">
<label for="edit-name">Your name <span class="form-required" title="This field is required.">*</span></label>
<input type="text" id="edit-name" name="name" value="" size="30" maxlength="60" class="form-text required" />
</div>
<div class="form-item form-type-textfield form-item-mail">
<label for="edit-mail">E-mail <span class="form-required" title="This field is required.">*</span></label>
<input type="text" id="edit-mail" name="mail" value="" size="30" maxlength="64" class="form-text required" />
<div class="description">The content of this field is kept private and will not be shown publicly.</div>
</div>
<div class="form-item form-type-textfield form-item-homepage">
<label for="edit-homepage">Homepage </label>
<input type="text" id="edit-homepage" name="homepage" value="" size="30" maxlength="255" class="form-text" />
</div>
<div class="form-item form-type-textfield form-item-subject">
<label for="edit-subject">Subject </label>
<input type="text" id="edit-subject" name="subject" value="" size="60" maxlength="64" class="form-text" />
</div>
<div class="field-type-text-long field-name-comment-body field-widget-text-textarea form-wrapper" id="edit-comment-body"><div id="comment-body-add-more-wrapper"><div class="text-format-wrapper"><div class="form-item form-type-textarea form-item-comment-body-und-0-value">
<label for="edit-comment-body-und-0-value">Comment <span class="form-required" title="This field is required.">*</span></label>
<div class="form-textarea-wrapper resizable"><textarea class="text-full form-textarea required" id="edit-comment-body-und-0-value" name="comment_body[und][0][value]" cols="60" rows="5"></textarea></div>
</div>
<fieldset class="filter-wrapper form-wrapper" id="edit-comment-body-und-0-format"><div class="fieldset-wrapper"><div class="filter-help form-wrapper" id="edit-comment-body-und-0-format-help"><p><a href="/filter/tips" target="_blank">More information about text formats</a></p></div><div class="form-item form-type-select form-item-comment-body-und-0-format">
<label for="edit-comment-body-und-0-format--2">Text format </label>
<select class="filter-list form-select" id="edit-comment-body-und-0-format--2" name="comment_body[und][0][format]"><option value="1" selected="selected">Filtered HTML</option><option value="3">Plain text</option></select>
</div>
<div class="filter-guidelines form-wrapper" id="edit-comment-body-und-0-format-guidelines"><div class="filter-guidelines-item filter-guidelines-1"><h3>Filtered HTML</h3><ul class="tips"><li>Web page addresses and e-mail addresses turn into links automatically.</li><li>Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd></li><li>Lines and paragraphs break automatically.</li></ul></div><div class="filter-guidelines-item filter-guidelines-3"><h3>Plain text</h3><ul class="tips"><li>No HTML tags allowed.</li><li>Web page addresses and e-mail addresses turn into links automatically.</li><li>Lines and paragraphs break automatically.</li></ul></div></div></div></fieldset>
</div>
</div></div><input type="hidden" name="form_build_id" value="form-Ao2hPsIyqg940mB7jq5_qUgcAy6kZo9Nffq_tpZBcZE" />
<input type="hidden" name="form_id" value="comment_node_story_form" />
<input type="hidden" name="honeypot_time" value="1485915216|iy2hZ7uHNnLmDoGZWh9Q0ZxRvi8hYFOsvCzcc5p6cis" />
<div class="edit-your-site-info-wrapper"><div class="form-item form-type-textfield form-item-your-site-info">
<label for="edit-your-site-info">your site info </label>
<input type="text" id="edit-your-site-info" name="your_site_info" value="" size="20" maxlength="128" class="form-text" />
<div class="description">To prevent automated spam submissions leave this field empty.</div>
</div>
</div><fieldset class="captcha form-wrapper"><legend><span class="fieldset-legend">CAPTCHA</span></legend><div class="fieldset-wrapper"><div class="fieldset-description">This question is for testing whether you are a human visitor and to prevent automated spam submissions.</div><input type="hidden" name="captcha_sid" value="1856863" />
<input type="hidden" name="captcha_token" value="254c81d57e8f432a0e50f2e3fb45e2be" />
<input type="hidden" name="captcha_response" value="Google no captcha" />
<div class="g-recaptcha" data-sitekey="6Ld5bLsSAAAAANKFr9RquMuO325oHEOs4-HiqGqD" data-theme="light" data-type="image"></div></div></fieldset>
<div class="your_site_url-textfield"><div class="form-item form-type-textfield form-item-your-site-url">
<label for="edit-your-site-url">Leave this field blank </label>
<input autocomplete="off" type="text" id="edit-your-site-url" name="your_site_url" value="" size="20" maxlength="128" class="form-text" />
</div>
</div><div class="form-actions form-wrapper" id="edit-actions"><input type="submit" id="edit-preview" name="op" value="Preview" class="form-submit" /></div></div></form> </div>
</div>
</div>
</div>
</div>
</div></div> <!-- /.section, /#content -->
<div id="sidebar-second" class="column sidebar"><div class="section">
<div class="region region-sidebar-second">
<div id="block-block-7" class="block block-block">
<div class="content">
<p><a href="https://drupal.org/user/721940" target="_blank"><img src="https://assoc.drupal.org/files/Drupal_Association_ind_member_217.png" style="height: 170px;" /></a></p>
</div>
</div>
<div id="block-system-navigation" class="block block-system block-menu">
<h2>Navigation</h2>
<div class="content">
<ul class="menu clearfix"><li class="first last leaf"><a href="/contact">Contact</a></li>
</ul> </div>
</div>
<div id="block-block-8" class="block block-block">
<div class="content">
<p><a href="http://www.phptherightway.com"><br /><img src="http://www.phptherightway.com/images/banners/rect-180x150.png" alt="PHP: The Right Way" /><br /></a></p>
</div>
</div>
</div>
</div></div> <!-- /.section, /#sidebar-second -->
</div></div> <!-- /#main, /#main-wrapper -->
<div id="footer-wrapper"><div class="section">
<div id="footer" class="clearfix">
<div class="region region-footer">
<div id="block-block-5" class="block block-block">
<div class="content">
<p>"Be the change you wish to see in the world!" - M. K. Gandhi</p>
</div>
</div>
<div id="block-system-powered-by" class="block block-system">
<div class="content">
<span>Powered by <a href="https://www.drupal.org">Drupal</a></span> </div>
</div>
</div>
</div> <!-- /#footer -->
</div></div> <!-- /.section, /#footer-wrapper -->
</div></div> <!-- /#page, /#page-wrapper -->
<div class="region region-page-bottom">
<div><a rel="nofollow" href="http://www.shadow-realm.org/testimonial.php?ad=94613"><!-- randomness --></a></div> </div>
</body>
</html>