ExecuteQuery gets stuck  forever, sporadically

I have a table t with around 160K records. I need to pull out all the rows an pack them in files each files with a maximum of 50K records.
The following code is called (standard pagination) with page size = 10000. That means, this code needed to be called 16 times to archive whole table into files.
query = "select  from (select t_name, row_number() over (order by t_timestamp asc) rn from t where t_id = ? and t_timestamp between ? and ?) where rn between ? and ?";               try{ conn = DriverManager.getConnection(url, user, pass); pstmt = conn.prepareStatement(query); pstmt.setFetchSize(10000); pstmt.setLong(1, t_id); pstmt.setDate(2, fromDate); pstmt.setDate(3, todate); pstmt.setLong(4, startIdx); pstmt.setLong(5, endIdx); rs = pstmt.executeQuery(); while(rs.next()){ /**get the rows and pack in ovo object*/ lst.add(ovo); } }catch{                             /*catch code*/                 }finally{   /* Clean up the resources */ try{ if(pstmt!=null) { pstmt.close(); } if (rs != null) { rs.close(); } if(conn!=null) { conn.close(); } }catch(Exception e){ /*catch code*/ } }
This code is a part of a stand-alone application. The query is pretty fast.
The problem is, the thread hangs at
pstmt = conn.prepareStatement(query);
without any error.
And this happens sporadically (some of the 16 calls fail). There is no hanging query when we see from DB side. Looks like the thread has gone in idle state. No garbage collection trace is printed.
This process fails with (connection timeout)
at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
I considered following possibilities and added fix for that none worked:
1. There might be resource crunch. So, made sure preparedStatement and resultset are closed explicitly as well.
2. tested with setQueryTimeout.
3. added System.gc() before each call.
4. using pooled and non-pooled connections
Not sure what's wrong.
- Nishant

