Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to solve the error that the file system reports no writable space

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains "how to solve the error that the file system reports no writable space". The content of the explanation in the article is simple and clear, and it is easy to learn and understand. let's study and learn "how to solve the error of file system reporting no writable space".

The system sometimes reports errors like the following: WARNING: / tmp: File system full, swap space limit exceeded there are several common reasons for this error: 1) insufficient physical memory; 2) insufficient Swap space; 3) some users are using the / tmp file system; 4) specific programs take up a lot of memory; 5) some error scripts run out of resources indefinitely. For the errors caused by the above reasons, the following measures can be taken: 1) increase the physical memory. 2) add Swap-the following method can be easily implemented (Note: the added Swap will disappear as the system restarts) # mkfile [g | k | b | m] / swap # swap-a / swap-run "swap-l" to confirm the appended Swap. 3) inform the user of matters needing attention when using / tmp. 4) Kill program. 5) modify the script. Find the reason for the error:-use the command to find out which program takes up the most resources or whether there are scripts that infinitely deplete resources. # / usr/bin/ps-el | sort-rn-k 10 cases: how to calculate the resource size > bash-2.05# / usr/bin/ps-el | sort-rn-k 10

> 8 S 0 585 557 0 40 20? 16981? 0:04 Xsun

> bash-2.05# pagesize

> 8192

>

> 16981 * 8192 = 139108352byte that is 139m example: script runtime with infinite exhaustion > 0 S 0 27982 27981 0 40 20? 328? 0:00 sh

> 0 S 0 27979 27978 0 40 20? 328? 0:00 sh

> 0 S 0 27975 27974 0 40 20? 328? 0:00 sh

> 0 S 0 27971 27970 0 40 20? 328? 0:00 sh

> 0 S 0 27967 27966 0 40 20? 328? 0:00 sh

> 0 S 0 27963 27962 0 40 20? 328? 0:00 sh

> 0 S 0 27981 27980 0 40 20? 327? 0:00 sh

> 0 S 0 27980 27979 0 40 20? 327? 0:00 sh

> 0 S 0 27978 27977 0 40 20? 327? 0:00 sh-see if any users or programs are using / tmp? # ls-alR / tmp > / log.tmp # ls-alR / var/tmp > / log.var_tmp-other commands for viewing Memory and IO: # vmstat 5 5 # iostate 5 5

Thank you for your reading, the above is the content of "how to solve the error that the file system reports no writable space". After the study of this article, I believe you have a deeper understanding of how to solve the problem that the file system reports no writable space, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report