Developer |
|
|
Joined: Wed Feb 19, 2003 6:07 pm Posts: 2930
|
If you are using wget in your cron processor you need to remove the --background flag. We have removed it from the examples given by the installer.php.
We have found that if wget creates a background process to connect to a web site and that web site is not accessible the background process will NOT quit. It will continue to run forever.
What this means is if your server loses internet connectivity wget background processes will start stacking up. One every 5 minutes and it will overload the server in a bad way. Imagine 1000% server load after 1 hour of lost internet connectivity. In many cases the web server will need to be shut down and restarted.
We have tested even the latest versions of wget and the same problem occurs. Setting a timeout does NOT affect anything started using the --background flag. The background process will run forever even if the internet connection comes back.
So, edit your cron tasks immediately if you are using the --background flag in your wget command.
_________________ PJ's Annoyingly Useless Blog
ADOdb Lite
Template Lite
|
|