It seems to be a combination of "par for this utility" and "every now and then, something goes wrong." I added this snippet to my precmd.sh scripts:
$WINEXE --interactive=0 -U $UNAME -W $WRKGRP --password=$PWD //$BOX 'cmd /c c:\backuppc\pre-exec.cmd' & pid=$! echo "sleep 300; kill $pid > /dev/null 2>&1" | at now wait $pid &> /dev/null while [ $? -eq 143 ]; do echo "WARNING -- winexe did not complete, trying again" sleep 5 $WINEXE --interactive=0 -U $UNAME -W $WRKGRP --password=$PWD //$BOX 'cmd /c c:\backuppc\pre-exec.cmd' & pid=$! echo "sleep 300; kill $pid > /dev/null 2>&1" | at now wait $pid &> /dev/null done sleep 5 echo "Rsync and shadow copy loaded" It isn't invoked often, but when it is, it prevents winexe from sitting there taking up CPU cycles for more than 5 minutes. I haven't looked into the winexe code, but I'd speculate that it's a too-tight polling loop, given that it only appears to happen when winexe is waiting for a response. > I've been using the VSS backup method posted here: > http://www.goodjobsucking.com/?p=62 for about a year now to backup Windows > hosts. Everything works great except the winexe process running on the > BackupPC server. The dang thing keeps eating up CPU cycles like there's no > tomorrow. I use CentOS and follow the intructions for compiling it from > here: http://eol.ovh.org/winexe/ > > The same behavior has occurred from CentOS 5.3 x86 to 5.4 x64. Killing the > process provides temporary relief... then it launches again. > > I know this isn't a support forum for Winexe but I figure this has be one > of > the places that uses it most. That and there aren't many places that have > any topic on it. > > Soooo is this par for this util? Or is something wrong? > > Thanks, > > Jacob ------------------------------------------------------------------------------ Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev _______________________________________________ BackupPC-users mailing list [email protected] List: https://lists.sourceforge.net/lists/listinfo/backuppc-users Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/
