mySQL /tmp 目录太小,有问题。需要将大小从 16MB 调整为更大的值。
唯一的问题是它不允许我调整其大小。
root@robocop:/mnt# umount /tmp
umount: /tmp: must be superuser to umount
Trying to determine if something is using it.
root@robocop:/# lsof |grep /tmp
lsof: WARNING: can't stat() usbfs file system /proc/bus/usb
Output information may be incomplete.
lsof: WARNING: can't stat() xfs file system /var/lib/vservers/lv49
Output information may be incomplete.
lsof: WARNING: can't stat() proc file system /var/lib/vservers/lv49/robocop/proc
Output information may be incomplete.
lsof: WARNING: can't stat() tmpfs file system /var/lib/vservers/lv49/robocop/tmp
Output information may be incomplete.
lsof: WARNING: can't stat() devpts file system /var/lib/vservers/lv49/robocop/de v/pts
root@robocop:/mnt# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdv1 10G 6.8G 3.3G 68% /
none 16M 0 16M 0% /tmp
我确信 /tmp 中应该有更多空间。为什么我无法卸载它。
此外,你们对 /tmp 处理还有什么建议吗?
顺便说一句:我之前在这里有一个帐户。我记不住密码了,而且邮件服务器也因为经济原因关闭了。