Deadly error: Most execution time of 240 seconds exceeded in websites/all/modules/memcache/memcache.inc on line 353

I’m utilizing multidomain web site .
After including a brand new area report, I used to be requested as follows: Content material entry permission must be rebuilt on this web page.

Once I clicked on Rebuild Permissions button, Drupal Development progress bar began Drupal Development batch operation of rebuilding however in Drupal Development halfway it stopped and gave an error given under

Rebuilding Content material Entry Permissions

An error has occurred. Please proceed to Drupal Development error web page An HTTP error 0 occurred. /index.php?q=batch&id=433&op=do

I then searched an discovered a difficulty much like Drupal Development above in Drupal Development hyperlink given under

https://www.drupal.org/node/399572 

I discovered many options from above like :

  1. Run rebuild permission by way of cron (didn’t strive)
  2. change theme and transfer to older jquery model (didn’t strive as its dwell web site) I checked Drupal Development settings for jquery replace and had “minified” as an alternative of “none”, as soon as set to Drupal Development right setting, it labored inside seconds.

I used to be utilizing jQuery replace module with jQuery 1.4. This causes Drupal Development batch to not replace.

  1. (didn’t strive) To repair it, you need to stop newer jQuery from loading when Drupal Development URI accommodates “batch”.

    <?php operate node_access_rebuild($batch_mode = FALSE) {   db_query("DELETE FROM {node_access}");   // Solely recalculate if Drupal Development web site is utilizing a node_access module.   if (rely(module_implements('node_grants'))) { //      if ($batch_mode) {       if (FALSE) {       $batch = array(         'title' => t('Rebuilding content material entry permissions'),         'operations' => array(           array('_node_access_rebuild_batch_operation', array()),         ),         'completed' => '_node_access_rebuild_batch_finished'       );       batch_set($batch);     } ?> 

    Unsure why that is taking place to me, however I’ve discovered that I can simply power node_access_rebuild() to not use batch mode by altering line 2314 of node.module from:

  2. In node.module this piece of code, is setting time restrict to 240 secs which may be nonetheless low than ur php.ini. You’ll be able to strive growing set_time_limit arg to 1000 after which altering it again to 240 to maintain code constant.

     if (!ini_get('safe_mode')) {         set_time_limit(240);       }       $outcome = db_query("SELECT nid FROM {node}");       whereas ($node = db_fetch_object($outcome)) {         $loaded_node = node_load($node->nid, NULL, TRUE);         // To protect database integrity, solely aquire grants if Drupal Development node         // hundreds efficiently.         if (!empty($loaded_node)) {           node_access_acquire_grants($loaded_node);         }       }     }   } 

What I attempted was elevated Drupal Development max_execution_time from 30 to 1000? However nonetheless it didn’t resolve Drupal Development downside Then lastly I attempted rebuilding permissions by way of drush

utilizing drush command

drush php-eval 'node_access_rebuild();' 

However that gave me Drupal Development following error as proven under

PHP Deadly error:  Most execution time of 240 seconds exceeded in  websites/all/modules/me                                                                                     mcache/memcache.inc on line 353 

Does Drupal Development above error means that is one thing to with memcache and can or not it’s price making an attempt to disable Drupal Development memcache after which carry out rebuilding node entry?

http://instance.com/index.php?q=admin/content material/node-settings/rebuild

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

Deadly error: Most execution time of 240 seconds exceeded in websites/all/modules/memcache/memcache.inc on line 353

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.