欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

今早pw和dz平台同时报错

程序员文章站 2022-05-18 13:54:15
...
新年了过后,这几天事情多了

问题一: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 ,方可解决,具体 什么程序造成的,暂时木时间查找,先用着吧!