[Linux] su: cannotsetuserid: Resourcetemporarilyunavailable solution
Source: Internet
Author: User
[Linux] su: cannotsetuserid: Resourcetemporarilyunavailable solve today sshmysqldb test server, switch to Mysql account to report the following error: login mysql error: [xxx @ xxx-c003db2 ~] $ Mysql-uroot-E [Linux] su: cannot set user id: Resource temporarily unavailable solves the following error when switching to a mysql account on the ssh Mysql db test server today: [xxx @ xxx-c003db2 ~] $ Mysql-uroot-ERROR 1135 (HY000): Can't create a new thread (errno 11); if you are not out of available memory, you can consult the manual for a possible OS-dependent bug switch into mysql user in check: [xxx @ xxx-c001db2 mysqldata] $ sudo su-mysqlsu: cannot set user id: resource temporarily unavailable after check, it is determined that mysql has a directory/data/disk full, and the test server is a virtual machine, so after the sa adds MB of space to the/data/directory, we can sudo su into: [xxx @ xxx-c001db2 mysqldata] $ su Do su-mysql [mysql @ xxx-c001db2 ~] $ [Mysql @ xxx-c001db2 ~] $ Df-hFilesystem Size Used Avail Use % Mounted on/dev/mapper/Sys-root 1008 M 222 M 736 M 24%/tmpfs 16G 12 K 16G 1%/dev/shm/ dev/vda1 485 M 29 M 432 M 7%/boot/dev/mapper/Sys-home 5.0G 146 M 4.6G 4%/home/dev/mapper/Sys-tmp 2.0G 68 M 1.9G 4%/tmp/dev/mapper/Sys-usr 5.0G 794 M 3.9G 17%/usr/dev/mapper/Sys-var 4.0G 526 M 3.3G 14%/var /dev/mapper/Sys-crash 4.0G 137 M 3.7G 4%/var/crash/dev/mapper/Sys-log 6.0G 1.7G 4.0G 30%/var/log/dev/mapper/Sys-audit 2.0G 93 M 1.8G 5%/var/log/audit/dev/mapper/Sys-vtmp 1008 M 34 M 924 M 4%/var/tmp/dev/mapper/Sys-opt 9.9G 424 M 9.0G 5%/opt/dev/mapper/Sys-mysqlbackup 62 M 5.3 M 54 M 9% /mysqlbackup/dev/mapper/Sys-mysqldata 130G 124G 0 100%/mysqldata/dev/mapper/Sys-mysqllog 9.9G 152 M 9.2G 2%/mysqllog 9.5G 0 9.5G 0%/mysqldata/shared, hurry up and clear the binlog logs that have exploded on the disk. Today, tester is doing a high concurrency test.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service