Title: 'sk_wait_data' problem Post by: rebel on November 09, 2011, 03:59:11 PM After starting Bitcoin, System Monitor shows Status going from Uninterruptible-->Running-->Sleeping . Memory shows about 30 MiB. But the Waiting Channel after syncing gets stuck in 'sk_wait_data' . Already tried to Change Priority in 'Nice' to -20 but to no avail. I tried to google and see what it is waiting for but all the information about 'sk_wait_data' is well above my level. I use lucid. Any help appreciated. Title: Re: 'sk_wait_data' problem Post by: 2112 on November 09, 2011, 07:19:59 PM It is pointless to look at wait channel in system monitor. Bitcoin is a multi-threaded application and to get a real picture you would need to watch wait channels for each thread.
To get a sensible picture of what's going on open a terminal and do "tailf ~/.bitcoin/debug.log", or alternatively start the bitcoin from the command line with the "-printtoconsole" flag. By the way: sk_wait_data() simply means that the thread is waiting for the data to come through the network socket. I see no problem with this. Bitcoin is indeed heavily depending on the correct network operation. Title: Re: 'sk_wait_data' problem Post by: rebel on November 10, 2011, 01:59:21 PM Thanks '2112 '
please let me know if there is anything I can do. I am on cable with no problems downloading. Bitcoin has started but is not showing after some 2.5 hours and I have to leave home and shut down computer. 'sk_wait_data' is still waiting. Both "tailf" "tail-f" have printed 10 lines (9 addresses) and they are also waiting. Code: -printtoconsole : Anything wrong? Anything I can do? Reinstall lucid? Reinstall Bitcoin? Title: Re: 'sk_wait_data' problem Post by: 2112 on November 10, 2011, 03:10:21 PM I am on cable with no problems downloading. You are saying "no problem downloading". Like one network connection downloading single file? What about using a Bittorrent client Transmission to download Fedora-16 ISOs? I've seen many cable modems and home routers failing under the load of multiple peer-to-peer connections: this is exactly what bitcoin does. Using Transmission to download a freshly released Linux (like Fedora-16) should max out your network connection and will be a good test.Bitcoin has started but is not showing after some 2.5 hours and I have to leave home and shut down computer. First simbly reboot the cable modem and the gateway router. If this doesn't help only then reinstall your Linux. Transmission is included with Ubuntu: use it to download some well-seeded torrent and and verify port forwarding on the router. Title: Re: 'sk_wait_data' problem Post by: rebel on November 11, 2011, 01:55:09 PM All problems are now fixed.
Bitcoin shows up in seconds (certainly less than 30 seconds) and happily does the downloading of the latest blocks. Unbelievable easy fix! Thanks |