SVN: Can't find a temporary directory

Source: Internet
Author: User
Tags inotify disk usage

When I was working on a project today, SVN could not be updated, but could be submitted. I thought there was a problem with Svn in IDE, but I still could not update the code when I used other SVN clients. It was very strange!

Error: SVN: Can't find a temporary directory

Solution: I searched the internet and found that this problem occurs on the server and the disk is slow;

My SVN server is centos 6.5, so I checked the hard disk usage,

[[Email protected]/] # DF-HT

Filesystem type size used avail use % mounted on

/Dev/mapper/VolGroup-lv_root ext4 50G 50g 0 100%/

Tmpfs 3.8g 0 3.8g 0%/dev/SHM

/Dev/sda1 ext4 485 m 40 m 420 m 9%/boot

/Dev/mapper/VolGroup-lv_home ext4 860g 481 M 816g 1%/home

The root directory uses 100%, so after you find unnecessary files and delete them, SVN can be used normally!


After using this method to delete part of the data that occupies the space for a while, this problem still exists. I first wondered if the inode node was empty:

[[Email protected]/] # DF-I/dev/mapper/VolGroup-lv_root

Filesystem inodes iused ifree iuse % mounted on

/Dev/mapper/VolGroup-lv_root 3276800 129950 3146850 4%/

Obviously there are many more!

Is there a large file under the root?

[[Email protected]/] # Du-SH/

6.1g/

Obviously not!

What is that?

These files should have been deleted, but the space has not been released. Of course, restarting can solve the problem, but may cause all service interruptions on the server. You can run the following command to check the File Usage:

[[Email protected]/] # lsof | grep Delete

Networkma 1651 root 13u Reg 253,0 0 1974715/var/lib/NetworkManager/timestamps. vwqymx (Deleted)

Networkma 1651 root 14u Reg 253,0 0 1974716/var/lib/NetworkManager/timestamps.6ooymx (Deleted)

Networkma 1651 root 15u Reg 253,0 0 1974717/var/lib/NetworkManager/timestamps. jroymx (Deleted)

Networkma 1651 root 16u Reg 1974718, 0 0/var/lib/NetworkManager/timestamps.37qymx (Deleted)

Networkma 1651 root 17u Reg 253,0 0 1974719/var/lib/NetworkManager/timestamps.8oqymx (Deleted)

Networkma 1651 root 18u Reg 253,0 0 1974720/var/lib/NetworkManager/timestamps1_zpymx (Deleted)

Networkma 1651 root 19u Reg 253,0 0 1974721/var/lib/NetworkManager/timestamps. xbpymx (Deleted)

Networkma 1651 root 20u Reg 253,0 0 1974723/var/lib/NetworkManager/timestamps.4upymx (Deleted)

Networkma 1651 root 21u Reg 1974725, 0 0/var/lib/NetworkManager/timestamps. mavwmx (Deleted)

Networkma 1651 root 22u Reg 253,0 0 1974726/var/lib/NetworkManager/timestamps. nzsymx (Deleted)

Networkma 1651 root 23u Reg 253,0 0 1974727/var/lib/NetworkManager/timestamps. dm6xmx (Deleted)

Networkma 1651 root 24u Reg 1974728, 0 0/var/lib/NetworkManager/timestamps. rc6xmx (Deleted)

Networkma 1651 root 25u Reg 253,0 0 1974729/var/lib/NetworkManager/timestamps.4gwymx (Deleted)

Networkma 1651 root 26u Reg 1974730, 0 0/var/lib/NetworkManager/timestamps. x1vymx (Deleted)

Networkma 1651 root 27u Reg 253,0 0 1974731/var/lib/NetworkManager/timestamps. orwymx (Deleted)

Networkma 1651 root 28u Reg 1974732, 0 0/var/lib/NetworkManager/timestamps.1xhxmx (Deleted)

Mysqld 2791 MySQL 5u Reg 253,0 0 655364/tmp/ibbvu3ew (Deleted)

Mysqld 2791 MySQL 6u Reg 253,0 388 655365/tmp/iblqpntl (Deleted)

Mysqld 2791 MySQL 7u Reg 253,0 0 655366/tmp/ibhriiha (Deleted)

Mysqld 2791 MySQL 8u Reg 253,0 0 655367/tmp/ibphpzdp (Deleted)

Mysqld 2791 MySQL 13u Reg 253,0 699 655368/tmp/ibygudee (Deleted)

Sh 15516 root CWD dir 253,0 0 1573606/usr/src/inotify-tools-3.14 (Deleted)

Sh 15516 root 1 W Reg 253,0 46488477696 1579039/usr/src/inotify-tools-3.14/nohup. Out (Deleted)

Sh 15516 Root 2 W Reg 253,0 46488477696 1579039/usr/src/inotify-tools-3.14/nohup. Out (Deleted)

Check the last two rows. The deleted items are still in progress!

So:

[[Email protected]/] # Kill-9 15516 Note: Kill these processes

Check the disk usage again.

[[Email protected]/] # DF-HT

Filesystem type size used avail use % mounted on

/Dev/mapper/VolGroup-lv_root ext4 50g 6.0g 41g 13%/

Tmpfs 3.8g 0 3.8g 0%/dev/SHM

/Dev/sda1 ext4 485 m 40 m 420 m 9%/boot

/Dev/mapper/VolGroup-lv_home ext4 860g 481 M 816g 1%/home


Now the world is clean!

SVN: Can't find a temporary directory

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.