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

webman 第一次响应都很慢 #1053

Open
buexplain opened this issue Aug 28, 2024 · 4 comments
Open

webman 第一次响应都很慢 #1053

buexplain opened this issue Aug 28, 2024 · 4 comments

Comments

@buexplain
Copy link

buexplain commented Aug 28, 2024

我的机器是windows的,用的是select事件监控器,我跟进了一下是stream_select函数第一次特别慢。
当我将stream_select的超时改为1s后,http响应时间正常。

@walkor
Copy link
Owner

walkor commented Sep 9, 2024

php是从哪里下载的?php 版本是?

@buexplain
Copy link
Author

php是从哪里下载的?php 版本是?

PHP 8.1.10 (cli) (built: Aug 30 2022 18:08:04) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.1.10, Copyright (c) Zend Technologies

用的是php的集成环境 phpenv,它的版本是8.9.6

@walkor
Copy link
Owner

walkor commented Sep 10, 2024

换个php版本试下或者不用 phpenv试下。
有用户反馈虚拟机映射磁盘读取文件慢会导致一次请求很慢。

@buexplain
Copy link
Author

下载地址:https://windows.php.net/downloads/releases/php-8.3.11-nts-Win32-vs16-x64.zip
php -v:

PHP 8.3.11 (cli) (built: Aug 27 2024 21:28:35) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.3.11, Copyright (c) Zend Technologies

不是虚拟机。

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

2 participants