Site down due to this module?

held69 - February 15, 2009 - 13:35
Project:Content Type Administration by Organic Group
Version:6.x-1.0
Component:User interface
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

I'm not sure, but after installing this module my site went down twice due to the following database error:#1226 - User 'testuser' has exceeded the 'max_questions' resource (current value: 30000).

Could there be a connection and the database error?

For the record, its a testsite where i, as a siteadmin am the only user.

#1

held69 - February 18, 2009 - 12:04
Version:6.x-1.0-rc1» 6.x-1.0
Priority:normal» critical

I also received an error message in my recent logs:

Duplicate entry 'admin/content/node-type/story/groups/%/remove' for key 1 query: INSERT INTO menu_router (path, load_functions, to_arg_functions, access_callback, access_arguments, page_callback, page_arguments, fit, number_parts, tab_parent, tab_root, title, title_callback, title_arguments, type, block_callback, description, position, weight, file) VALUES ('admin/content/node-type/story/groups/%/remove', 'a:1:{i:5;N;}', '', 'user_access', 'a:1:{i:0;s:24:\"administer content types\";}', 'drupal_get_form', 'a:3:{i:0;s:23:\"fieldgroup_remove_group\";i:1;s:5:\"story\";i:2;i:5;}', 125, 7, '', 'admin/content/node-type/story/groups/%/remove', 'Edit group', 't', '', 4, '', '', '', 0, '') in /home/mysite/html/mysite.com/includes/menu.inc op regel 2385.

Could this indicate there is something wrong in the menu?
I've now uninstalled the module.
Things look stable for now as for the last few days i couldn't browse thru my site longer then an hour.
After that i received the 'max exceeded the max message', which took my site down for an app. 90 minutes. Then it went online again

By the way i'm running d 6.6

I have found a duplicate thread here in which i posted as well http://drupal.org/node/342193

#2

held69 - February 18, 2009 - 12:23

mmmm i really could use some help on this one.
Paul?

#3

paulbooker - March 16, 2009 - 12:32

Quick fix to the menu_router "Duplicate error .." problem (where it occurs?) is to replace

db_query("INSERT INTO {menu_router}
with
db_query("REPLACE INTO {menu_router}

in _menu_router_build() under includes/menu.inc

My current thinking is this problem is some kind of database locking issue
http://drupal.org/node/246653

Hope to look at this some more very soon.

Best, Paul

#4

JamesK - August 13, 2009 - 19:06

Applying the D6 patch in #251792: Implement a locking framework for long operations helps to solve this but you also need to edit og_content_type_admin.module for:

<?php
/**
* Implementation of hook_init().
*/
function og_content_type_admin_init() {
 
menu_router_build(TRUE);
 
node_types_rebuild();   
}
?>

to

<?php
/**
* Implementation of hook_init().
*/
function og_content_type_admin_init() {
 
menu_rebuild();
 
node_types_rebuild();
}
?>

#5

paulbooker - August 21, 2009 - 15:26
Status:active» fixed

This problem should be resolved with #330135 .

#6

System Message - September 4, 2009 - 15:30
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.