bug:error writing to /tmp/ccNxSD5s.s: No space left

本文档详细介绍了在Debian 9服务器上创建交换文件的步骤,以防止因内存不足导致的错误。交换空间是硬盘上的区域,当RAM不足时,操作系统可以将数据暂时存储在这里。指南包括检查系统交换信息、确认硬盘空间、创建交换文件、启用交换文件、使其永久化以及调整交换设置等步骤。
摘要由CSDN通过智能技术生成
atal error: error writing to /tmp/ccNxSD5s.s: No space left on device
 }
 ^

reason: the program you compile is too big, and tmp not enough

 

 

method 1:

https://blog.csdn.net/u010555688/article/details/53262068

 

method 2:

add swap:

https://www.digitalocean.com/community/tutorials/how-to-add-swap-space-on-debian-9

 

method 3:

clean /tmp

https://codedecoder.wordpress.com/2016/11/19/fatal-error-error-writing-to-tmpccatsusl-s-no-space-left-on-device/

 

 

How To Add Swap Space on Debian 9

PostedMay 29, 2019 8.8kviews LINUX BASICS DEBIAN DEBIAN 9

Not using Debian 9? Choose a different version:

Introduction

One of the easiest way of guarding against out-of-memory errors in applications is to add some swap space to your server. In this guide, we will cover how to add a swap file to a Debian 9 server.

Warning: Although swap is generally recommended for systems using traditional spinning hard drives, using swap with SSDs can cause issues with hardware degradation over time. Due to this consideration, we do not recommend enabling swap on DigitalOcean or any other

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值