私は非常に不安定なIISを持っています。Windows上のAPCはiis 7.0が不安定です
サーバーのスペックIは、エラーが何を把握することはできません
Intel R Xeon CPU 3GHZ 3GHZ
2GB RAM
64bit
APC &サーバーの仕様
3.1.7-dev
PHP Version 5.3.6
APC Host localhost
Server Software Microsoft-IIS/7.5
Shared Memory 1 Segment(s) with 1024.0 MBytes
(IPC shared memory, File Locks locking)
extension=php_apc.dll
apc.shm_size=1024M
apc.num_files_hint=10000
apc.user_entries_hint=10000
apc.max_file_size=5M
エラー
28-Jul-2011 09:23:14] PHP Fatal error: Unknown: apc_fcntl_lock failed errno:6 in Unknown on line 0
[28-Jul-2011 09:23:14] PHP Fatal error: Unknown: apc_fcntl_lock failed errno:6 in Unknown on line 0
[28-Jul-2011 09:24:23] PHP Notice: Undefined index: SERVER_ADDR in C:\inetpub\wwwroot\apc.php on line 68
[28-Jul-2011 09:24:24] PHP Notice: Undefined index: SERVER_ADDR in C:\inetpub\wwwroot\apc.php on line 68
[28-Jul-2011 09:24:24] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\inetpub\wwwroot\apc.php on line 1122
[28-Jul-2011 09:24:24] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\inetpub\wwwroot\apc.php on line 1123
[28-Jul-2011 09:24:24] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for '8.0/no DST' instead in C:\inetpub\wwwroot\apc.php on line 1124
[28-Jul-2011 09:24:30] PHP Notice: Undefined index: SERVER_ADDR in C:\inetpub\wwwroot\apc.php on line 68
[28-Jul-2011 09:24:30]
でPHPのログファイルを下回っていますIISを再起動させるか、何が原因で発生するかapc_fcntl_lockがエラー番号:6に失敗しました。したがって、1ギガバイトのキャッシュデータとまで マイプロジェクトの店は1024M
また、問題は、私はブラウザ HTTPエラー500.0でapc.phpページをリロードするときに、より頻繁に発生するように設定SHM説明 - 内部サーバーエラー Cを:PHP \ \ php-cgi.exe - FastCGIプロセスが予期せず終了しました
キャッシュがリセットされ、再度データをキャッシュし直しました。
私のLINUXサーバでうまく動作します。 APCの設定などに問題がありますか?
これは、apc_fcntl_lockが失敗したerrno:6エラーを解決します。私はapc.write_lock = 0とapc.localcache = 1を設定しました。しかし、私はまだHTTPエラー500.0を受け取ります - 内部サーバーエラーC:\ PHP \ php-cgi.exe - FastCGIプロセスが予期せず終了しました。何故それが起こっているのか、PHPログファイルにエラーメッセージが表示されません。 – flyclassic
イベントログには関連するものはありますか? –