verifying jrforums causes mysql too manyconnections and unresponsive site
Installation and Configuration
max request workers also incresed to 250 from 150
[mysqld]
tmp_table_size = 2G
max_heap_table_size = 2G
max_connections = 600
wait_timeout = 200000
interactive_timeout = 200000
key_buffer = 1000M
max_allowed_packet=268435456
thread_cache_size = 8
table_open_cache = 45368
join_buffer_size=2000M
table_cache = 86258
table_definition_cache = 46258
low_priority_updates=1
concurrent_insert=ALWAYS
# * Query Cache Configuration
#
query_cache_limit = 16M
query_cache_size = 128M
table_cache = 2536
# for a 2 Gig RAM droplet
tmp_table_size = 2048M
max_heap_table_size = 2048M
innodb_buffer_pool_size = 4096M
innodb_flush_method = O_DIRECT
open_files_limit=44000
default-storage-engine=MyISAM
innodb_file_per_table=1
table_open_cache=5000
{jrCore_include template="meta.tpl"}
<body>
{if jrCore_is_mobile_device()}
{jrCore_include template="header_menu_mobile.tpl"}
{/if}
<div id="header">
<div id="header_content">
{* Logo *}
{if jrCore_is_mobile_device()}
<div id="main_logo">
{jrCore_image id="mmt" skin="jrNingja" image="menu.png" alt="menu"}
{jrCore_image image="logo.png" width="170" height="40" class="jlogo" alt=$_conf.jrCore_system_name custom="logo"}
</div>
{else}
<div id="main_logo">
<a href="{$jamroom_url}">{jrCore_image image="logo.png" width=180 height=50 alt=$_conf.jrCore_system_name custom="logo"}</a>
</div>
{jrCore_include template="header_menu_desktop.tpl"}
{/if}
</div>
</div>
{if !jrCore_is_mobile_device()}
<div class="spacer"></div>{/if}
<div id="wrapper">
<div id="content">
<noscript>
<div class="item error center" style="margin:12px">
This site requires Javascript to function properly - please enable Javascript in your browser
</div>
</noscript>
<!-- end header.tpl -->
{jrCore_include template="meta.tpl"}
<body>
{if jrCore_is_mobile_device()}
{jrCore_include template="header_menu_mobile.tpl"}
{/if}
<div id="header">
<div id="header_content" style="background-color:black;">
{* Logo *}
{if jrCore_is_mobile_device()}
<div id="main_logo">
{jrCore_image id="mmt" skin="jrNingja" image="menu.png" alt="menu"}
<div style="float:left;"><h1 style="color:red;">The news talkers</h1></div><div style="float:right;"><h3 style="color:red;">speak your mind</h3></div>
</div>
{else}
<div id="main_logo"> <div style="float:left;"><a href="{$jamroom_url}"><h1 style="color:red;">The news talkers</h1></a></div><div style="float:right;"><h3 style="color:red;">speak your mind</h3></div>
</div>
{jrCore_include template="header_menu_desktop.tpl"}
{/if}
</div>
</div>
{if !jrCore_is_mobile_device()}
<div class="spacer"></div>{/if}
<div id="wrapper">
<div id="content">
<noscript>
<div class="item error center" style="margin:12px">
This site requires Javascript to function properly - please enable Javascript in your browser
</div>
</noscript>
<!-- end header.tpl -->