Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was using a mac-ports based LAMP stack before upgrading to Mavericks from Mountain Lion and all was fine..

After the upgrade, apache has started truncating static files.. If I use curl to fetch a static asset, like a Javascript file, it the connection hangs at 65,536 bytes downloaded.

  • The file is ok (if you cat the file, the whole thing is readable)

  • Browser/cURL works fine with other hosts.

  • Tried OSX permissions check

  • Tried upgrading macports -> port selfupdate -> port uninstall all -> port clean all -> port install $everything and the behavior continues..

  • lsof reports that apache is reading all the correct library references to the mac ports versions..

share|improve this question

It turned out that by having internet sharing on, something bad was happening with the inbound TCP buffer on the NIC interface as remote users could pull the asset off my box without a problem.

Turning it off fixed the problem...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.