Closed SpoBo closed 11 years ago
The statscache (the one realpath() functions use for example) is always shared between pools, so calling the apcclear() will clear that cache so the new deploy paths will be updated.
The opcache and usercache however, is not shared between pools with our configuration. The current fix to kill all pool processes makes sure the ApcClassLoader we use in our app.php clears all those entries so the changes on the Symfony level are picked up as well.
So in conclusion: yes, we need both.
We noticed on our servers that when apcclear.php is not executed the fpm process will look for its sourcefiles in a different directory. Oddly enough in the oldest one.
apache error log:
As you can see 20130725143301 does not exist.
After this it starts working.
I assume commit 29896dafe74c9f80c22f526f473c4e3fb605c4fc should be reverted?