It is currently Sun Sep 26, 2021 6:40 pm

The forum is READ ONLY. Please direct any future discussions to our Facebook page

 Page 1 of 1 [ 1 post ] 
Author Message
 Post subject: wget --background setting
PostPosted: Sun Apr 15, 2007 1:03 pm 
User avatar

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
Display posts from previous:  Sort by  
 Page 1 of 1 [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: