Limpeza do servidor

0

Meu sistema operacional é o Redhat Enterprise Linux 5.9

Eu preciso liberar algum espaço da partição do disco onde os aplicativos ERP residem. Meu espaço usado atual é para a partição de aplicativos é 126G. No entanto, quando eu verifico o tamanho dos diretórios sob essa partição, ele mostra que o espaço total usado pelos diretórios é 95G. Fui ver os arquivos abertos excluídos para verificar e mostrar alguns arquivos abertos excluídos no seguinte caminho:

  
/apps/prod/inst/apps/PROD_erpappsprod//pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
$ lsof -n | grep deleted
sh         2299    oracle    0r      REG              104,1        1881   13343373 /tmp/sh-thd-1519578416 (deleted)
FNDLIBR    2305    oracle    0r      REG              104,1          21   13343376 /tmp/sh-thd-1519570909 (deleted)
frmweb     4805    oracle   52u      REG              104,1       42848   13343403 /tmp/fileBaoUZE.TMP (deleted)
gconfd-2   8050    oracle   13wW     REG              104,1         617   13343320 /tmp/gconfd-oracle/lock/1t1516445129ut374547u500p8050r1580354029k1083031512 (deleted)
httpd     19571    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19571    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
rotatelog 19581    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
rotatelog 19582    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
rotatelog 19583    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19584    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19584    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19586    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19586    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19589    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19589    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19590    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19590    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19591    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19591    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19592    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19592    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19722    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19722    oracle   30wW     REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19809    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19809    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19894    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19894    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     19991    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     19991    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
httpd     20057    oracle   13u      REG              104,2           0   11174443 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/mod_oc4j.19571.tbl_lock (deleted)
httpd     20057    oracle   30w      REG              104,2           0   11174465 /apps/prod/inst/apps/PROD_erpappsprod/pids/10.1.3/Apache/logs/httpd.lock.19571 (deleted)
frmweb    27493    oracle   55u      REG              104,1       69632   13343402 /tmp/fileU6uKpo.TMP (deleted)
frmweb    30772    oracle   53u      REG              104,1       77824   13343398 /tmp/fileqnIgsf.TMP (deleted)

Eu não tenho ideia de como abordar isso. Como saber quanto espaço esses arquivos abertos deletados estão consumindo? Como liberar espaço de arquivos abertos excluídos?

    
por Mussa 23.10.2018 / 12:11

0 respostas