1. 程式人生 > >關於Insufficient space for shared memory file解決辦法

關於Insufficient space for shared memory file解決辦法

    今天早上,在使用Storm UI檢視日誌處理情況的時候,發現storm叢集中一臺從機掛了,於是我登陸了部署那臺從機的linux檢視,執行jps -m 檢視程序執行情況,發現報了一個warning:

Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:
   /tmp/hsperfdata_work/10700
Try using the -Djava.io.tmpdir= option to select an alternate temp location.

看這個大概的意思是共享記憶體檔案空間不足,於是df查看了使用情況:

Filesystem                                                1K-blocks          Used    Available         Use%    Mounted on
/dev/mapper/VolGroup01-LogVol00  49384248 49384248                  0         100%     /

發現這個目錄使用率100%,但是這個只是邏輯卷,具體是由於/tmp目錄下,日誌檔案太多,導致空間被佔滿了。

然後用

find / -size +100M -exec ls -lh {} \;

檢視大小超過100M的檔案,發現在zookeeper/中有許多大於100M的日誌檔案,然後進入該目錄,刪除一些日誌檔案,然後重啟zookeeper,重啟storm,一切恢復正常。

相關推薦

關於Insufficient space for shared memory file解決辦法

    今天早上,在使用Storm UI檢視日誌處理情況的時候,發現storm叢集中一臺從機掛了,於是我登陸了部署那臺從機的linux檢視,執行jps -m 檢視程序執行情況,發現報了一個warning: Java HotSpot(TM) 64-Bit Server VM

出現Insufficient space for shared memory file解決辦法

今天早上,想改bug,但是發現專案的後臺進不去了,前臺也進不去了。於是第一時間想到的是檢視日誌資訊,但是發現日誌資訊一直沒有反應,想到可能是工程掛了,於是想當然的去重啟專案,但是出現了意象不到的錯誤。 Java HotSpot(TM) 64-Bit Serve

關於Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file: 11043的解決

alternate rm -rf 查看內存 情況 cat fda sel file 使用 Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:

Insufficient space for shared memory file 內存文件空間不足

共享 exe ins 查看 使用情況 AR hot dev 空間不足 Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file: /tmp/hsperfdat

jps 命令內容中出現Insufficient space for shared memory file:

#jps  報錯了 Java HotSpot(TM) 64-Bit Server VM warning: Insufficient space for shared memory file:     /tmp/hsperfdata_root/15746 Try using

遇到問題------tomcat重新啟動Insufficient space for shared memory file

情況 線上的web專案css等樣式突然失效,載入不出來。 想重新啟動但是報錯Insufficient space for shared memory file。 Java HotSpot(TM)

mycat啟動報錯:could not reserve enough space for 2097152KB object heap 解決辦法

mycat啟動報錯:解決辦法:1、修改wrapper.xml中記憶體引數wrapper.java.additional.10=-Xmx4G wrapper.java.additional.11=-Xms1G  根據實際情況設定例如修改成wrapper.java.addit

關於Android創建虛擬機出現Failed to allocate memory: 8解決辦法

roi lips nbsp bsp 大神 mem androi 資料 http 開發前期使用eclipse,後來手賤又安裝了Android studio,創建虛擬機後eclipse打不開已經創建好的虛擬機,哇擦~這也沖突??? 查了好多資料,結果發現,只需要直接在新建模擬

Cannot retrieve metalink for repository: epel 錯誤解決辦法

ica verify rep 錯誤 eas epel源 更新 metal its centos下安裝完EPEL源, 然後更新一下yum緩存, 如果發現這樣的錯誤:Error: Cannot retrieve metalink for repository: epel. Pl

getWriter() has already been called for this response 的解決辦法

同事 idt writer com for height .com 百度 忘記   第一次居然忘記寫close()。   第二次寫成這樣子了,      後面問同事,居然沒人遇到遇到過,於是去百度,也沒看見這樣子的。後面直接放下手上的工作,休息了一會兒,然後再來看,突然發現

關於mysql 出現 1264 Out of range value for column 錯誤的解決辦法

lsp column 關於 需要 重新啟動 pos dml adjust 事務 今天給客服恢復mysql數據的時候。本來測試好的數據。但是到了客戶那裏卻死活不幹活了。老報錯! 1 INSERT INTO ka_tan4 set num=‘71664138

sqlite3 not found 或者 not executable:32-bit ELF file解決辦法

首先,基於真機情況下出現的此錯誤,手機已經root過. 問題: sqlite3 not found是因為當我們執行 sqlite3 .. 的命令時,就會去系統的可執行區域 即 system/xbin 目錄下查詢 sqlite3 .如果該檔案不存在,就會報這個錯。 解決方式:

sts安裝出現could not find jar:file解決辦法

標題sts外掛下載好但是安裝出錯 我的eclipse是4.5.2,在官方網站https://spring.io/tools3/sts/legacy下載,壓縮包的名字為:spring-tool-suite-3.7.3.RELEASE-e4.5.2-win32-x86_64.zip 但是重點

module 'h5py' has no attribute 'File' 解決辦法

之前執行一直沒有出現過的問題,現在換了環境總是出現 AttributeError: module 'h5py' has no attribute 'File' 解決辦法: AttributeError: module 'h5py' has no attribute 'F

No configuration found for the specified action解決辦法

使用Struts2,配置一切正常,使用常用tag也正常,但是在使用<s:form>標記時,發現控制檯總是輸出警告資訊,  警告資訊內容如下: 警告: No configuration found for the specified action: 'ShowMes

Result Maps collection already contains value for xxxMapper.BaseResultMap -------錯誤解決辦法

其一問題解決方案1 :  https://blog.csdn.net/qq_39507276/article/details/81628092    Mybatis-Generator在生成Mapper.xml檔案時,會在原來基礎上再生成,導致內容重複

java開發工具IntelliJ或eclipse中maven專案pom檔案錯誤failed to read artifact descriptor for xx.jar問題解決辦法

下載安裝好開發軟體之後,IntelliJ會自動對maven外掛進行配置,file-setting 輸入maven可檢視到配置資訊: pom檔案的編寫過程會出現project錯誤, 第一種想法:在第一張圖中home directory 和 setting file 第二種方法:

error while loading shared libraries的解決辦法

在啟動 mongod的時候遇到  error while loading shared libraries: libnetsnmpagent.so.20: cannot open shared object file: No such file or directory 該

MySQL: Starting MySQL….. ERROR! The server quit without updating PID file解決辦法

1、問題: [[email protected] data]# /etc/init.d/mysql start Starting MySQL...The server quit without updating PID file (/db/mysql/data/i

error while loading shared libraries 錯誤解決辦法總結,

最近安裝了裝了幾次ACE庫,裝起來會出現很多問題。 其實我發現直接按照ace的幫助文件進行編寫。就差不多。 安裝完成後,經常會遇到以下問題error while loading shared libraries,就是編譯器沒有找到相應的lib庫檔案。 從網際網路上找