Heim  >  Artikel  >  Backend-Entwicklung  >  今早pw和dz平台同时报错

今早pw和dz平台同时报错

WBOY
WBOYOriginal
2016-06-20 12:37:171075Durchsuche

新年了过后,这几天事情多了

问题一:DZ平台错误偶尔打开页面出现404  进入系统后台发现有一个php 进程 100%

跟踪一下发现如下错误:

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

unlink(“data/threadcache/d/6/5/”)       = -1 ENOENT (No such file or directory)

stat(“data/threadcache/d/6/5/”, 0x7fff092e9750) = -1 ENOENT (No such file or directory)

解决:估计是更新缓存造成的,重启哈php服务就可解决。

问题二:PW系统崩溃了。

错误:Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 8329487 bytes)

怎么内存占用那么多。。。

解决办法:把 php.ini 里的memory_limit = 128M 改为 memory_limit = 256M ,方可解决,具体 什么程序造成的,暂时木时间查找,先用着吧!

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn