Category: Alibaba Cloud

采用 ondemand 模式,适合 1 核小内存机器,空闲时释放进程。最终配置如下:如图4 0

Investigation and optimization record of a WordPress site 504 error

Post Views: 23 Background my site www.shuijingwanwq.com It is a WordPress-based content station, with about 20,000 pages, and the average daily traffic is gradually increasing. The server uses Alibaba Cloud ECS (1 core 2GB),...

1

My personal blog, today suddenly responded to 504’s troubleshooting process

Post Views: 48 1. My personal blog suddenly responded to 504’s investigation and resolution process today. as shown in Figure 1 2. 504 Gateway Timeout Description Nginx (or other reverse proxy) waits for the...

参考:使用阿里云 性能测试 PTS 模拟并发 http 请求 。https://www.shuijingwanwq.com/2023/08/30/8003/ 查看程序运行结果,确定生成了 2万多 个文件,分别为:return.php、以及大量以 empty- 开头的文件 0

Reading the file content with empty file_put_contents() when using file_put_contents() in PHP 7.4

Post Views: 23 1. Check the put() method in illuminate\FileSystem\FileSystem to implement 2. Reference: that is, in the concurrency scenario, if you do not wrap it as follows, file_get_contents may return emptyhttps://www.php.net/manual/zh/function.file-put-contents.php#112831. It’s important...

打开:https://learn-php-app-0605-prod.wangqiang.store/robots.txt 。确认域名已经切换成功 0

The process of switching the domain name of one website to another

Post Views: 17 1. The current domain name is:https://learn-php-app-0605-prod.shuijingwanwq.com. Plan to switch to:https://learn-php-app-0605-prod.wangqiang.store. as shown in Figure 1 2. Add the DNS resolution of learn-php-app-0605-prod.wangqiang.store. as shown in Figure 2 3. Based on the...