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)
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