over 60K fcgidsock empty files
Hi,
At /usr/local/apache/logs/fcgidsock i have over 60.000 empty files. Can I safely delety them?
-
Hello, I suggest only deleting the files that are older than a few days: How to find and delete files older than specific days in unix? Also, here's a response from one of our technical analysts when responding to a user with a similar issue: The issue is related to the way Apache and mod_fcgid interact upon a graceful restart, which cPanel periodically has Apache perform. Unfortunately, despite having bug reports submitted for this issue with the Apache developers, the problem remains: Bug 48949 " fcgid processes never get killed after graceful restart Bug 48769 " [PATCH] Processes in the busy list should not be killed during graceful restarts Most users of mod_fcgid have scripts which run every few minutes and forcefully kill PHP processes which are in the Zombie state. Thankfully, in EasyApache 4, we are able to provide PHP-FPM support. PHP-FPM is a better way to run PHP with FastCGI and does not have this problem, since Apache is not responsible for creating php processes at all. Unfortunately, at this time, you would need to manually configure PHP-FPM pools yourself, though we do have a document which may help guide you with that. Finally, you could also consider switching to DSO with RUID2 enabled. This would run PHP as the user and with the same persistence as FastCGI.
Thank you.0 -
Could you recommend me a command to delete all but the newests files? Or do I have to delete them with ftp? 0 -
Hello, We typically don't provide examples of commands that will remove files, however there are several examples you can follow on the following URL: How to find and delete files older than specific days in unix? Let us know if you have any questions. Thank you. 0
Please sign in to leave a comment.
Comments
3 comments