MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Many getwork.php files

WebPagetest Forums

Full Version: Many getwork.php files
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Does anyone know what would cause thousands of getwork.php files to be duplicated in the /var/www directory? Here's an image:

[Image: E3j0WhA.png]

They're all empty, various dates spanning months since I first created the server. Are these lock files that aren't able to be deleted due to permissions or something?

They aren't lock files. Is that the server AMI?

If I had to guess, I may have screwed up the crontab entry that makes fake requests to getwork.php to allow the cron jobs to run without any agents present. If it is doing a wget it may be missing -O /dev/null. Check crontab-e and see what the cron job looks like.
Yes, I am using the server AMI - and yup, just checked the crontab for www-data user and the entry read:
/usr/bin/wget "" > /dev/null 2>&1

I updated with the -O to read:
/usr/bin/wget -O /dev/null "" 2>&1

I'll delete those existing files and see if they come back.

BTW - good to know there's a cron entry that allows the server to run appropriately without polling agents - great idea.
Reference URL's