Daily Fatal Error Unable to create lock file: Bad file descriptor (9) and Internal Server Error 500

desiguru

Well-Known Member
Aug 27, 2008
74
0
56
Good Morning Everyone.

I have a dedicated server with 2 NVMe Drives mounted as SoftRAID - RAID1.

Since about 1 week ago I am getting an interesting error exactly at 10PM PST. Between 9-10PM what I see if cPanel is performing a backup for all of our accounts. We do have a very limited space on the server. 476 GB Storage out of which 300GB is used. So investigating this is what I found.

[[email protected] www]# grep -i descriptor /var/log/apache2/error_log | grep "Nov - Pastebin.com (was not able to paste here on cPanel)


Both of my drive's SMART shows disks are healthy, I had my server guys intervene and also they informed me things on the Hardware side are fine. What else I can do to investigate this further?

Thank you.
 
Last edited by a moderator:

kodeslogic

Well-Known Member
PartnerNOC
Apr 26, 2020
564
259
138
IN
cPanel Access Level
Root Administrator
A possible cause of this error could any one of the following reason:

- /tmp directory having incorrect permissions
- /tmp is getting full
- /tmp is in read-only mode

Share the output of the following commands:

Code:
# stat -c %a /tmp

# df -hT
# df -i

# cd /tmp; touch test.txt
# ls -l test.txt
 
  • Like
Reactions: cPRex