Error establishing a database connection

Posted in: Newsmag
Post count: 8

HI,
I am using the NEWSMAG theme and of late I am getting the Error establishing a database connection.
This is the message I got from my support at Host.
We have found a huge load on the server due to RAM utilization. And we increased the size for “max_allowed_packet “ to 1000MB which was 1 MB previously.

Please help!

Post count: 9544

Did you also increase the default RAM for WordPress ? You need to edit your wp-config.php file to increase the base memory (default in WP is 40MB, but 96MB minimum is needed for Visual Composer).

See:

define( ‘WP_MEMORY_LIMIT’, ‘128M’ );

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Post count: 780

@bahola by any chance do you have a lot of categories or tags? Can you give us a number? We are investigating possible performance issues with visual composer and the theme.

Post count: 8

Hi Radu, The site has gone down again with the same error. I have about 5 categories where one category has over 2300 posts. I will let you know the number of tags we have once the site is up soon.
I need to resolve this very quickly as I am losing credibility and ranking. I could also open up the admin for you to have a look. Please share your email.
Please help.

Post count: 8

Hi Radu,
There are 309 tags

Post count: 8

Sorry there are 23 categories

Post count: 8

I just saw this warning on the tags & The category page dashboard page:
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /opt/lampp/htdocs/ilh/wp-content/plugins/wp-memory-db-indicator/wp-memory-db-indicator.php on line 169
db 1B ~ Mem 57.2 of 512M

Post count: 9544

If that plugin generating error; likely good to disable it.

Post count: 8

I removed the plugin, but the site is going down every day now?

Please can you let me know how I can sort this out.

Post count: 6600

Hi,

You can update the VC plugin to the latest version which is 4.5.3 and see if it happens again. To obtain it you can send us an email with a request for it and we will send it to you, use contact@tagdiv.com and also include a link to this tread.

Thanks

Post count: 8

This is the error log that I got this morning when it went down again
I have also mailed you for the update for VC along with link.
Thanks in advance.
Kartik
Error Log:
###############start#######
[Tue Jul 07 02:36:54.120467 2015] [core:error] [pid 29128] [client 106.193.145.53:49831] AH00126: Invalid URI in request amobee-1: 10464892DF03E4E03CE00F213F9F4340
[Tue Jul 07 02:37:05.560235 2015] [core:error] [pid 28921] [client 106.193.145.53:49862] AH00126: Invalid URI in request amobee-1: 10464892DF03E4E03CE00F213F9F4340
[Tue Jul 07 02:37:12.440860 2015] [core:error] [pid 29029] [client 106.193.145.53:49861] AH00126: Invalid URI in request amobee-1: 10464892DF03E4E03CE00F213F9F4340
[Tue Jul 07 02:37:13.838064 2015] [core:error] [pid 29028] [client 106.193.145.53:49838] AH00126: Invalid URI in request amobee-1: 10464892DF03E4E03CE00F213F9F4340
[Tue Jul 07 02:42:49.088128 2015] [core:error] [pid 28921] [client 106.193.145.53:50025] AH00126: Invalid URI in request amobee-1: 10464892DF03E4E03CE00F213F9F4340
[Tue Jul 07 04:13:18.341723 2015] [core:error] [pid 30700] [client 106.217.184.14:33206] AH00126: Invalid URI in request amobee-1: E7457D6814757788FB8A860A9E20612C
[Tue Jul 07 04:13:18.421698 2015] [core:error] [pid 30656] [client 106.217.184.14:34570] AH00126: Invalid URI in request amobee-1: E7457D6814757788FB8A860A9E20612C
[Tue Jul 07 04:13:18.505540 2015] [core:error] [pid 30699] [client 106.217.184.14:34680] AH00126: Invalid URI in request amobee-1: E7457D6814757788FB8A860A9E20612C
[Tue Jul 07 04:13:25.500205 2015] [core:error] [pid 30266] [client 106.217.184.14:51188] AH00126: Invalid URI in request amobee-1: E7457D6814757788FB8A860A9E20612C
[Tue Jul 07 04:13:37.020347 2015] [core:error] [pid 30710] [client 106.217.184.14:55591] AH00126: Invalid URI in request amobee-1: E7457D6814757788FB8A860A9E20612C

Post count: 6600

Hi,

If we’ve received your message you should have also received an reply by now.
Please let me know from which email address you’ve sent us your message and please send it again and make sure you use contact@tagdiv.com and also include your admin login details so I can check this.
Let us know!

Thanks

Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.