线上环境debian12,php8.1,
webman/admin 0.6.33
workerman/webman-framework 1.6.9
使用php start.php start -d
报502错误
如果使用php start.php start
就正常
但终端会输出 邮件接口的信息,邮件也正常发送和接收到
# sudo php start.php start
Workerman[start.php] start in DEBUG mode
------------------------------------------- WORKERMAN -------------------------------------------
Workerman version:4.2.1 PHP version:8.1.30 Event-Loop:\Workerman\Events\Event
-------------------------------------------- WORKERS --------------------------------------------
proto user worker listen processes status
tcp root webman http://127.0.0.1:1141 4 [OK]
tcp root monitor none 1 [OK]
tcp root redis_consumer none 6 [OK]
-------------------------------------------------------------------------------------------------
Press Ctrl+C to stop. Start success.
2024-12-19 11:30:55 SERVER -> CLIENT: 220 ne29-0.qq.com XMail Esmtp QQ Mail Server.
2024-12-19 11:30:55 CLIENT -> SERVER: EHLO VM3F47
2024-12-19 11:30:55 SERVER -> CLIENT: 250-newsza29-0.qq.com
250-PIPELINING
250-SIZE 73400320
250-AUTH LOGIN PLAIN XOAUTH XOAUTH2
250-AUTH=LOGIN
250-MAILCOMPRESS
250-SMTPUTF8
250 8BITMIME
2024-12-19 11:30:55 CLIENT -> SERVER: AUTH LOGIN
2024-12-19 11:30:55 SERVER -> CLIENT: 334 VXNlcm5hbWU6
2024-12-19 11:30:55 CLIENT -> SERVER: [credentials hidden]
2024-12-19 11:30:55 SERVER -> CLIENT: 334 UGFzc3dvcmQ6
2024-12-19 11:30:55 CLIENT -> SERVER: [credentials hidden]
2024-12-19 11:30:55 SERVER -> CLIENT: 235 Authentication successful
2024-12-19 11:30:55 CLIENT -> SERVER: MAIL FROM:<75459@qq.com>
2024-12-19 11:30:55 SERVER -> CLIENT: 250 OK
2024-12-19 11:30:55 CLIENT -> SERVER: RCPT TO:<75459@qq.com>
2024-12-19 11:30:56 SERVER -> CLIENT: 250 OK
2024-12-19 11:30:56 CLIENT -> SERVER: DATA
2024-12-19 11:30:56 SERVER -> CLIENT: 354 End data with <CR><LF>.<CR><LF>.
2024-12-19 11:30:56 CLIENT -> SERVER: Date: Thu, 19 Dec 2024 19:30:54 +0800
2024-12-19 11:30:56 CLIENT -> SERVER: To: 754@qq.com
2024-12-19 11:30:56 CLIENT -> SERVER: From: 7545@qq.com
2024-12-19 11:30:56 CLIENT -> SERVER: Subject: =?UTF-8?B?6aqM6K+B56CB?=
2024-12-19 11:30:56 CLIENT -> SERVER: Message-ID: <icUZrUo@V47>
2024-12-19 11:30:56 CLIENT -> SERVER: X-Mailer: PHPMailer 6.9.3 (https://github.com/PHPMailer/PHPMailer)
2024-12-19 11:30:56 CLIENT -> SERVER: MIME-Version: 1.0
2024-12-19 11:30:56 CLIENT -> SERVER: Content-Type: text/html; charset=UTF-8
2024-12-19 11:30:56 CLIENT -> SERVER: Content-Transfer-Encoding: 8bit
2024-12-19 11:30:56 CLIENT -> SERVER:
2024-12-19 11:30:56 CLIENT -> SERVER: 验证码为 xund 。如您未发送过该邮件,请忽略。
2024-12-19 11:30:56 CLIENT -> SERVER:
2024-12-19 11:30:56 CLIENT -> SERVER: .
2024-12-19 11:30:56 SERVER -> CLIENT: 250 OK: queued as.
2024-12-19 11:30:56 CLIENT -> SERVER: QUIT
2024-12-19 11:30:56 SERVER -> CLIENT:
221 Bye.
2024-12-19 11:30:56 SMTP ERROR: QUIT command failed:
221 Bye.
问题:
1:php start.php start -d也可以正常使用
2:不打印这些邮件接口数据
2024-12-19 11:30:55 SERVER -> CLIENT: 220 ne29-0.qq.com XMail Esmtp QQ Mail Server.
2024-12-19 11:30:55 CLIENT -> SERVER: EHLO VM3F47
2024-12-19 11:30:55 SERVER -> CLIENT: 250-newsza29-0.qq.com
麻烦各位大佬帮忙查看下,谢谢
应该是你的php的bug,无法守护进程,换个php版本
https://www.workerman.net/download
我就是用你的这个php8.1啊,哥
试下8.2
要不8.3?还是8.2?
这台服务器 别的webman项目都运行好好的 都可以 -d
只开一个进程,start -d 启动,然后 php start.php status 找到 webman进程的pid
执行
strace -ttp 具体的pid
,页面访问,截图下 strace 输出的内容strace里没看到你说的邮件相关的输出
只测试 502的接口
OK,那我测试下邮件的接口
strace: Process 28144 attached
21:04:30.539146 epoll_pwait(8, [], 32, 4300, NULL, 8) = 0
21:04:34.844205 sendto(12, "\t\0\0\0\26select 1", 13, MSG_DONTWAIT, NULL, 0) = 13
21:04:34.844735 poll([{fd=12, events=POLLIN|POLLERR|POLLHUP}], 1, 86400000) = 1 ([{fd=12, revents=POLLIN}])
21:04:34.845185 recvfrom(12, "\f\0\0\1\0\264\3\0\0\1\0\0\0\0\0\0\27\0\0\2\3def\0\0\0\0011\0\f?"..., 32768, MSG_DONTWAIT, NULL, NULL) = 52
21:04:34.845377 sendto(12, "\5\0\0\0\31\263\3\0\0", 9, MSG_DONTWAIT, NULL, 0) = 9
21:04:34.845596 sendto(12, "\n\0\0\0\27\264\3\0\0\0\1\0\0\0", 14, MSG_DONTWAIT, NULL, 0) = 14
21:04:34.845881 poll([{fd=12, events=POLLIN|POLLERR|POLLHUP}], 1, 86400000) = 1 ([{fd=12, revents=POLLIN}])
21:04:34.846119 recvfrom(12, "\1\0\0\1\1\27\0\0\2\3def\0\0\0\0011\0\f?\0\2\0\0\0\10\201\0\0\0\0"..., 32768, MSG_DONTWAIT, NULL, NULL) = 64
21:04:34.846468 sendto(13, "\t\0\0\0\26select 1", 13, MSG_DONTWAIT, NULL, 0) = 13
21:04:34.846868 poll([{fd=13, events=POLLIN|POLLERR|POLLHUP}], 1, 86400000) = 1 ([{fd=13, revents=POLLIN}])
21:04:34.847208 recvfrom(13, "\f\0\0\1\0\264\3\0\0\1\0\0\0\0\0\0\27\0\0\2\3def\0\0\0\0011\0\f?"..., 32768, MSG_DONTWAIT, NULL, NULL) = 52
21:04:34.847552 sendto(13, "\5\0\0\0\31\263\3\0\0", 9, MSG_DONTWAIT, NULL, 0) = 9
21:04:34.847952 sendto(13, "\n\0\0\0\27\264\3\0\0\0\1\0\0\0", 14, MSG_DONTWAIT, NULL, 0) = 14
21:04:34.848205 poll([{fd=13, events=POLLIN|POLLERR|POLLHUP}], 1, 86400000) = 1 ([{fd=13, revents=POLLIN}])
21:04:34.848423 recvfrom(13, "\1\0\0\1\1\27\0\0\2\3def\0\0\0\0011\0\f?\0\2\0\0\0\10\201\0\0\0\0"..., 32768, MSG_DONTWAIT, NULL, NULL) = 64
21:04:34.848641 epoll_pwait(8,
strace: Process 28144 attached
21:05:35.667733 epoll_pwait(8, [{events=EPOLLIN, data={u32=9, u64=9}}], 32, 49172, NULL, 8) = 1
21:05:43.150756 poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 0) = 0 (Timeout)
21:05:43.151102 epoll_pwait(8, [{events=EPOLLIN, data={u32=9, u64=9}}], 32, 41688, NULL, 8) = 1
21:05:45.634531 poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 0) = 0 (Timeout)
strace里没看到502相关的信息,你确认这个请求502又出现了?
strace: Process 43807 attached
21:10:29.766135 epoll_pwait(8, [{events=EPOLLIN, data={u32=9, u64=9}}], 32, 33644, NULL, 8) = 1
21:10:33.637614 poll([{fd=9, events=POLLIN|POLLERR|POLLHUP}], 1, 0) = 1 ([{fd=9, revents=POLLIN}])
21:10:33.637701 accept(9, {sa_family=AF_INET, sin_port=htons(33576), sin_addr=inet_addr("127.0.0.1")}, [128 => 16]) = 12
21:10:33.637856 fcntl(12, F_GETFL) = 0x2 (flags O_RDWR)
21:10:33.637902 fcntl(12, F_SETFL, O_RDWR|O_NONBLOCK|O_LARGEFILE) = 0
21:10:33.637960 epoll_ctl(8, EPOLL_CTL_ADD, 12, {events=EPOLLIN, data={u32=12, u64=12}}) = 0
21:10:33.638014 epoll_pwait(8, [{events=EPOLLIN, data={u32=12, u64=12}}], 32, 29772, NULL, 8) = 1
21:10:33.638337 recvfrom(12, "POST /app/user/password/sendRese"..., 65535, 0, NULL, NULL) = 1088
21:10:33.638635 access("/home/www/ai/vendor/composer/../workerman/webman-framework/src/support/Request.php", F_OK) = 0
21:10:33.638735 lstat("/home/www/ai/vendor/composer/../workerman/webman-framework/src/support/Request.php", {st_mode=S_IFREG|0644, st_size=548, ...}) = 0
21:10:33.638792 lstat("/home/www/ai/vendor/composer/../workerman/webman-framework/src/support", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21:10:33.638829 open("/home/www/ai/vendor/workerman/webman-framework/src/support/Request.php", O_RDONLY|O_LARGEFILE) = 13
21:10:33.638866 fstat(13, {st_mode=S_IFREG|0644, st_size=548, ...}) = 0
21:10:33.638898 read(13, "<?php\n/*\n This file is part o"..., 548) = 548
21:10:33.639011 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.639071 mprotect(0x497e7000, 33554432, PROT_READ|PROT_WRITE) = 0
21:10:33.639147 mprotect(0x497e7000, 33554432, PROT_READ|PROT_EXEC) = 0
21:10:33.639189 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.639223 close(13) = 0
21:10:33.643750 read(13, "<?php\n/*\n This file is part o"..., 19130) = 19130
21:10:33.645965 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.646454 mprotect(0x497e7000, 33554432, PROT_READ|PROT_WRITE) = 0
21:10:33.647012 mprotect(0x497e7000, 33554432, PROT_READ|PROT_EXEC) = 0
21:10:33.647323 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.647586 close(13) = 0
21:10:33.647893 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.648190 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.648480 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.648831 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.649115 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.649484 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.649874 stat("/home/www/ai/plugin/user/public/password/sendResetCaptcha", 0x7ffd8f031660) = -1 ENOENT (No such file or directory)
21:10:33.650444 access("/home/www/ai/vendor/composer/../..//plugin/user/app/controller/password/sendResetCaptchaController.php", F_OK) = -1 ENOENT (No such file or directory)
21:10:33.650823 access("/home/www/ai/vendor/composer/../../extend/plugin/user/app/controller/password/sendResetCaptchaController.php", F_OK) = -1 ENOENT (No such file or directory)
21:10:33.651108 stat("/home/www/ai/vendor/workerman/webman-framework/src/support/plugin/user/app/controller/password/sendResetCaptchaController.php", 0x7ffd8f0313b0) = -1 ENOENT (No such file or directory)
21:10:33.651469 stat("/home/www/ai/vendor/workerman/workerman/../plugin/user/app/controller/password/sendResetCaptchaController.php", 0x7ffd8f0313b0) = -1 ENOENT (No such file or directory)
21:10:33.651694 stat("/home/www/ai/plugin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21:10:33.651828 open("/home/www/ai/plugin", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 13
21
21:10:33.664889 stat("/home/www/ai/plugin/user/app/admin", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21:10:33.665009 stat("/home/www/ai/plugin/user/app/controller", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21:10:33.665112 open("/home/www/ai/plugin/user/app/controller", O_RDONLY|O_LARGEFILE|O_CLOEXEC|O_DIRECTORY) = 13
21:10:33.665211 fcntl(13, F_SETFD, FD_CLOEXEC) = 0
21:10:33.665431 getdents64(13, 0x7f0ec1f15c48 / 7 entries /, 2048) = 272
21:10:33.665570 getdents64(13, 0x7f0ec1f15c48 / 0 entries /, 2048) = 0
21:10:33.665690 close(13) = 0
21:10:33.665808 stat("/home/www/ai/plugin/user/app/controller/CaptchaController.php", {st_mode=S_IFREG|0644, st_size=3614, ...}) = 0
21:10:33.665957 stat("/home/www/ai/plugin/user/app/controller/IndexController.php", {st_mode=S_IFREG|0644, st_size=5869, ...}) = 0
21:10:33.666084 stat("/home/www/ai/plugin/user/app/controller/LoginController.php", {st_mode=S_IFREG|0644, st_size=3597, ...}) = 0
21:10:33.666189 stat("/home/www/ai/plugin/user/app/controller/PasswordController.php", {st_mode=S_IFREG|0644, st_size=3140, ...}) = 0
21:10:33.666471 stat("/home/www/ai/plugin/user/app/controller/RegisterController.php", {st_mode=S_IFREG|0644, st_size=4853, ...}) = 0
21:10:33.666614 access("/home/www/ai/vendor/composer/../..//plugin/user/app/password/controller/sendResetCaptcha/indexController.php", F_OK) = -1 ENOENT (No such file or directory)
21:10:33.666728 access("/home/www/ai/vendor/composer/../../extend/plugin/user/app/password/controller/sendResetCaptcha/indexController.php", F_OK) = -1 ENOENT (No such file or directory)
21:10:33.666844 stat("/home/www/ai/vendor/workerman/webman-framework/src/support/plugin/user/app/password/controller/sendResetCaptcha/indexController.php", 0x7ffd8f0313b0) = -1 ENOENT (No such file or directory)
2
21:10:33.680497 read(13, "<?php\n\nnamespace plugin\user\app"..., 3140) = 3140
21:10:33.681054 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.681237 mprotect(0x497e7000, 33554432, PROT_READ|PROT_WRITE) = 0
21:10:33.681568 mprotect(0x497e7000, 33554432, PROT_READ|PROT_EXEC) = 0
21:10:33.681720 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.681868 close(13) = 0
21:10:33.682215 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.682444 mprotect(0x497e7000, 33554432, PROT_READ|PROT_WRITE) = 0
21:10:33.682797 mprotect(0x497e7000, 33554432, PROT_READ|PROT_EXEC) = 0
21:10:33.682952 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.683153 access("/home/www/ai/vendor/composer/../workerman/webman-framework/src/Session/RedisSessionHandler.php", F_OK) = 0
21:10:33.683380 lstat("/home/www/ai/vendor/composer/../workerman/webman-framework/src/Session/RedisSessionHandler.php", {st_mode=S_IFREG|0644, st_size=645, ...}) = 0
21:10:33.683560 lstat("/home/www/ai/vendor/composer/../workerman/webman-framework/src/Session", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21:10:33.683739 open("/home/www/ai/vendor/workerman/webman-framework/src/Session/RedisSessionHandler.php", O_RDONLY|O_LARGEFILE) = 13
21:10:33.683896 fstat(13, {st_mode=S_IFREG|0644, st_size=645, ...}) = 0
21:10:33.684039 read(13, "<?php\n/*\n This file is part o"..., 645) = 645
21:10:33.684196 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.684374 mprotect(0x497e7000, 33554432, PROT_READ|PROT_WRITE) = 0
21:10:33.684534 mprotect(0x497e7000, 33554432, PROT_READ|PROT_EXEC) = 0
21:10:33.684694 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.684919 close(13) = 0
21:10:33
21:10:33.700847 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.701039 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.701219 access("/home/www/ai/vendor/composer/../illuminate/collections/Arr.php", F_OK) = 0
21:10:33.701396 lstat("/home/www/ai/vendor/composer/../illuminate/collections/Arr.php", {st_mode=S_IFREG|0644, st_size=18266, ...}) = 0
21:10:33.701554 lstat("/home/www/ai/vendor/composer/../illuminate/collections", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
21:10:33.701700 open("/home/www/ai/vendor/illuminate/collections/Arr.php", O_RDONLY|O_LARGEFILE) = 14
21:10:33.701849 fstat(14, {st_mode=S_IFREG|0644, st_size=18266, ...}) = 0
21:10:33.702012 read(14, "<?php\n\nnamespace Illuminate\Supp"..., 18266) = 18266
21:10:33.704078 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.704401 mprotect(0x497e7000, 33554432, PROT_READ|PROT_WRITE) = 0
21:10:33.704770 mprotect(0x497e7000, 33554432, PROT_READ|PROT_EXEC) = 0
21:10:33.704933 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:10:33.705102 close(14) = 0
2
21:11:58.621333 sendto(14, "\37\0\0\0\27\3\0\0\0\0\1\0\0\0\0\1\375\0\02075529@qq."..., 35, MSG_DONTWAIT, NULL, 0) = 35
21:11:58.622358 poll([{fd=14, events=POLLIN|POLLERR|POLLHUP}], 1, 86400000) = 1 ([{fd=14, revents=POLLIN}])
21:11:58.622610 recvfrom(14, "\1\0\0\1\0260\0\0\2\3def\6rbs_ai\10wa_users\10wa"..., 32768, MSG_DONTWAIT, NULL, NULL) = 1576
21:11:58.622885 sendto(14, "\5\0\0\0\31\3\0\0\0", 9, MSG_DONTWAIT, NULL, 0) = 9
21:11:58.623400 access("/home/www/ai/vendor/composer/../illuminate/database/Events/QueryExecuted.php", F_OK) = 0
21:11:58.623647 lstat("/home/www/ai/vendor/composer/../illuminate/database/Events/QueryExecuted.php", {st_mode=S_IFREG|0644, st_size=1138, ...}) = 0
21:11:58.623905 open("/home/www/ai/vendor/illuminate/database/Events/QueryExecuted.php", O_RDONLY|O_LARGEFILE) = 15
21:11:58.624128 fstat(15, {st_mode=S_IFREG|0644, st_size=1138, ...}) = 0
21:11:58.624496 read(15, "<?php\n\nnamespace Illuminate\Data"..., 1138) = 1138
21:11:58.624792 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.625009 mprotect(0x499f3000, 33554432, PROT_READ|PROT_WRITE) = 0
21:11:58.625214 mprotect(0x499f3000, 33554432, PROT_READ|PROT_EXEC) = 0
21:11:58.625427 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.625624 close(15) = 0
21
很多,我就部分截取,感觉有一些重复的,看下是不是你需要的
21:11:58.631508 access("/home/www/ai/vendor/composer/../illuminate/contracts/Queue/QueueableCollection.php", F_OK) = 0
21:11:58.631678 lstat("/home/www/ai/vendor/composer/../illuminate/contracts/Queue/QueueableCollection.php", {st_mode=S_IFREG|0644, st_size=659, ...}) = 0
21:11:58.631855 open("/home/www/ai/vendor/illuminate/contracts/Queue/QueueableCollection.php", O_RDONLY|O_LARGEFILE) = 15
21:11:58.632030 fstat(15, {st_mode=S_IFREG|0644, st_size=659, ...}) = 0
21:11:58.632220 read(15, "<?php\n\nnamespace Illuminate\Cont"..., 659) = 659
21:11:58.632483 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.632687 mprotect(0x499f3000, 33554432, PROT_READ|PROT_WRITE) = 0
21:11:58.632874 mprotect(0x499f3000, 33554432, PROT_READ|PROT_EXEC) = 0
21:11:58.633076 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.633326 close(15) = 0
21:11:58.633495 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.633666 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.633837 access("/home/www/ai/vendor/composer/../..//plugin/user/api/Limit.php", F_OK) = 0
21:11:58.634005 lstat("/home/www/ai/vendor/composer/../..//plugin/user/api/Limit.php", {st_mode=S_IFREG|0644, st_size=2125, ...}) = 0
21:11:58.634197 open("/home/www/ai/plugin/user/api/Limit.php", O_RDONLY|O_LARGEFILE) = 15
21:11:58.634380 fstat(15, {st_mode=S_IFREG|0644, st_size=2125, ...}) = 0
21:11:58.634566 read(15, "<?php\n\nnamespace plugin\user\api"..., 2125) = 2125
21:11:58.634951 fcntl(3, F_SETLKW, {l_type=F_WRLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.635249 mprotect(0x499f3000, 33554432, PROT_READ|PROT_WRITE) = 0
21:11:58.635451 mprotect(0x499f3000, 33554432, PROT_READ|PROT_EXEC) = 0
21:11:58.635633 fcntl(3, F_SETLK, {l_type=F_UNLCK, l_whence=SEEK_SET, l_start=0, l_len=1}) = 0
21:11:58.635839 close(15) = 0
21
21:11:58.639822 getrandom("\x9a\x60\xeb\x83\xc5\xfe\x75\x5d", 8, 0) = 8
21:11:58.639991 rt_sigaction(SIGALRM, {sa_handler=0x9b1735, sa_mask=~[ILL TRAP ABRT BUS FPE KILL SEGV CONT STOP TSTP TTIN TTOU SYS RTMIN RT_1 RT_2], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.640164 rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 8) = 0
21:11:58.640320 rt_sigaction(SIGINT, {sa_handler=0x9b1735, sa_mask=~[ILL TRAP ABRT BUS FPE KILL SEGV CONT STOP TSTP TTIN TTOU SYS RTMIN RT_1 RT_2], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.640511 rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0
21:11:58.640721 rt_sigaction(SIGTERM, {sa_handler=0x9b1735, sa_mask=~[ILL TRAP ABRT BUS FPE KILL SEGV CONT STOP TSTP TTIN TTOU SYS RTMIN RT_1 RT_2], sa_flags=SA_RESTORER|SA_SIGINFO, sa_restorer=0x17f464f}, NULL, 8) = 0
21:1
21:11:58.643681 rt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0
21:11:58.643963 umask(022) = 000
21:11:58.644104 close(-1) = -1 EBADF (Bad file descriptor)
21:11:58.644428 munmap(0x7f797d0d4000, 61440) = 0
21:11:58.644587 close(13) = 0
21:11:58.644883 close(12) = 0
21:11:58.645371 close(7) = 0
21:11:58.645505 close(6) = 0
21:11:58.645644 close(9) = 0
21:11:58.645805 close(5) = 0
21:11:58.645984 sendto(14, "\1\0\0\0\1", 5, MSG_DONTWAIT, NULL, 0) = 5
21:11:58.646415 close(14) = 0
21:11:58.646763 rt_sigaction(SIGHUP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.647003 rt_sigaction(SIGINT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.647155 rt_sigaction(SIGQUIT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.647361 rt_sigprocmask(SIG_BLOCK, ~[], [], 8) = 0
21:11:58.647505 rt_sigaction(SIGABRT, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.647698 rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
21:11:58.647902 rt_sigaction(SIGUSR1, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.648129 rt_sigaction(SIGUSR2, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.648324 rt_sigaction(SIGTSTP, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.648530 rt_sigaction(SIGIO, {sa_handler=SIG_IGN, sa_mask=[], sa_flags=SA_RESTORER, sa_restorer=0x17f464f}, NULL, 8) = 0
21:11:58.648711 epoll_ctl(8, EPOLL_CTL_DEL, 9, 0x7fffccf1f124) = -1 EBADF (Bad file descriptor)
21:11:58.648922 epoll_ctl(8, EPOLL_CTL_DEL, 10, 0x7fffccf1f124) = 0
21:11:58.649100 epoll_ctl(8, EPOLL_CTL_DEL, 12, 0x7fffccf1f124) = -1 EBADF (Bad file descriptor)
21:11:58.649266 close(10) = 0
21:11:58.649456 close(11) = 0
换个php版本吧,这个版本应该有bug
哥,那你觉得用php8.2 还是8.3
https://www.workerman.net/download
用你这个,建议下,谢谢
你先换个版本,看有没有错误,而不是纠结换哪个版本
哈哈,可以可以