Bug#445875: boinc-client: freeze is network is unavailable but network option is set to always on

Frank S. Thomas frank at thomas-alfeld.de
Fri Nov 23 11:21:07 UTC 2007


package boinc-client
tags 445875 + confirmed upstream
stop

Hi Sandro,

On Sunday 07 October 2007, Sandro Tosi wrote:
> if network option for boinc is set to "always available" but the network
> is indeed off, the core freezes.
>
> I have a box which connects to internet using another linux box, not
> always on; I've set the default gw to that machine, and the route is
> still set even if the router is shutted down.
>
> If I forgot to uncheck network availability for boinc, as soon as a
> workunit finishes, the core start a loop where it freezes for about 1-2
> minute (I think until it recieves a network timeout), then start
> computing other wo (if present), the comes back to freeze waiting for
> another timeout, and so on.
>
> When it's in freeze state, nor the boinc_cmd nor the boincmgr can
> connect to it (in order to set network not available), and the only way
> to stop the loop is shut down networking on the box, set no network for
> boinc, then restart networking.

I can reproduce this behavior. I've a similar network setup, instead that my 
router is always connected to the internet. To reproduce these "freeze 
states" I've just unplugged the network cable from the computer where the 
boinc-client was running.

When the BOINC Manager is connected to the client and the client tries to 
upload finished tasks but has no connection to the internet, the BM is frozen 
too, which means that it does not redraw any of it's GUI widgets.

An excerpt from the client's stdoutdae.txt during such a freeze is attached. 
The following debug flags were set in cc_config.xml:

    <http_debug>1</http_debug>
    <http_xfer_debug>1</http_xfer_debug>
    <guirpc_debug>1</guirpc_debug>
    <network_status_debug>1</network_status_debug>

I'll now check if this was already reported in upstream's BTS. 

Grüße,
Frank
-- 
bureaucracy, n: A method for transforming energy into solid waste.
-------------- next part --------------
23-Nov-2007 12:03:31 [Riesel Sieve Project] Sending scheduler request: To fetch work.  Requesting 60480 seconds of work, reporting 0 completed tasks
23-Nov-2007 12:03:31 [---] [http_debug] HTTP_OP::init_post(): http://boinc.rieselsieve.com/cgi/index.cgi
23-Nov-2007 12:04:12 [---] [http_debug] [ID#17] info: getaddrinfo(3) failed for boinc.rieselsieve.com:80
23-Nov-2007 12:04:12 [---] [http_debug] [ID#17] info: Couldn't resolve host 'boinc.rieselsieve.com'
23-Nov-2007 12:04:12 [---] [http_debug] [ID#17] info: Closing connection #0
23-Nov-2007 12:04:12 [---] [http_debug] HTTP error: Couldn't resolve host name
23-Nov-2007 12:04:12 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:04:12 [---] [network_status_debug] status: online
23-Nov-2007 12:04:12 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:04:12 [SETI at home] Started upload of 22fe07ab.29305.9070.3.6.12_0_0
23-Nov-2007 12:04:12 [SETI at home] Started upload of 22fe07ab.29745.9070.5.6.76_0_0
23-Nov-2007 12:04:12 [Riesel Sieve Project] Scheduler request failed: Couldn't resolve host name
23-Nov-2007 12:04:53 [---] [http_debug] [ID#18] info: getaddrinfo(3) failed for setiboincdata.ssl.berkeley.edu:80
23-Nov-2007 12:04:53 [---] [http_debug] [ID#18] info: Couldn't resolve host 'setiboincdata.ssl.berkeley.edu'
23-Nov-2007 12:04:53 [---] [http_debug] [ID#18] info: Closing connection #0
23-Nov-2007 12:05:33 [---] [http_debug] [ID#19] info: getaddrinfo(3) failed for setiboincdata.ssl.berkeley.edu:80
23-Nov-2007 12:05:33 [---] [http_debug] [ID#19] info: Couldn't resolve host 'setiboincdata.ssl.berkeley.edu'
23-Nov-2007 12:05:33 [---] [http_debug] [ID#19] info: Closing connection #0
23-Nov-2007 12:05:33 [---] [http_debug] HTTP error: Couldn't resolve host name
23-Nov-2007 12:05:33 [---] [http_debug] HTTP error: Couldn't resolve host name
23-Nov-2007 12:05:33 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:05:33 [---] [network_status_debug] status: online
23-Nov-2007 12:05:33 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:05:33 [SETI at home] Temporarily failed upload of 22fe07ab.29305.9070.3.6.12_0_0: can't resolve hostname
23-Nov-2007 12:05:33 [SETI at home] Backing off 1 min 0 sec on upload of 22fe07ab.29305.9070.3.6.12_0_0
23-Nov-2007 12:05:33 [SETI at home] Temporarily failed upload of 22fe07ab.29745.9070.5.6.76_0_0: can't resolve hostname
23-Nov-2007 12:05:33 [SETI at home] Backing off 1 min 0 sec on upload of 22fe07ab.29745.9070.5.6.76_0_0
23-Nov-2007 12:05:33 [lhcathome] Sending scheduler request: To fetch work.  Requesting 60480 seconds of work, reporting 0 completed tasks
23-Nov-2007 12:05:33 [---] [http_debug] HTTP_OP::init_post(): http://lhcathome.cern.ch/lhcathome_cgi/cgi
23-Nov-2007 12:06:13 [---] [http_debug] [ID#20] info: getaddrinfo(3) failed for lhcathome.cern.ch:80
23-Nov-2007 12:06:13 [---] [http_debug] [ID#20] info: Couldn't resolve host 'lhcathome.cern.ch'
23-Nov-2007 12:06:13 [---] [http_debug] [ID#20] info: Closing connection #0
23-Nov-2007 12:06:13 [---] [http_debug] HTTP error: Couldn't resolve host name
23-Nov-2007 12:06:13 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:13 [---] [network_status_debug] status: online
23-Nov-2007 12:06:13 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:06:13 [lhcathome] Scheduler request failed: Couldn't resolve host name
23-Nov-2007 12:06:13 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:13 [---] [network_status_debug] status: need connection
23-Nov-2007 12:06:13 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:06:13 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_project_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:13 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<projects>
<project>
    <ma'
23-Nov-2007 12:06:14 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:14 [---] [network_status_debug] status: need connection
23-Nov-2007 12:06:14 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:06:14 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_project_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:14 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<projects>
<project>
    <ma'
23-Nov-2007 12:06:15 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:15 [---] [network_status_debug] status: need connection
23-Nov-2007 12:06:15 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:06:15 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_project_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:15 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<projects>
<project>
    <ma'
23-Nov-2007 12:06:16 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:16 [---] [network_status_debug] status: need connection
23-Nov-2007 12:06:16 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:06:16 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_project_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:16 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<projects>
<project>
    <ma'
23-Nov-2007 12:06:17 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_cc_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:17 [---] [network_status_debug] status: need connection
23-Nov-2007 12:06:17 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<cc_status>
   <network_stat'
23-Nov-2007 12:06:17 [---] [guirpc_debug] GUI RPC Command = '<boinc_gui_rpc_request>
<get_project_status/>
</boinc_gui_rpc_request>
'
23-Nov-2007 12:06:17 [---] [guirpc_debug] GUI RPC reply: '<boinc_gui_rpc_reply>
<projects>
<project>
    <ma'
23-Nov-2007 12:06:18 [Riesel Sieve Project] Sending scheduler request: To fetch work.  Requesting 60480 seconds of work, reporting 0 completed tasks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20071123/67855aef/attachment.pgp 


More information about the pkg-boinc-devel mailing list