今早pw和dz平台同时报错
问题一: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 ,方可解决,具体 什么程序造成的,暂时木时间查找,先用着吧!
上一篇: 织梦中文分词 输入的词语返回乱码怎么办
推荐阅读