APC on windows iis 7.0 unstable

后端 未结 1 1264
走了就别回头了
走了就别回头了 2021-01-24 12:41

I\'ve very unstable IIS, as it always get restarted for some reason it is APC related.

The specs of the server is below

Intel R Xeon  CPU 3GHZ 3GHZ
2GB R         


        
相关标签:
1条回答
  • 2021-01-24 13:08

    I don't think it's a problem with your APC configuration per se, but more likely a problem with the way that file locking is handled on Windows. I looked up the apc_fcntl_lock in the APC source code, and it's pretty straightforward and hasn't been changed for months.

    If you're only running one worker process, you might try setting apc.write_lock = 0 and see if that helps.

    Otherwise, you might try an older version of PHP (or either 5.3.7RC3) in case the problem is with the way APC is interacting with PHP (probably unlikely, though).

    Finally, if that doesn't work, maybe try a different opcode cache; xcache for instance.

    0 讨论(0)
提交回复
热议问题