Hello,

I have configured 25 topics per page and 30 comments per topic as far as the paging is concerned.

While everything works OK on my local XAMPP installation (PHP 5.4), all views of topics with post count equal to or greater than 23 (number deduced after a lot of tries), gives a WSOD on the production server (PHP 5.3).

Any idea as to why this happens and specifically after 23 posts?

Thank you!

P.S. Sorry for the incomplete headline...

Comments

troky’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Check Apache logs for error and report back.

marktheshark’s picture

Status: Postponed (maintainer needs more info) » Active

Latest log messages:

] [notice] EACCELERATOR(9388): PHP crashed on opline 29 of module_load_include() at /home/mcwebcen/public_html/aiolikos-fans/includes/module.inc:329
] [notice] EACCELERATOR(8041): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
[Sun Oct 28 20:46:13 2012] [error] [client 130.43.55.84] File does not exist: /home/mcwebcen/public_html/aiolikos-fans/favicon.ico
[Sun Oct 28 20:45:28 2012] [error] [client 130.43.55.84] File does not exist: /home/mcwebcen/public_html/aiolikos-fans/favicon.ico
] [notice] EACCELERATOR(7992): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
[Sun Oct 28 20:45:19 2012] [error] [client 130.43.55.84] File does not exist: /home/mcwebcen/public_html/aiolikos-fans/favicon.ico
[Sun Oct 28 20:45:17 2012] [error] [client 130.43.55.84] File does not exist: /home/mcwebcen/public_html/aiolikos-fans/favicon.ico
] [notice] EACCELERATOR(7428): PHP crashed on opline 29 of module_load_include() at /home/mcwebcen/public_html/aiolikos-fans/includes/module.inc:329
[Sun Oct 28 20:45:05 2012] [error] [client 130.43.55.84] File does not exist: /home/mcwebcen/public_html/aiolikos-fans/favicon.ico
] [notice] EACCELERATOR(7437): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
] [notice] EACCELERATOR(5931): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
] [notice] EACCELERATOR(6056): PHP crashed on opline 38 of loadDriverFile() at /home/mcwebcen/public_html/aiolikos-fans/includes/database/database.inc:1745
[Sun Oct 28 20:33:51 2012] [error] [client 94.66.24.92] File does not exist: /home/mcwebcen/public_html/aiolikos-fans/favicon.ico
] [notice] EACCELERATOR(5852): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
] [notice] EACCELERATOR(5934): PHP crashed on opline 29 of module_load_include() at /home/mcwebcen/public_html/aiolikos-fans/includes/module.inc:329
] [notice] EACCELERATOR(5839): PHP crashed on opline 29 of module_load_include() at /home/mcwebcen/public_html/aiolikos-fans/includes/module.inc:329
] [notice] EACCELERATOR(5831): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
] [notice] EACCELERATOR(5746): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
] [notice] EACCELERATOR(5683): PHP crashed on opline 17 of drupal_load() at /home/mcwebcen/public_html/aiolikos-fans/includes/bootstrap.inc:1128
] [notice] EACCELERATOR(5224): PHP crashed on opline 29 of module_load_include() at /home/mcwebcen/public_html/aiolikos-fans/includes/module.inc:329
troky’s picture

Status: Active » Postponed (maintainer needs more info)

It looks like eaccelerator and PHP 5.4 don't play well. Try with eaccelerator disabled.
From above log I can't see anything related to AF at all.

marktheshark’s picture

The production server has PHP 5.3.

I also see in the error.log:

[28-Oct-2012 19:09:39 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 22607 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 359
[28-Oct-2012 19:10:13 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 85 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:10:24 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 88 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:10:48 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 76 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:11:12 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 30720 bytes) in /home/mcwebcen/public_html/aiolikos-fans/sites/all/modules/file_entity/file_entity.file.inc on line 267
[28-Oct-2012 19:11:20 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:11:24 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:11:36 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:11:46 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:11:47 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:11:51 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:05 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:12 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 86 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:18 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:24 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:30 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 79 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:42 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:46 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 72 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:12:58 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 80 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:13:05 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 78 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:13:09 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 14012 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 359
[28-Oct-2012 19:13:19 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 76 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447
[28-Oct-2012 19:13:25 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 32 bytes) in /home/mcwebcen/public_html/aiolikos-fans/includes/cache.inc on line 447

I just set my local deployment to 128M (just like the production server) to see if the problem can be reproduced, but I couldn't reproduce it.

Running cron fails though, exhausting the memory.

I agree this does not seem to be AF related, I will change area as soon as I have some indication where it belongs.

marktheshark’s picture

Status: Postponed (maintainer needs more info) » Active

Tried disabling eaccelerator via .htaccess (though I'm not sure I'm doing it successfully):

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_flag magic_quotes_gpc                 off
  php_flag magic_quotes_sybase              off
  php_flag register_globals                 off
  php_flag session.auto_start               off
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_flag mbstring.encoding_translation    off
  php_flag eaccelerator.enable off
  php_flag eaccelerator.optimizer off
</IfModule>

Doesn't seem to make a difference.

marktheshark’s picture

Btw, found this old similar issue from AF 6 (not an actual AF issue).

However, contrary to that issue, I cannot view the first page of posts either.

Have contacted the host to check if eaccelerator can be disabled and memory increased for this site.

marktheshark’s picture

Title: On production server, any forum topic » On production server with PHP 5.3.14, viewing any forum topic with more than 23 posts causes WSOD / 500 Internal Server Error
hwi2’s picture

I find that a lot of the answers are right inside the log report on Drupal. That has saved me a lot of headaches.

marktheshark’s picture

The host has disabled Eaccelerator for me and temporarily upped the PHP memory limit to 256M, which is admittedly an insane amount of memory for a Drupal installation.

I will go through my list of modules to disable the unnecessary ones and check the memory usage with Devel.

marktheshark’s picture

Issue summary: View changes

more info