gpt4 book ai didi

mysql - PHP 警告 : [mysql error 3] Error writing file '/tmp/

转载 作者:行者123 更新时间:2023-11-29 03:41:18 33 4
gpt4 key购买 nike

<分区>

大家晚上好

我有一台运行 CentOS 6 的 VPS,它正在运行 PHP (5.4.8) 和 MySQL (5.5.28) 1cpu、2G RAM、200G 存储的重新测试安装。它用于使用 Piwigo 托管我的照片库。根据 PHPmyAdmin,该数据库有 1,385,133 条记录,占用 60.8 MiB。我拥有完全的 root 访问权限,并且我一直在使用 SSH 做一些事情,但它对我来说仍然是全新的。

我一直看到这个错误,它似乎导致服务器的 CPU 使用率变高。似乎只是由网络蜘蛛引起的,但它一天只发生几次。

[warn] [client IP] mod_fcgid: stderr: PHP Warning: [mysql error 3] Error writing file '/tmp/MYq8M8yg' (Errcode: 28)
[warn] [client IP] mod_fcgid: stderr: SELECT id
[warn] [client IP] mod_fcgid: stderr: FROM piwigo_images i
[warn] [client IP] mod_fcgid: stderr: INNER JOIN piwigo_image_category ic ON id=ic.image_id
[warn] [client IP] mod_fcgid: stderr: INNER JOIN piwigo_image_tag it ON id=it.image_id
[warn] [client] mod_fcgid: stderr: WHERE tag_id IN (6,18,54,55,445,714)
[warn] [client IP] mod_fcgid: stderr: GROUP BY id
[warn] [client IP] mod_fcgid: stderr: HAVING COUNT(DISTINCT tag_id)=6
[warn] [client IP] mod_fcgid: stderr: ORDER BY file ASC, date_creation DESC in /var/www/vhosts/mydomain.com/subdomains/gallery/include/dblayer/functions_mysql.inc.php on line 770
[client IP] mod_fcgid: stderr: PHP Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in /var/www/vhosts/mydomain.com/subdomains/gallery/include/dblayer/functions_mysql.inc.php on line 200

快速 df -h 显示,

Filesystem            Size  Used Avail Use% Mounted on
/dev/xvda1 4.0G 692M 3.3G 17% /
/dev/mapper/vg00-usr 4.0G 1.5G 2.4G 39% /usr
/dev/mapper/vg00-var 148G 43G 98G 31% /var
/dev/mapper/vg00-home 4.0G 136M 3.7G 4% /home
none 1000M 112K 1000M 1% /tmp

提前谢谢你。

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com