开发者

PHP Multi process GONE?

I have a script that when I execute, the site becomes unresponsive, while other sit开发者_JAVA技巧es on the same server are working well!

The script is nothing more than downloading a file from remote server and some few MySQL calls (5 maybe).

How can this script be affecting the entire site?


Without any specifics, my best guess is session locking.

When you access your site, your session file gets locked. All consecutive request to the same site with the same session id will have to wait till this one finishes.

If you want to release this lock, use session_write_close().

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