White Screen of Death due to taxonomy parent-child infinite loop

By Benjamin Melançon
on 11 Dec
0 comments

Key words and phrases

memory limit taxonomy memory WSF2008

Tags

Description

The site stopped showing. Nothing.

What I should have done first:

tail -f /var/log/apache2/error.log

0 stedile:~# apache2ctl restart

0 stedile:~# /etc/init.d/mysql restart

Stopping MySQL database server: mysqld.
Starting MySQL database server: mysqld . . . . ..
Checking for corrupt, not cleanly closed and upgrade needing tables..

0 stedile:~# xm console stedile
-bash: xm: command not found

127 stedile:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1            1008M  297M  661M  31% /
tmpfs                 657M     0  657M   0% /lib/init/rw
udev                   10M   36K   10M   1% /dev
tmpfs                 657M  4.0K  657M   1% /dev/shm
/dev/sda3             3.0G  520M  2.3G  19% /usr
/dev/sda4             5.0G  1.1G  3.7G  23% /var
/dev/sda5              20G  173M   19G   1% /var/log/mysql


# top

Linux stedile 2.6.18-5-xen-686 #1 SMP Wed Oct 3 04:02:16 UTC 2007 i686
top - 13:02:31 up 9 days, 16:54,  1 user,  load average: 1.26, 1.30, 1.52
Tasks:  47 total,   5 running,  42 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.0%us,  0.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
Mem:   1343636k total,   762080k used,   581556k free,   126040k buffers
Swap:   524280k total,       40k used,   524240k free,   188508k cached

29036 www-data  25   0  146m 118m 4240 R 88.7  9.1   0:31.10 apache2                              
29039 www-data  23   0 37692 9.8m 4212 S 11.7  0.8   0:33.38 apache2                              
    1 root      15   0  1956  644  552 S  0.0  0.0   0:00.62 init     

Fatal error: Allowed memory size of 141557760 bytes exhausted (tried to allocate 35 bytes) in /var/www/d53/modules/taxonomy/taxonomy.module on line 1019

line 989

function taxonomy_get_tree($vid, $parent = 0, $depth = -1, $max_depth = NULL)

 

Post new comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <small> <pre> <strike> <sub> <sup> <kbd> <s>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Copy the characters (respecting upper/lower case) from the image.