Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缓存这块经常报错,都挂载SSD 200G高速的了 #2336

Closed
hulang opened this issue Jul 27, 2020 · 9 comments
Closed

缓存这块经常报错,都挂载SSD 200G高速的了 #2336

hulang opened this issue Jul 27, 2020 · 9 comments

Comments

@hulang
Copy link

hulang commented Jul 27, 2020

Argument 1 passed to think\cache\Driver::unserialize() must be of the type string, boolean given, called in /www/wwwroot/xxxxxxxx/vendor/topthink/framework/src/think/cache/driver/File.php on line 139

@hulang
Copy link
Author

hulang commented Jul 27, 2020

最新版本6.0.3
PHP:7.2

@hulang
Copy link
Author

hulang commented Jul 27, 2020

经常提示这个错误。。我看这里也有人提问:
http://www.thinkphp.cn/topic/65676.html

@hulang
Copy link
Author

hulang commented Jul 27, 2020

搜索下,看来有很多同学遇到了。
#2280
暂时解决了。。

@hulang
Copy link
Author

hulang commented Aug 1, 2020

出现。。。。。。。。
file_put_contents(/www/wwwroot/oa_xxxxxxx_com/runtime/cache/www_xxxxxxx_cn/8a/043b05c9f947127d378992b77abecf.php): failed to open stream: No such file or directory

哎。。。缓存这块。。。。

用的文件缓存。。。

@hulang
Copy link
Author

hulang commented Aug 2, 2020

@hongweipeng 最开始的解决了。但是现在这个怎么解决了?有解决方案么?

@blesswarrior
Copy link

用redis呗

@hongweipeng
Copy link
Member

@hulang 并发问题还是用redis此类的第三方服务为好。文件缓存可靠性不高。

@hulang
Copy link
Author

hulang commented Aug 24, 2020

@hongweipeng 好的,,已经使用redis了。。

@gaoyia
Copy link
Contributor

gaoyia commented Aug 25, 2020

#2349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants