Stef,<br><br>Thanks for the suggestions!  I'll keep these in mind when it comes time to creating my backups.<br><br>For now I deleted the core* files and within a few minutes the server/bin dir started filling up with the core* files.  I looked at 
history.log and I see 25165 lines that look like:<br><br><pre>2007-10-18 17:39:05 Cannot open the all-events file '/home/user/data/hist/allevents'<br>2007-10-18 17:39:05 Worker process died with exit code 139, terminating
</pre>The log is filled with this pair of lines, over and over (though I don't know why the number of lines is odd).  What should this allevents file contain?<br><br>Josh<br><br><div><span class="gmail_quote">On 10/19/07, 
<b class="gmail_sendername">Stef Coene</b> <<a href="mailto:stef.coene@docum.org">stef.coene@docum.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 18 October 2007, Josh Luthman wrote:<br>> I've only had Hobbit running since last Monday.  I have restarted it twice<br>> to ensure that my configurations would take place (things like changing the<br>
> WWW hostname).  I last restarted it yesterday and it has been running since<br>> yesterday, so I know if it is restarting it takes more then a day.  I have<br>> 40787 total core* files in ~/server and 569364 total core* files in
<br>> ~/server/bin - couldn't possibly have restarted that many times!<br>Look at the timestamps of these files.  Each crash can create a core file.  So<br>each visit to the hobbit site, every poll hobbit does, every rrd update can
<br>create a crash and a core file.  I never had a crash/core file, but in theory<br>it can.<br>We also use vmware so if a hobbit server goes down, I copy the vmware guest<br>that I use to deploy new installations, copy over the etc directory, goes to
<br>the custumer, pick a computer/desktop/laptop/server, install vmware player<br>and hobbit is running again.<br><br>> Stef - If you have two Hobbit servers and duplicate your actions, why do<br>> you note your actions?  My original plan was to tar the home directory of
<br>> the hobbit user, but as<br>I don't have 2 hobbit servers, but more then 20 located for our customers.<br>The bare mimal I need for re-creating the same setup is the contents of etc<br>and some extra information I collected during the installation (hostname,
<br>network settings, ...).<br><br>> "Hobbit User" - I could use rsync and it would make backups though I<br>> normally don't use rsync as I like to have daily backups, in case I make a<br>> mistake on Monday, the backup is done Tuesday and I catch it on Wednesday -
<br>> I can revert to Sunday with daily backups.  Rsync could have backed up my<br>> problem making it useless in this scenario!  I have a scripts that backup<br>> necessary components (like databases) and then finally tar with gzip
<br>> compression and then SCP the file to a remote data center (I also use<br>> public keys to automate this).  I have found this works very well in my<br>> situation and has saved my life in the case of a MySQL database crash!
<br>You don't have to rsync everything in the same way.  If you look at the hobbit<br>server data, the stuff in the data directory takes op 99% of the disk space.<br>And that stuff can be rsync'd and overwritten daily.  For the server
<br>installation, you can also use rsync but do something like this:<br>rsync -Auhv --delete ~hobbit/server/ <remote>:/backup/hobbit/server-`date +%a`<br>So every day of the week you will have a new directory so you have a history
<br>of 7 days.<br><br>> Would it be safe for me to delete these core files and start working on<br>> this task from this day forward?  What can I use to read these core files?<br>> I noticed they're not text files so I assume there is some bb utility to
<br>> read them.  With the exception of these core* files, I would expect Hobbit<br>> to peak at 200MB which I could do in a ~3 minutes<br>You can delete the core files, but you should also try to find out why the are
<br>created.  If you use rsync, you can exclude these core files from being<br>rsync'd<br><br><br>Stef<br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk
</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.
<br>--- Henry Spencer