バージョン選択

フォーラム

メニュー

オンライン状況

42 人のユーザが現在オンラインです。 (31 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 42
もっと...

サイト内検索

質問 > その他 > キャッシュファイルの書き込みエラーについて

その他

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
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」の推奨パーミッションを教えて下さい。
・書き込みができなくなる理由について分かる範囲で教えてください。
・その対策についてご存知であれば教えて下さい。

以上、大変お手数ではございますが何卒よろしくお願いいたします。
fivenine
投稿日時: 2016/4/8 17:35
対応状況: −−−
新米
登録日: 2016/4/8
居住地:
投稿: 2
Re: キャッシュファイルの書き込みエラーについて
自己解決しましたのでご連絡させていただきます。
本件はパーミッションやシステムに関連する不具合ではありませんでした。

結論からいえばサーバー設定によるエラーです。
弊社ではHetemlサーバーを利用しておりますが、1アカウントあたり100万ファイルまでという制限がございました。

数十サイトを1アカウントに詰め込んで運営しており、その制限100万ファイルに到達しておりました。

そのため、100万1ファイル目にキャッシュの書き込みが発生して、エラーとなりました。

みなさんはこんなことないかと思いますが、珍しい事象でありますので自己解決の報告をさせていただきます。

それでは引き続きよろしくお願いします。
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,875名です
総投稿数は110,000件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1295
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.