Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php): failed to open stream: No such file or directory in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: include(): Failed opening '/home/blog66rr/public_html/wp-content/plugins/hyper-cache/cache.php' for inclusion (include_path='.:/opt/cpanel/ea-php70/root/usr/share/pear') in /home/blog66rr/public_html/wp-content/advanced-cache.php on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723

Warning: Cannot modify header information - headers already sent by (output started at /home/blog66rr/public_html/wp-content/advanced-cache.php:24) in /home/blog66rr/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1723
{"id":3337,"date":"2016-05-17T17:47:58","date_gmt":"2016-05-17T09:47:58","guid":{"rendered":"http:\/\/blog.unethost.com\/?p=3337"},"modified":"2016-05-17T17:49:06","modified_gmt":"2016-05-17T09:49:06","slug":"how_to_fix_linux_cpanel_var_disk-quota-exceeded","status":"publish","type":"post","link":"https:\/\/blog.unethost.com\/how_to_fix_linux_cpanel_var_disk-quota-exceeded\/","title":{"rendered":"\u5982\u4f55\u89e3\u6c7a cpanel \u767c\u751f var\u66b4\u6eff(\u53ca\u78c1\u5340\u5206\u914d\u554f\u984c)"},"content":{"rendered":"

\"how_to_fix_linux_cpanel_var_disk-quota-exceeded_wp\"<\/p>\n

\u7576centos \u7684\/var\u66b4\u6eff\u5f8c\uff0c
\n\u767b\u5165cpanel\u5c31\u6703\u51fa\u73fe\u4e0b\u5217\u932f\u8aa4\u8a0a\u606f\uff1a<\/p>\n

The system failed to open the session file \u201c\/var\/cpanel\/sessions\/raw\/:xe39xulv5eCX2353\u201d because of an error: Disk quota exceeded at \/usr\/local\/cpanel\/Cpanel\/Session.pm line 277.<\/strong>
\n cpsrvd\/11.56.0.9 Server at\u00a0<\/strong><\/p>\n

<\/p>\n

<\u5982\u4f55\u89e3\u6c7a><\/strong><\/span>
\n1.\u767b\u5165linux shell<\/a>
\n2.\u5148\u8f38\u5165\u8a9e\u6cd5 df -h \uff0c\u78ba\u5b9a \/var \u4f7f\u7528\u7387\u9054\u5230 100%(\u4e0d\u7136\u5c31\u662f\u786c\u789f\u58de\u6389\u4e86<\/span>)\u3002
\n3. \u5207\u63db\u5230 \/var \u8cc7\u6599\u593e\u5f8c\uff0c\u5728\u8f38\u5165 du -sh * \uff0c\u770b\u770b\u5404\u8cc7\u6599\u593e\u7684\u4f54\u7528\u91cf\u3002
\n4. \u5927\u7d04\u90fd\u662f\u5728 \/var\/logs (\u88e1\u9762\u53ef\u76f4\u63a5\u6e05\u9664<\/span>) \u53ca \/var\/lib\/mysql (\u8981\u6ce8\u610f\u4e0d\u80fd\u4e82\u6e05<\/span>)<\/p>\n

<\u6709\u4e0d\u6703\u8b93\/var\u66b4\u6eff\u7684\u65b9\u5f0f\u55ce>
\n<\/strong><\/span>\u53ef\u8a2d\u5b9a
\u6392\u7a0b<\/a>\uff0c\u8b93\u7cfb\u7d71\u81ea\u52d5\u53bb\u6e05\u9664log\u6a94\uff0c<\/strong>
\n \u5c31\u80fd\u4e00\u76f4\u91cb\u653e\u7a7a\u9593\u51fa\u4f86\u3002<\/strong><\/p>\n

\u53e6\u5916\u63d0\u4f9bpartition size \u5169\u7a2e\u6982\u5ff5\u4f5c\u6cd5:<\/span><\/p>\n

1. \u4eba\u5de5\u8a2d\u7f6e var,usr,home,tmp……\u7b49\u7b49\uff0c\u5340\u5225\u70ba\u4e0d\u540c\u78c1\u5340\uff0c
\n\u9019\u6a23\u7684\u512a\u9ede\u662f\u8aaa\uff0c\u5982\u679c\u6709\u4e00\u500b\u66b4\u6eff\uff0c\u4e0d\u6703\u9023\u5e36\u5f71\u97ff\u5230\u5176\u4ed6\u7684\u8cc7\u6599\uff0c
\n\u6bd4\u65b9\u8aaa\u7cfb\u7d71\u6a94\u66b4\u6eff\uff0c\u4e0d\u5f71\u97ff\u7db2\u7ad9\u3002<\/p>\n

\u5982\u679c\u4e8b\u5f8c\u8981\u8abf\u6574size\uff0c\u5c31\u6bd4\u8f03\u9ebb\u7169\uff0c\u6700\u597d\u8981\u5148\u5099\u4efd\u8cc7\u6599\uff0c
\n\u4ee5\u514d\u8abf\u932f\u5c0e\u81f4\u8cc7\u6599\u907a\u5931\u3002<\/p>\n

2.\u7531\u7cfb\u7d71\u81ea\u52d5\u63a7\u5236\uff0c\u5728\u5b89\u88dd\u7cfb\u7d71\u6642\u5c31\u662f\u76f4\u63a5\u5c07 partiton \u8a2d\u5230 \/\uff0c
\n\u4e0d\u7531\u4eba\u5de5\u8a2d\u5b9a var,usr……\u7b49\u7b49size\uff0c\u9019\u6a23\u5c31\u4e0d\u5bb9\u6613\u66b4\u6eff\uff0c
\n\u9019\u6a23\u53ef\u7528\u7a7a\u9593\uff0c\u5c31\u6703\u8b8a\u5f97\u8ddf\u786c\u789f\u4e00\u6a23\u5927\uff0c\u4f46\u662f\u9084\u662f\u9700\u8981\u96a8\u6642\u67e5\u770b\uff0c
\n\u56e0\u70ba\u4e00\u4f46\u585e\u66b4\u6574\u9846HD\uff0c\u5c0e\u81f4\u7db2\u7ad9\u8cc7\u6599\u5beb\u5165\u7570\u5e38\uff0c\u4e5f\u6703\u5c0e\u81f4\u8cc7\u6599\u907a\u5931\u3002<\/p>\n

 <\/p>\n

(\u672c\u7bc7\u6559\u5b78\u7531unethost.com\u5ba2\u670d\u64b0\u5beb<\/a>)<\/strong><\/span><\/p>\n

\u5ef6\u4f38\u95b1\u8b80:\u5982\u4f55\u5099\u4efdCpanel\u5f8c\u53f0\u5b89\u88dd\u7684\u5957\u88dd\u7a0b\u5f0f?<\/a><\/strong><\/p>\n

\u5b89\u88dd\u4e0a\u8ff0\u7684\u8edf\u9ad4\uff0c\u6211\u5011\u63d0\u4f9b\u865b\u64ec\u4e3b\u6a5f\u8a66\u7528\uff0c\u4e03\u5929\u6eff\u610f\u4fdd\u8b49\uff0c<\/span><\/strong>
\n\u529f\u80fd\u5b8c\u6574\u4f7f\u7528\u4e0d\u53d7\u9650\u5236\uff0c\u6b61\u8fce
\u9ede\u6211<\/a>\u7533\u8acb\u3002<\/span><\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"

\u7576centos \u7684\/var\u66b4\u6eff\u5f8c\uff0c \u767b\u5165cpanel\u5c31\u6703\u51fa\u73fe\u4e0b\u5217\u932f\u8aa4\u8a0a\u606f\uff1a The system failed … \u95b1\u8b80\u5168\u6587 \u5982\u4f55\u89e3\u6c7a cpanel \u767c\u751f var\u66b4\u6eff(\u53ca\u78c1\u5340\u5206\u914d\u554f\u984c)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[151,4],"tags":[905,906,907],"_links":{"self":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/3337"}],"collection":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/comments?post=3337"}],"version-history":[{"count":4,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/3337\/revisions"}],"predecessor-version":[{"id":3430,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/posts\/3337\/revisions\/3430"}],"wp:attachment":[{"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/media?parent=3337"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/categories?post=3337"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.unethost.com\/wp-json\/wp\/v2\/tags?post=3337"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}