Hi
I've had this response from the host:
Too many connections are generated by hanging queries.
Normally these are cached until being executed, which can sometimes not occur.
Hence why I asked about the possibilty of creating a php script to clear connections via their connection ID as they appear in the process list.
I've had a look at the phpmyadmin status, once the site had cleared again.
Code: Select all
Traffic ø per hour
Received 59.4 GiB 491.2 MiB
Sent 1.6 TiB 12.8 GiB
Total 1.6 TiB 13.3 GiB
Connections ø per hour %
max. concurrent connections 152 --- ---
Failed attempts 224.1 k 1,808.25 6.41%
Aborted 718 5.79 0.02%
Total 3,494 k 28.19 k 100.00%
I have included system information below, which needs updating by the look of it, although it is only one behind.
I dont know if its relevant as the code indicates a database cache problem not a site cache problem. But the last time it failed (this morning) I went on via ftp and cleared the site cache and c_templates. The site then came back on line. THis could have been a coincidence as the site does come and go. Another point seems to be most of the failures I am aware of occur over night GMT.
Still perpexed as this is way beyond my experience/knowledge.
----------------------------------------------
Cms Version: 2.1.5
Installed Modules:
AdminSearch: 1.0.2
CGBlog: 1.14.1
CGExtensions: 1.53.13
CGSimpleSmarty: 2.1.4
CGSmartImage: 1.21.5
CMSContentManager: 1.1.1
CMSMailer: 6.2.14
DesignManager: 1.1.1
FileManager: 1.5.2
Gallery: 2.2RC1
JQueryTools: 1.3.9
MicroTiny: 2.0.3
ModuleManager: 2.0.4
Navigator: 1.0.3
News: 2.50.5
Search: 1.50.2
Config Information:
php_memory_limit:
max_upload_size: 64000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
auto_alias_content: true
locale:
set_names: true
timezone: Europe/London
permissive_smarty: false
Php Information:
phpversion: 5.5.38
md5_function: On (True)
json_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_ALL: 22519
E_STRICT: 0
E_DEPRECATED: 0
test_file_timedifference: No time difference found
test_db_timedifference: No time difference found
create_dir_and_file: 1
memory_limit: 128M
max_execution_time: 120
register_globals: Off (False)
output_buffering: 4096
disable_functions:
open_basedir:
test_remote_url: Success
file_uploads: On (True)
post_max_size: 64M
upload_max_filesize: 64M
session_save_path: /tmp (1777)
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)
check_ini_set: On (True)
curl: On
Performance Information:
allow_browser_cache: Off (False)
browser_cache_expiry: 60
php_opcache: Off (False)
smarty_cache: Off (False)
smarty_compilecheck: Off (False)
smarty_cache_udt: Off (False)
auto_clear_cache_age: On (True)
Server Information:
Server Software: Apache/2.4.18 (Unix)
Server Api: cgi-fcgi
Server Os: Linux 2.6.32-042stab120.11 On x86_64
Server Db Type: MySQL (mysql)
Server Db Version: 10.1.24
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable
Permission Information:
tmp: /home/cluster-sites/910/i/infotec.co.uk/public_html/tmp (0755)
tmp_cache: /home/cluster-sites/910/i/infotec.co.uk/public_html/tmp/cache (0755)
templates_c: /home/cluster-sites/910/i/infotec.co.uk/public_html/tmp/templates_c (0755)
modules: /home/cluster-sites/910/i/infotec.co.uk/public_html/modules (0755)
uploads: /home/cluster-sites/910/i/infotec.co.uk/public_html/uploads (0755)
File Creation Mask (umask): /home/cluster-sites/910/i/infotec.co.uk/public_html/tmp/cache (0755)
config_file: 0444
----------------------------------------------