質問 > その他 > キャッシュファイルの書き込みエラーについて |
その他
スレッド表示 | 古いものから | 前のトピック | 次のトピック | 下へ |
投稿者 | スレッド |
---|---|
fivenine |
投稿日時: 2016/4/8 17:35
対応状況: −−−
|
新米 登録日: 2016/4/8 居住地: 投稿: 2 |
Re: キャッシュファイルの書き込みエラーについて 自己解決しましたのでご連絡させていただきます。
本件はパーミッションやシステムに関連する不具合ではありませんでした。 結論からいえばサーバー設定によるエラーです。 弊社ではHetemlサーバーを利用しておりますが、1アカウントあたり100万ファイルまでという制限がございました。 数十サイトを1アカウントに詰め込んで運営しており、その制限100万ファイルに到達しておりました。 そのため、100万1ファイル目にキャッシュの書き込みが発生して、エラーとなりました。 みなさんはこんなことないかと思いますが、珍しい事象でありますので自己解決の報告をさせていただきます。 それでは引き続きよろしくお願いします。 |
fivenine |
投稿日時: 2016/4/8 17:19
対応状況: −−−
|
新米 登録日: 2016/4/8 居住地: 投稿: 2 |
キャッシュファイルの書き込みエラーについて お世話になります。
ファイブナインデザインの佐藤と申します。 現在ECCUBE3系にてサイトを構築しております。 本日より突然フロントページ・管理ページ問わず500エラーが発生するようになりました。 ログを確認したところ下記のエラーが表示されておりました。 --- [2016-04-08 17:08:32] eccube.INFO: Matched route "homepage". {"route_parameters":{"_controller":"\\Eccube\\Controller\\TopController::index","_route":"homepage"},"request_uri":"http://kenshin4.hp59.net/"} [] [2016-04-08 17:08:32] eccube.INFO: Populated the TokenStorage with an anonymous Token. [] [] [2016-04-08 17:08:32] eccube.INFO: > GET / [] [] [2016-04-08 17:08:32] eccube.INFO: Matched route "block_search_product". {"route_parameters":{"_controller":"\\Eccube\\Controller\\Block\\SearchProductController::index","_route":"block_search_product"},"request_uri":"http://kenshin4.hp59.net/block/search_product"} [] [2016-04-08 17:08:32] eccube.INFO: Matched route "block_cart". {"route_parameters":{"_controller":"\\Eccube\\Controller\\Block\\CartController::index","_route":"block_cart"},"request_uri":"http://kenshin4.hp59.net/block/cart"} [] [2016-04-08 17:08:32] eccube.INFO: Matched route "block_login". {"route_parameters":{"_controller":"\\Eccube\\Controller\\Block\\LoginController::index","_route":"block_login"},"request_uri":"http://kenshin4.hp59.net/block/login"} [] [2016-04-08 17:08:32] eccube.INFO: Matched route "block_category". {"route_parameters":{"_controller":"\\Eccube\\Controller\\Block\\CategoryController::index","_route":"block_category"},"request_uri":"http://kenshin4.hp59.net/block/category"} [] [2016-04-08 17:08:32] eccube.CRITICAL: Twig_Error_Runtime: An exception has been thrown during the rendering of a template ("Failed to write cache file "/home/sites/heteml/users/***user_dir***/web/dev.eccube/eccube-3.0.9_2/src/Eccube/../../app/cache/twig/production/default/e5/e54d75185066a07585bc4ea5f6a517b161db39f966ba70ea18eec5c189f316e5.php".") in "block.twig" at line 27. (uncaught exception) at /home/sites/heteml/users/***user_dir***/web/dev.eccube/eccube-3.0.9_2/vendor/twig/twig/lib/Twig/Template.php line 396 {"exception":"[object] (Twig_Error_Runtime(code: 0): An exception has been thrown during the rendering of a template (\"Failed to write cache file \"/home/sites/heteml/users/***user_dir***/web/dev.eccube/eccube-3.0.9_2/src/Eccube/../../app/cache/twig/production/default/e5/e54d75185066a07585bc4ea5f6a517b161db39f966ba70ea18eec5c189f316e5.php\".\") in \"block.twig\" at line 27. at /home/sites/heteml/users/***user_dir***/web/dev.eccube/eccube-3.0.9_2/vendor/twig/twig/lib/Twig/Template.php:396, RuntimeException(code: 0): Failed to write cache file \"/home/sites/heteml/users/***user_dir***/web/dev.eccube/eccube-3.0.9_2/src/Eccube/../../app/cache/twig/production/default/e5/e54d75185066a07585bc4ea5f6a517b161db39f966ba70ea18eec5c189f316e5.php\". at /home/sites/heteml/users/***user_dir***/web/dev.eccube/eccube-3.0.9_2/vendor/twig/twig/lib/Twig/Cache/Filesystem.php:82)"} [] --- 管理画面・FTPやターミナルよりキャッシュフォルダを削除するとしばらく見れるようになるのですが、やはり書き込みエラーが発生するようです。 そこで下記のご質問をさせてください。 ・「/app/cache」の推奨パーミッションを教えて下さい。 ・書き込みができなくなる理由について分かる範囲で教えてください。 ・その対策についてご存知であれば教えて下さい。 以上、大変お手数ではございますが何卒よろしくお願いいたします。 |
スレッド表示 | 古いものから | 前のトピック | 次のトピック | トップ |