title: PHP APC suddenly corrupts source files
body: <p>I have production app servers on AWS Ubuntu doing millions of hits daily.</p>
  
  <p>The source files are synced from the main app server to S3 and then synced to secondary app servers when the servers start and upon changes.</p>
  
  <p>This was working for a long time (many months) without issues.</p>
  
  <p>In the last few days some time when a new app servers starts, the APC caching of the main source file got corrupted. The output of the server is showing a string of junk characters and then part of the PHP source code.</p>
  
  <p>If I clear APC cache the code is re cached normally and everything works.</p>
  
  <p>I'm using
  APC Version 3.1.9
  PHP Version 5.3.10-1ubuntu3.11</p>
  
  <p>What can be causing this and how can I avoid it? I prefer not to upgrade APC/PHP at this time since I have confidence in this version from long time of flawless running.</p>