Sunday, August 9, 2015

linux - Magento holding deleted files

Suddenly my server got out of memory. I tried to check the disk space by using "df -k" command but it was looking fine. So after tracing lot of things I found httpd service is holding deleted files in temp memory, which can not be tacked by "df -k" To check last deleted files which are still with service, I used "sudo lsof | grep deleted" this command.



httpd 58324 58501 apache 8ur REG 253,0 0 279075355 /tmp/.ZendSem.SpCcXd (deleted)



enter image description here



This is a Magento application on centos7 (linux) server with apache 2.4.6 after spending some time I found, when stop apache and run "sudo lsof | grep deleted" this command I did not get any such issue. As soon as I start apache and check "sudo lsof | grep deleted" command, this again shows like attached screenshot.

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...