session_start会有死锁或慢查询的有关问题吗

WBOY
Release: 2016-06-13 13:49:26
Original
972 people have browsed it

session_start会有死锁或慢查询的问题吗,在线等
php项目中,

1 在my.cnf中设置 log-slow-queries=/slow.log
2 日志文件名是 slow.log
3 日志文件中老提示这一段
   
  23:30:37.771241 pid 30406 (pool default)
script_filename = /home/wwwroot/nanchang/web/secondHouse/lend_list.php
[0x00007fff67ee6740] session_start()  
/home/wwwroot/nanchang/web/include/ini_second.php:2
[0x00007fff67ee7b70] +++ dump failed

大家帮我想想,是什么问题,有什么好解决的方法吗,

------解决方案--------------------
....... 我见识少,坐等高人来上课
------解决方案--------------------
我在你的另一个帖子里做了些推测,可参考一下
------解决方案--------------------
当然会 session_write_close()就解决了。切记当你session_start()后,用完session就马上用session_write_close()来关闭session 否则就会发生死锁的情况。

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!