I have been working non stop for the last two days trying to identify and resolve the issues on the site5 servers.
Symptoms: A thread, with more that one post in, returns to the browser an empty document. This is in fact an HTTP 400 - Bad Request error. On further investigation into the Apache log file, it appears that PHP is causing some seg faults:
FATAL: emalloc(): Unable to allocate 1515870815 bytes
[Sun May 21 19:18:38 2000] [notice] child pid 16531 exit signal Segmentation fault (11)
This problem appears to occur only on some site / database combinations. Notably, a script that will not work with one database may work with another one!
Cause: the bbcodeparse function, and in particular, its use of the str_replace function. I have played around, and I have yet to find out why this should cause PHP to crash so violently, but to no avail. I have emailed the PHP mailing list in search of a reply, and I will be posting a bug report on the PHP bug lists area if nothing helpful comes along.
Something for site5 site owners to try if they are having these problems: Install version 1.1.0, available in the members area, and then upgrade to 1.1.1, also available in the members area. I have not had a chance to test this as an alternative to installing version 1.1.1 straight off yet, so if anyone has a chance to do it before me, let me know.
I am fairly convinced that this is not a bug with vBulletin, but I would like to get that confirmed by the PHP team. I hope to get this sorted out soon.
Cheers,
John
Symptoms: A thread, with more that one post in, returns to the browser an empty document. This is in fact an HTTP 400 - Bad Request error. On further investigation into the Apache log file, it appears that PHP is causing some seg faults:
FATAL: emalloc(): Unable to allocate 1515870815 bytes
[Sun May 21 19:18:38 2000] [notice] child pid 16531 exit signal Segmentation fault (11)
This problem appears to occur only on some site / database combinations. Notably, a script that will not work with one database may work with another one!
Cause: the bbcodeparse function, and in particular, its use of the str_replace function. I have played around, and I have yet to find out why this should cause PHP to crash so violently, but to no avail. I have emailed the PHP mailing list in search of a reply, and I will be posting a bug report on the PHP bug lists area if nothing helpful comes along.
Something for site5 site owners to try if they are having these problems: Install version 1.1.0, available in the members area, and then upgrade to 1.1.1, also available in the members area. I have not had a chance to test this as an alternative to installing version 1.1.1 straight off yet, so if anyone has a chance to do it before me, let me know.
I am fairly convinced that this is not a bug with vBulletin, but I would like to get that confirmed by the PHP team. I hope to get this sorted out soon.
Cheers,
John
Comment