digitalpoint
Well-known member
Has anyone run into an issue where PHP simply stops executing at a certain point? No errors, no Apache segfaults or anything else. The browser gives a message after 30 seconds that the server stopped responding.
In the most simplistic form, it's this...
You would expect an output of "123"... instead I get "12" and then just everything stops running/responding.
The real-world example of it happening is when someone starts a new conversation in my XenForo install (nowhere else that I've noticed). The conversation gets inserted properly via the save DataWriter, and I know it gets to the return portion of that method because I setup some debugging code that outputs properly. But it never *actually* returns, so XenForo gives the error that the server stopped responding and to try again (but the reality is that the conversation was actually inserted properly).
I've restarted web server, DB server, disabled all listeners, overwrote all XenForo files to make sure nothing was altered. I've even gone so far as to make the save() method a "final" function in case there was something else somehow extending it and hanging it.
From tracing/debugging it, I'm fairly certain it's not a XenForo bug, but rather something weird going on with my server. Just wondering if anyone has ever seen anything like this?
Again... no Apache crashing, segfaults, errors or anything else.
In the most simplistic form, it's this...
PHP:
function getsomething () {
echo '2';
return;
}
echo '1';
$somevar = getsomething();
echo '3';
You would expect an output of "123"... instead I get "12" and then just everything stops running/responding.
The real-world example of it happening is when someone starts a new conversation in my XenForo install (nowhere else that I've noticed). The conversation gets inserted properly via the save DataWriter, and I know it gets to the return portion of that method because I setup some debugging code that outputs properly. But it never *actually* returns, so XenForo gives the error that the server stopped responding and to try again (but the reality is that the conversation was actually inserted properly).
I've restarted web server, DB server, disabled all listeners, overwrote all XenForo files to make sure nothing was altered. I've even gone so far as to make the save() method a "final" function in case there was something else somehow extending it and hanging it.
From tracing/debugging it, I'm fairly certain it's not a XenForo bug, but rather something weird going on with my server. Just wondering if anyone has ever seen anything like this?
Again... no Apache crashing, segfaults, errors or anything else.