Apache: Socket is not connected: core_output_filter: writing data to the network

Matthew Seaman matthew at FreeBSD.org
Tue Apr 10 07:33:46 UTC 2012


On 10/04/2012 08:05, Christer Solskogen wrote:
> I see this error in the error log of apache. It seems to happen
> whenever someone do a GET on certain mp3-files on my server. What does
> this error mean?

It can be due to various different reasons.  At a guess, probably this:

https://issues.apache.org/bugzilla/show_bug.cgi?id=10712

In which case, it's probably your users getting frustrated with slow
downloads and cancelling requests -- improving performance and getting
more downstream bandwidth would help.

Beyond that, it can be due to apache running out of file descriptors --
you'ld see error messages mentioning file descriptors elsewhere in the
apache logs in that case, and it would only appear if your apache setup
had hundreds of virtual hosts each with their own log files.

Other things to look at: use of EnableSendFile or EnableMMAP in your
configuration.  IIRC this is generally fine and enabled by default on
FreeBSD, *except* when you mount your document root by NFS.  See the
discussion in the Apache docs for more details.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20120410/f8db1104/signature.pgp


More information about the freebsd-questions mailing list