Tolls wrote:
I wouldn't expect high memory usage, but I would expect something along the lines of a connection timeout...maybe.
Still, rereading your OP I would also expect it to hang at the getConnection() rather than the following executeUpdate(), so it's possibly not resource leaking.
Have you tried over at OTN? [Found this post from a couple of months back.|http://forums.oracle.com/forums/thread.jspa?threadID=922664&tstart=0]
Thanks for the link.
The weirdest thing is, If I do something like this
                        pstmt.setQueryTimeout(30);
                        System.out.println("Before");
               rs = pstmt.executeQuery();
               System.out.println("After");The iteration which the code fails in, three things happen:
1. "Before" gets printed but not "After".
2. No timeout happens after 30 seconds. In fact, the timeout takes place after 90 minutes. (may be the default connection timeout)
3. there is no active query when seen from DBA tool.
I am wondering if some particular resource gets unavailable like socket or something, not sure though. Neither the error indicates that.
- Nishant

Similar Messages

  • When I try to sync my PDF's it gets stuck, what can I do?

    Hi! I tried to sync some of my PDF's into my ipad but when I click 'sync' it appears the 'getting ready to copy' message (step 4 of 4) and gets stuck forever on that step. The PDF's "appear" on ibooks but I can't open it and I've been trying a few times already without getting anywhere.
    Anyone has any idea what could be happening? Thank You

    What file?

  • HI, I just got a Macbook Pro.  It's great but my mail doesn't work at all.  It will come up correctly, but take forever to download messages,  then won't delete them,  then won't save them to folders.  Then when I go to quit mail it's like it gets stuck.

    HI, I just got a Macbook Pro.  It's great but my mail doesn't work at all.  It will come up correctly, but take forever to download messages,  then won't delete them,  then won't save them to folders.  Then when I go to quit mail it's like it gets stuck between quitting and not.  I have to force quit, then restart my computer if I want to pull up my mail again.  How can I fix this?

    If you just got your new MBP you have phone support from Apple (which is quite good) call them.  800-692-7753 tell the automated answerer "mail technical support" you'll have human quite quickly.  Hope this helps.

  • My apple TV 3 is stuck in recovery. When connected to iTunes through microUSB, it gets stuck in "Preparing Apple TV for restore", then after what seems forever, it gives me an error 2003. What can be done?

    I tried to update my Apple TV today through iTunes using a microUSB. It gave me an error, I tried again and now it is stuck in recovery mode. If I plug it into the TV, it just shows that I have to connect it to iTunes (just the picture). I unplug everything, plug the microUSB and USB, plug the power, open iTunes, it shows, asks me to restore, I click Restore. It starts extracting the file, finishes, then gets stuck in "Preparing Apple TV for restore..." for what seems forever, when it finally times out, I get an error number 2003. I have tried different USB ports, no other USB device is connecte, I have tried restarting the PC (running windows 7, up to date, iTunes up to date as well), I have tried redownloading the IPSW and even using the shift+restore and manually selecting the .IPSW file, and to be honest, I give up! If anyone can help, I'd truly appreciate it. Thanks!
    PS: I also tried pressing menu+down for 6 seconds to restart, I tried pressing menu+play to restart, I tried pressing menu+down 6 secs and then menu+play 6 seconds for the so called DFU mode, nothing works, the Apple TV just restarts back to the "connect to itunes picture" along with the fast continuous white light flashing.

    typed in appletv error 2003 in google
    https://discussions.apple.com/thread/2614453?start=0&tstart=0
    http://forums.macrumors.com/showthread.php?t=812231
    more
    https://www.google.dk/search?client=opera&q=appletv+error+2003&sourceid=opera&ie =utf-8&oe=utf-8&channel=suggest

  • After migrating to a new MacBook Air from an older MacBook, iPhoto gets stuck on uploading cache, it just "spins" forever. I downloaded a new iPhoto app and replaced it but when opened it just does the same thing? What is going on?

    After migrating to a new MacBook Air from an older MacBook, iPhoto gets stuck on "uploading cache", it just "spins" forever. I downloaded a new iPhoto app and replaced it, but when opened it just does the same thing? What is going on? Where are my photos now? How can I upload photos from my camera without iPhoto?
    Is there a better app?
    Thanks, Chris

    Take the system to an Apple store to be fixed or replaced as the one you have has defective hardware.

  • Get Stuck At stat.executeQuery(query) Function

    Hi,
    Can Any one Tell.
    What Can be The possible reasons For The executeQuery function get stucked?
    Table from where i am getting the value has only two row.
    and i am using mysql-connector-java-5.1.6-bin.jar driver to get connected to mysql.
    Some times the query works fine , but sometimes it get Stuck at this function , then i have to restart the mysql to work again properly.
    Thanks

    Ashutoshklkkkkkkkkkkkkkkk wrote:
    And the i don't close the connection i just kill the application .
    What can be the side effect of not closing the connection only just killing the application on linux.If you don't close a connection, it stays open until it times out in the DB side. Which may be one hour, but it can also be one day or more. The more unclosed connections you have, the lesser resources the database will have left and it will finally die.
    Always, I repeat, always close expensive resources explicitly. Do that in the finally block. Acquire and close Connection, (Prepared)Statement and ResultSet in the shortest possible scope.

  • Hi, I'm gringo to download Apps that Hades already bought, and also new ones but get stuck on a "waiting" signal forever and that I can't manage to delete.

    Hi, I'm trying to download apps some new, other that I had erased, but get stuck on the wheel and a sign that says waiting and nothing happens. Can't even erase the sign. What can I do?

    If there are multiple apps trying to download at once, only one can download at a time and the rest say "Waiting" until it is then their turn. Try this. Double tap the icon of the Waiting app, and it should resume the download.
    How to Solve the Problem of An iPad App Download Stuck on “Waiting”
    http://ipadacademy.com/2012/06/how-to-solve-the-problem-of-an-ipad-app-download- stuck-on-waiting
    How To Get Rid Of Your iPad App Download Frozen Problem
    http://www.sidelineapple.com/how-to-get-rid-of-your-ipad-app-download-frozen-pro blem-and-not-lose-years-of-your-life-video/
    iTunes: How to resume interrupted iTunes Store downloads
    http://support.apple.com/kb/ht1725
    Another thing to try - Turn the iPad Off & then back ON.
    If that doesn't work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the Waiting should be gone.
     Cheers, Tom

  • My Mac is doing strange things: delaying between users, mouse flickering and bouncing, gets stuck with rainbow wheel flickering. I ran the appel hardware test and it detected an error: 4MOT/4/40000003:HDD-1233 Does anybody know what that means? HELP!

    My imac is doing strange things:
    -delaying between users: when closing session it goes to blue, then takes a while to appear users signin box, and then wont recognize mouse command to enter until a couple of minutes later... then everything seems alright until....
    -it gets stuck between things, the rainbow wheel appears and its just delays there forever....
    -and every now and then the mouse starts flickering and bouncing wildly onscreen.
    I ran the appel hardware test and it detected an error:
    4MOT/4/40000003:HDD-1233
    Does anybody know what that means? HELP!

    WZZZ answered about where to get iStat. And do check the SMART status. If it is an overheating problem due to a fan or logic board problem, your hard drive is possibly cooking itself to death. If so it isn't a faulty hard drive even though the hard drive might fail. So assuming it's a temperature problem, even if you are able to repair things on the disk with software, that is working on symptoms, not causes. I could be wrong however.
    RE: AppleCare: Your iMac came with one year of AppleCare (Apple's warranty program), but within the first year you can buy 2 more years. You have to extend by the one year anniversary of purchase of the computer. Your 10,1 is too old to still be in the first year, and since you asked what it was, I'm sure you don't have it. Bottom line meaning is that whatever this problem turns out to be, you'll have to pay for it. Unless there is something like this. It is for 2011 iMacs with certain Seagate drives. You can put in your serial number for fun, but it looks like yours is too old. Lastly, some people have had Apple help them anyway if it is just out of warranty, but many have not. Your machine is one of these. Type in 10,1 in the search box. Is there an Apple Store near you? Just b/c it's out of warranty doesn't mean you shouldn't have it looked at by Apple. But no one here can say at all what Apple will or will not do.
    Hope you get it taken care of!

  • Time Machine gets stuck on cleaning up

    Hi, I can't complete a back up successfully with Time Machine. I get stuck on the 'cleaning up' phase and then it stays there forever. I actually went to work and when I came home it was still in the same state. Then I can't stop the back-up cleanly. I have to go in to Activity Monitor to force quit.
    Following the advice on pondini.org I have installed the Buddy widget. It tells me that....
    Starting standard backup
    Network destination already mounted at: /Volumes/Data
    Failed to attach to image: /Volumes/Data/gemzap_001f5bed6067.sparsebundle, DIHLDiskImageAttach returned: 35
    Disk image /Volumes/Data/gemzap_001f5bed6067.sparsebundle mounted at: /Volumes/Backup of gemzap
    Backing up to: /Volumes/Backup of gemzap/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Node requires deep traversal:/ reason:must scan subdirs|new event db|
    Node requires deep traversal:/Users/gemzap/Pictures/iPhoto Library reason:contains changes|must scan subdirs|found in deep scan|missed reservation|
    Following advice on here, I have also done a verify/repair disk on both my macbook and the time capsule external drive. Both reported to be ok.
    Any ideas? Any help would be much appreciated!
    Many thanks
    gemzap

    No luck I'm afraid.... I dismounted (then completely unplugged) the time capsule. Then reconnected, clicked in to the timecapsule drive to make sure it wasn't napping, and tried again. The messages on the time machine read as follows..
    22:25 Making back up disk available
               Calculating changes
    22:27 Scanning 800,713 items
                Preparing xxx items
    22:58 Cleaning up - for 8 hours.
    So at 7am this morning I clicked stop back up. But again that hasn't don't anything, so have just done a force quit in Activity Monitor.
    Time Machine buddy says...
    Starting standard backup
    Attempting to mount network destination using URL: afp://Gemma%[email protected]/Data
    Mounted network destination using URL: afp://Gemma%[email protected]/Data
    QUICKCHECK ONLY; FILESYSTEM CLEAN
    Disk image /Volumes/Data-1/gemzap_001f5bed6067.sparsebundle mounted at: /Volumes/Backup of gemzap
    Backing up to: /Volumes/Backup of gemzap/Backups.backupdb
    Event store UUIDs don't match for volume: Macintosh HD
    Node requires deep traversal:/Users/gemzap/Pictures/iPhoto Library reason:must scan subdirs|missed reservation|
    Node requires deep traversal:/ reason:must scan subdirs|new event db|
    I'm at a loss.
    Should I try deleting the gemzap_001f5bed6067.sparsebundle file? Could that help?
    Many thanks
    gemzap

  • Time Machine backup gets stuck - Please help

    Hi all,
    I'm backing up my MBP via ethernet to a Time Capsule. The incremental backups take forever and are driving me nuts. The backups seem to be getting stuck midway. The disk sounds like it's spinning but the progress bar doesn't move. Also, it seems to be copying over too many files every hour, like >60000 or so (log below). I doubt that so many files get modified every hour.
    I've tried everything (I could think of and find on the discussion boards) like deleting the sparsebundle, deleting the entire backup drive, playing with the backup frequency, nothing works.
    Please help!!
    Thanks,
    DB
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd[7045] Starting standard backup
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd[7045] Network mountpoint /Volumes/TC Backup Disk not owned by backupd... remounting
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd[7045] Network volume mounted at: /Volumes/TC Backup Disk-1
    11/27/08 10:03:07 PM /System/Library/CoreServices/backupd[7045] Disk image /Volumes/TC Backup Disk-1/Dhiren's MBP_002332d43774.sparsebundle mounted at: /Volumes/Backup of Dhiren's MBP
    11/27/08 10:03:07 PM /System/Library/CoreServices/backupd[7045] Backing up to: /Volumes/Backup of Dhiren's MBP/Backups.backupdb
    11/27/08 10:04:39 PM /System/Library/CoreServices/backupd[7045] No pre-backup thinning needed: 570.5 MB requested (including padding), 426.79 GB available
    11/27/08 10:14:44 PM /System/Library/CoreServices/backupd[7045] *_Copied 87124 files_* (20.3 MB) from volume Macintosh HD.
    11/27/08 10:14:48 PM /System/Library/CoreServices/backupd[7045] No pre-backup thinning needed: 559.1 MB requested (including padding), 426.69 GB available
    11/27/08 10:15:02 PM /System/Library/CoreServices/backupd[7045] Unable to rebuild path cache for source item. Partial source path:
    11/27/08 10:15:02 PM /System/Library/CoreServices/backupd[7045] Error: (-39) SrcErr:YES Copying (null) to (null)
    11/27/08 10:15:14 PM /System/Library/CoreServices/backupd[7045] Copied 1067 files (10.6 MB) from volume Macintosh HD.
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd[7045] Starting post-backup thinning
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd[7045] No post-back up thinning needed: no expired backups exist
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd[7045] Backup completed successfully.
    11/27/08 10:15:26 PM /System/Library/CoreServices/backupd[7045] Ejected Time Machine disk image.
    11/27/08 10:15:32 PM /System/Library/CoreServices/backupd[7045] Ejected Time Machine network volume.
    11/27/08 10:15:32 PM /System/Library/CoreServices/backupd[7045] Ejected Time Machine network volume.
    Message was edited by: dhiren9

    The indication that the backup completed successfully is the best evidence that it did. If you want something more explicit, you can proceed as below.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Drag or copy — do not type — the following line into the Terminal window, then press return:
    sudo tmutil compare
    You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
    The command will take at least a few minutes to run. Eventually some lines of output will appear below what you entered.
    Each line that begins with a plus sign (“+”) represents a file that has been added to the source volume since the last snapshot was taken. These files have not been backed up yet.
    Each line that begins with an exclamation point (“!”) represents a file that has changed on the source volume. These files have been backed up, but not in their present state.
    Each line that begins with a minus sign (“-“) represents a file that has been removed from the source volume.
    Files that you’ve excluded from backup, or that are excluded automatically, are ignored.
    At the end of the output, you’ll get some lines like the following:
    Added:
    Removed:
    Changed:
    These lines show the total amount of data added, removed, or changed on the source(s) since the last snapshot.

  • TS2755 After upgrading to IOS 7.0.2 sending messages doesn't work right.  It gets stuck on "sending", until I click the message and select the option "send as text".  What's wrong?

    When using Message after upgrading to IOS 7, it get stuck on "sending" and stays there forever until I click the message and hit "send as text" and then the message changes from blue to green and goes through.

    I turned the phone off and then back on and now it works.

  • 10.5.3 can't turn off my mac and programs get stuck

    I've installed the latest OS X Leopard update (10.5.3) and since then I'm having serious problems with my Macbook Pro. The iMac of my girlfriend has the update as well but everything is working fine there.
    Problem 1: Can't turn off my mac
    When I want to turn off my mac I end up with my background and a little spinning wheel. This goes on forever, it seems my mac gets stuck at that point.
    Problem 2: Programs get stuck
    Since 10.5.3 programs get stuck much faster and when they do Force Quit doesn't work anymore. The program gets stuck and restarting the program can't be done.
    Affected programs: Mail, Safari, Camino, NewsFire, Dock
    Does anyone has the same problems or does anyone knows what's going on?
    My Macbook Pro:
    MacBook Pro 15"
    Intel Core Duo 2.16 GHz
    2 GB RAM

    HI Guust - yeah having a similar problem with an application freezing, although it is just Photoshop CS2 and I can force quite after 2 goes though!! I hope you get a result from this forum - I have been a mac user for 12 years plus and yes there were always problems with updates but never quite as dramatic as this and there were normally fairly easy solutions!
    GOOD LUCK!

  • Getting stuck on isClosed()

    I can't figure out for the life of me why this would be occurring. I call the open statement, and it runs the query without any issues what so ever. It gets to the this.resultSet.last() and tries to operate, but it gets stuck. I stepped inside of the this.resultSet.last() method, and found out that it's getting stuck specifically on the this.jdbc.getConnection().isClosed(). It runs just fine when this.jdbc.getConnection().isClosed() gets called in teh open, but comes to a dead stop right when it hits the same line in last(). After a certain amount of time passes, it eventually throws an Outofmemory exception. Any one happen to have an idea of what would or could be causing this? Any and all information would be useful. Thanks.
    public synchronized boolean open() {         try         {             if (this.jdbc instanceof MRxJDBC)             {                 if (this.jdbc.getConnection() instanceof java.sql.Connection)                 {                     if (!this.jdbc.getConnection().isClosed())                     {                         this.sql = "SELECT * FROM fills";                         this.preparedStatement = this.jdbc.getConnection().prepareStatement(this.sql,                                 ResultSet.TYPE_SCROLL_INSENSITIVE,                                 ResultSet.CONCUR_READ_ONLY);                         this.resultSet = this.preparedStatement.executeQuery();                         this.resultSet.last();                         this.count = this.resultSet.getRow();                         this.resultSet.beforeFirst();                         return true;                     }                     this.debug("open()", "", "The connection is not open", "");                     return false;                 }                 this.debug("open())", "", "No sql connection", "");                 return false;             }             this.debug("open()", "", "The MRXJDBC as not been instantiated.", "");         } catch (Exception ex)         {             ex.printStackTrace();             this.debug("open()", "", ex.getMessage(), "");             return false;         }         return true;     } public synchronized boolean last() {         try {             if (this.jdbc instanceof MRxJDBC) {                 if (this.jdbc.getConnection() instanceof java.sql.Connection) {                     if (!this.jdbc.getConnection().isClosed()) { //stuck right here. Pulls connection back NP, calls isClosed(), gets stuck                         if (this.resultSet instanceof ResultSet) {                             if (this.resultSet.last()) {                                 this.assign();                                 this.debug("last()", "Record "+this.resultSet.getRow()+" of "+this.count+" returned.", "", "");                                                return true;                             }                             this.debug("last()", "", "No records returned.", "");                                            return false;                         }                         this.debug("last()", "", "No results returned.", "");                                        return false;                     }                     this.debug("last()", "", "The connection is not open", "");                                    return false;                 }                 this.debug("last()", "", "No sql connection", "");                                return false;             }             this.debug("last()", "", "The MRXJDBC as not been instantiated.", "");                            return false;         } catch (Exception ex) {             this.debug("last()", "", ex.toString(), "");                            return false;         }     }
    Edited by: SabinsAura on Oct 8, 2009 7:28 AM

    At least tidy up that horrible nested method. Try this:
    public synchronized boolean last() {
       try {
          if (!(jdbc instanceof MRxJDBC)) {
             debug("last()", "", "The MRXJDBC as not been instantiated.", "");               
             return false;
          if (!(jdbc.getConnection() instanceof java.sql.Connection)) {
             debug("last()", "", "No sql connection", "");               
             return false;
          if (jdbc.getConnection().isClosed()) {
             debug("last()", "", "The connection is not open", "");               
             return false;
          if (!(resultSet instanceof ResultSet)) {
             debug("last()", "", "No results returned.", "");               
             return false;
          if (!resultSet.last()) {
             debug("last()", "", "No records returned.", "");               
             return false;
          assign();
          debug("last()", "Record "+resultSet.getRow()+" of "+count+" returned.", "", "");               
          return true;
       } catch (Exception ex) {
          debug("last()", "", ex.toString(), "");               
          return false;
    }What is "MRXJDBC" and are you sure it doesn't do pooling? Are you absolutely certain that the jdbc connection you pass in is the same as the jdbc field that you access in the above code?

  • Time Machine backup to Time Capsule gets stuck

    Hi all,
    I'm backing up my MBP via ethernet to a Time Capsule. The incremental backups take forever and are driving me nuts. The backups seem to be getting stuck midway. The disk sounds like it's spinning but the progress bar doesn't move. Also, it seems to be copying over too many files every hour, like >60000 or so (log below). I doubt that so many files get modified every hour.
    I've tried everything (I could think of and find on the discussion boards) like deleting the sparsebundle, deleting the entire backup drive, playing with the backup frequency, nothing works.
    Please help!!
    Thanks,
    DB
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd7045 Starting standard backup
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd7045 Network mountpoint /Volumes/TC Backup Disk not owned by backupd... remounting
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd7045 Network volume mounted at: /Volumes/TC Backup Disk-1
    11/27/08 10:03:07 PM /System/Library/CoreServices/backupd7045 Disk image /Volumes/TC Backup Disk-1/Dhiren's MBP_002332d43774.sparsebundle mounted at: /Volumes/Backup of Dhiren's MBP
    11/27/08 10:03:07 PM /System/Library/CoreServices/backupd7045 Backing up to: /Volumes/Backup of Dhiren's MBP/Backups.backupdb
    11/27/08 10:04:39 PM /System/Library/CoreServices/backupd7045 No pre-backup thinning needed: 570.5 MB requested (including padding), 426.79 GB available
    11/27/08 10:14:44 PM /System/Library/CoreServices/backupd7045 _*Copied 87124 files (20.3 MB) from volume Macintosh HD.*_
    11/27/08 10:14:48 PM /System/Library/CoreServices/backupd7045 No pre-backup thinning needed: 559.1 MB requested (including padding), 426.69 GB available
    11/27/08 10:15:02 PM /System/Library/CoreServices/backupd7045 Unable to rebuild path cache for source item. Partial source path:
    11/27/08 10:15:02 PM /System/Library/CoreServices/backupd7045 Error: (-39) SrcErr:YES Copying (null) to (null)
    11/27/08 10:15:14 PM /System/Library/CoreServices/backupd7045 Copied 1067 files (10.6 MB) from volume Macintosh HD.
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd7045 Starting post-backup thinning
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd7045 No post-back up thinning needed: no expired backups exist
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd7045 Backup completed successfully.
    11/27/08 10:15:26 PM /System/Library/CoreServices/backupd7045 Ejected Time Machine disk image.
    11/27/08 10:15:32 PM /System/Library/CoreServices/backupd7045 Ejected Time Machine network volume.
    11/27/08 10:15:32 PM /System/Library/CoreServices/backupd7045 Ejected Time Machine network volume.

    Hi all,
    I'm backing up my MBP via ethernet to a Time Capsule. The incremental backups take forever and are driving me nuts. The backups seem to be getting stuck midway. The disk sounds like it's spinning but the progress bar doesn't move. Also, it seems to be copying over too many files every hour, like >60000 or so (log below). I doubt that so many files get modified every hour.
    I've tried everything (I could think of and find on the discussion boards) like deleting the sparsebundle, deleting the entire backup drive, playing with the backup frequency, nothing works.
    Please help!!
    Thanks,
    DB
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd7045 Starting standard backup
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd7045 Network mountpoint /Volumes/TC Backup Disk not owned by backupd... remounting
    11/27/08 10:02:57 PM /System/Library/CoreServices/backupd7045 Network volume mounted at: /Volumes/TC Backup Disk-1
    11/27/08 10:03:07 PM /System/Library/CoreServices/backupd7045 Disk image /Volumes/TC Backup Disk-1/Dhiren's MBP_002332d43774.sparsebundle mounted at: /Volumes/Backup of Dhiren's MBP
    11/27/08 10:03:07 PM /System/Library/CoreServices/backupd7045 Backing up to: /Volumes/Backup of Dhiren's MBP/Backups.backupdb
    11/27/08 10:04:39 PM /System/Library/CoreServices/backupd7045 No pre-backup thinning needed: 570.5 MB requested (including padding), 426.79 GB available
    11/27/08 10:14:44 PM /System/Library/CoreServices/backupd7045 _*Copied 87124 files (20.3 MB) from volume Macintosh HD.*_
    11/27/08 10:14:48 PM /System/Library/CoreServices/backupd7045 No pre-backup thinning needed: 559.1 MB requested (including padding), 426.69 GB available
    11/27/08 10:15:02 PM /System/Library/CoreServices/backupd7045 Unable to rebuild path cache for source item. Partial source path:
    11/27/08 10:15:02 PM /System/Library/CoreServices/backupd7045 Error: (-39) SrcErr:YES Copying (null) to (null)
    11/27/08 10:15:14 PM /System/Library/CoreServices/backupd7045 Copied 1067 files (10.6 MB) from volume Macintosh HD.
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd7045 Starting post-backup thinning
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd7045 No post-back up thinning needed: no expired backups exist
    11/27/08 10:15:22 PM /System/Library/CoreServices/backupd7045 Backup completed successfully.
    11/27/08 10:15:26 PM /System/Library/CoreServices/backupd7045 Ejected Time Machine disk image.
    11/27/08 10:15:32 PM /System/Library/CoreServices/backupd7045 Ejected Time Machine network volume.
    11/27/08 10:15:32 PM /System/Library/CoreServices/backupd7045 Ejected Time Machine network volume.

  • My mac book pro gets stuck when connected to internet

    hello.
    I recently changed  ISP and router...
    I noticed that when I connect to the wifi of my house my mac book pro gets stuck. the color spinning wheel (of death)  starts and  shows forever and I can't click anything after that. I can turn off the mac only by forcing quitting (holding down the power button).
    i checked the hard disc at disc utility and everything is ok
    when i restart and turn the air port off it doesn't get stuck...
    Please help!

    I recently changed  ISP and router...
    Do you have an apple router at all??
    If so which one?
    when i restart and turn the air port off it doesn't get stuck...
    So you are plugged into the main router by ethernet??
    Are you actually running Lion??
    If not what are you running? And if it is that all round Stinker Yosemite.. no surprises there.
    As far as the computer is concerned clear out all the old wireless names.. shut down the computer.. restart the computer and rediscover the wireless again and put in the password. Does that help??
    Old laptop and upgrade install bad news all round.

Maybe you are looking for