차이
문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판이전 판다음 판 | 이전 판 | ||
tech:diskfull_ubuntu [2019/12/30 19:53] – [삭제되었지만 살아있는 경우] 219.240.210.166 | tech:diskfull_ubuntu [2022/11/23 19:28] (현재) – 172.70.233.27 | ||
---|---|---|---|
줄 1: | 줄 1: | ||
{{tag> | {{tag> | ||
====== Diskfull Ubuntu ====== | ====== Diskfull Ubuntu ====== | ||
+ | [[tech: | ||
- | + | 다음 사항들을 확인해본다. | |
- | + | ||
- | /* 여기에 내용을 입력합니다. */ | + | |
=====journal===== | =====journal===== | ||
you can delete everything inside of / | you can delete everything inside of / | ||
- | |||
https:// | https:// | ||
줄 21: | 줄 19: | ||
/ | / | ||
에 수십기가 크기의 **ibdata1** | 에 수십기가 크기의 **ibdata1** | ||
- | 파일을 볼 수 있다. | + | 파일을 볼 수 있다. |
innodb_file_per_table=1 | innodb_file_per_table=1 | ||
을 설정하면, | 을 설정하면, | ||
mysql 5.6.6 부터는 기본적으로 켜져 있슴. | mysql 5.6.6 부터는 기본적으로 켜져 있슴. | ||
- | |||
이것은 자동으로 해결되지 않으며 | 이것은 자동으로 해결되지 않으며 | ||
줄 38: | 줄 36: | ||
- Start mysql | - Start mysql | ||
- Restore from dump | - Restore from dump | ||
- | |||
- | |||
< | < | ||
줄 54: | 줄 50: | ||
=====php session ===== | =====php session ===== | ||
- | / | + | |
옛날 것이 그냥 남아잇는 경우가 있다. | 옛날 것이 그냥 남아잇는 경우가 있다. | ||
+ | 생성날짜를 보고 삭제해 주면된다. | ||
=====삭제되었지만 살아있는 경우===== | =====삭제되었지만 살아있는 경우===== | ||
- | + | du 보고서에는 삭제되었지만 일부 프로세스에서 여전히 열려있는 파일도 표시되지 않는다. 이 파일을 찾으려면 [[lsof]] 를 실행해야함. | |
- | du 보고서에는 삭제되었지만 일부 프로세스에서 여전히 열려있는 파일도 표시되지 않습니다. 이 파일을 찾으려면 [[lsof]] 를 실행해야합니다. | + | |
https:// | https:// | ||
- | |||
It's possible that a process has opened a large file which has since been deleted. You'll have to kill that process to free up the space. You may be able to identify the process by using lsof. On Linux deleted yet open files are known to lsof and marked as (deleted) in lsof's output. | It's possible that a process has opened a large file which has since been deleted. You'll have to kill that process to free up the space. You may be able to identify the process by using lsof. On Linux deleted yet open files are known to lsof and marked as (deleted) in lsof's output. | ||
- | |||
sudo lsof +L1 | sudo lsof +L1 |