Koozali.org: home of the SME Server

Server closed connection without sending data

Offline Jazza

  • 4
  • +0/-0
Server closed connection without sending data
« on: November 01, 2012, 10:30:34 AM »
I run a MyBB forum on SME Server 8. When a thread has too many characters, when you try to access the thread, this error occurs:

Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.

The MyBB support forum has NO answer and NOTHING exists on Google (I've spent hours searching). I've also spent a lot of time searching for how to enable logging MySQL queries on SME server. I believe there is some kind of memory limit that I'm hitting.

There are NO errors in the "messages" log file in the SME server manager.

Can anyone please shed any light on this? Thank you.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Server closed connection without sending data
« Reply #1 on: November 01, 2012, 01:45:20 PM »
Take a look at:
 /var/log/httpd/error_log
 /var/log/httpd/access_log
 <any custom log created by MyBB>


Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Server closed connection without sending data
« Reply #3 on: November 01, 2012, 10:43:45 PM »
MyBB forum is not a standard package - it is not included in SME8 ISO. Moving to Contribs section.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline Jazza

  • 4
  • +0/-0
Re: Server closed connection without sending data
« Reply #4 on: November 02, 2012, 02:13:30 AM »
Take a look at:
 /var/log/httpd/error_log
 /var/log/httpd/access_log
 <any custom log created by MyBB>

Thanks. I've found the following error whenever I refresh the page:

Quote from: Error
[notice] child pid 14898 exit signal Segmentation fault (11)

are you using Chrome?

https://www.google.it/search?client=ubuntu&channel=fs&q=net%3A%3AERR_EMPTY_RESPONSE&ie=utf-8&oe=utf-8&redir_esc=&ei=b-ySUIPCCYjMswaItoCQBw

Yep Chrome is my primary browser, however it's been tested on other browsers and the result is the same. Not to mention I clear my cache every couple of days anyway (I'm a web developer).

MyBB forum is not a standard package - it is not included in SME8 ISO. Moving to Contribs section.

Okay well I've recently installed MediaWiki on the server so I'll test the wiki to see if it's a third party bug or a core bug. Hopefully the error I said earlier in this post will save me that time.
« Last Edit: November 02, 2012, 02:32:07 AM by Jazza »

Offline chris burnat

  • *****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Re: Server closed connection without sending data
« Reply #5 on: November 02, 2012, 02:41:31 AM »
Okay well I've recently installed MediaWiki on the server so I'll test the wiki to see if it's a third party bug or a core bug. Hopefully the error I said earlier in this post will save me that time.

If you have evidence of a core bug, please open a ticket in Bugzilla.
Thanks.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline Jazza

  • 4
  • +0/-0
Re: Server closed connection without sending data
« Reply #6 on: November 04, 2012, 09:59:29 AM »
Bump! Anyone help with that error I found?

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Server closed connection without sending data
« Reply #7 on: November 04, 2012, 12:20:45 PM »
Jazza

Some of the "NOTHING" google search results refer to incompatible modules (or wrong versions) installed for web apps.
Have you looked at that aspect or tried removing any add on modules for MyBB ?

Did you have any issues with MediaWiki ?
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline mmccarn

  • *
  • 2,656
  • +10/-0
Re: Server closed connection without sending data
« Reply #8 on: November 04, 2012, 01:41:16 PM »
    [notice] child pid 14898 exit signal Segmentation fault (11)

Can you discover what pid 14898 is? If you knew which program this was, you might be able to do some more directed googling...

Have you tried running the memory test on the SME install CD for 2 - 4 hours, or cloning your server to completely different hardware, in order to eliminate hardware as a possible source of the problem?



Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Server closed connection without sending data
« Reply #9 on: November 04, 2012, 03:10:30 PM »
"Segmentation fault" means one of two things: a hardware problem (e.g. memory error) or a bug in a program. You should boot from the SME server CD and perform a memory test. Check your power supply and any cooling fans.

If it's a bug, it's most likely in PHP.

Offline piran

  • *****
  • 502
  • +0/-0
Re: Server closed connection without sending data
« Reply #10 on: November 04, 2012, 04:31:36 PM »
>>Segmentation fault (11)
Try your issue without ClamAV?
A long time ago (SME6?) that used to pop up.
ClamAV's issue went away eventually but I do
remember that the above was its fail code.
YMMV

Offline Jazza

  • 4
  • +0/-0
Re: Server closed connection without sending data
« Reply #11 on: November 05, 2012, 05:02:22 AM »
Well. I've found the issue. I went through the forum functions to nut out where the error is and eventually found it in the message parser. It's trying to preg_replace with bad regex (or something). I disabled the regex in question and it worked.

I apologise for not giving more specific details about this. I'm just an apprentice to the actual sysadmin who's too busy to look into this. Thank you everyone for your help.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Server closed connection without sending data
« Reply #12 on: November 05, 2012, 05:49:19 PM »
So it's a bug in PHP (although they point the finger at the pcre library):

https://bugs.php.net/bug.php?id=47376