Bug#490543: boinc-manager: leaves apps in memory even if request not to

Sandro Tosi matrixhasu at gmail.com
Mon Aug 25 20:58:11 UTC 2008

Hi Frank,

On Fri, Aug 22, 2008 at 10:31, Frank S. Thomas <fst at debian.org> wrote:
> reassign 490543 boinc-client 6.2.11-1
> tags 490543 unreproducible
> thanks
> Hi Sandro,
> On Saturday 12 July 2008 16:09, Sandro Tosi wrote:
>> boinc-manager is configured not to leave apps in memory if not running:
>> $ grep leave_apps_in_memory /etc/boinc-client/global_prefs_override.xml
>>    <leave_apps_in_memory>0</leave_apps_in_memory>
> It is the BOINC client that controls applications, so this is an issue with
> the client and not with the manager. I'm therefore reassigning this bug to
> boinc-client.

Yeah, sorry for the confusion ;)

>> but they are left there:
> [...]
>> while only PID 24879 24959 31290 31291 are really running (other
>> processes are boinc itself), and I see the 2 garli processes in "Waiting
>> to run" state on boincmgr.
> I tried to reproduce this behavior with several tasks by repeatedly suspending
> and resuming them so that their status changed between "Running", "Task
> suspended by user", and "Waiting to run". But ps indicated that only those
> tasks with status "Running" were actually running.
> Is this issue reproducible with your client and apps? Happens this only with
> the garli applications or have you seen other applications that stayed in
> memory although they were not "Running"? If you can reproduce this, could you
> please set <task_debug> in /etc/boinc-client/cc_config.xml to 1 and post the
> relevant output from the client's log file? Thanks!

I had 4 einstein processes running, I suspended 2 of them, and 2
abc-finder started, but 1 einstein is left in memory (the first one,
in sleep status)

# ps -eo pid,user,stat,comm | grep boinc
14097 boinc    SNl  einstein_S5R4_6
14100 boinc    RNl  abc-finder_1.03
14110 boinc    RNl  abc-finder_1.03
14150 morph    Ss   boincmgr
16603 boinc    SN   boinc
20173 boinc    RNl  einstein_S5R4_6
25929 boinc    RNl  einstein_S5R4_6

Configuration key changed, and just after restart, everything seems pretty ok:

# ps -eo pid,user,stat,comm | grep boinc
14459 boinc    SN   boinc
14485 boinc    RNl  einstein_S5R4_6
14488 boinc    RNl  einstein_S5R4_6
14489 boinc    RNl  abc-finder_1.03
14490 boinc    RNl  abc-finder_1.03
14497 morph    Ss   boincmgr

Then, keep suspending and resuming, I got:

# ps -eo pid,user,stat,comm | grep boinc
14459 boinc    SN   boinc
14485 boinc    RNl  einstein_S5R4_6
14497 morph    Ss   boincmgr
14525 boinc    RNl  abc-finder_1.03
14526 boinc    RNl  abc-finder_1.03
14570 boinc    SNl  abc-finder_1.03
14583 boinc    RNl  einstein_S5R4_6

I'm attaching the log generated with

grep "25-Aug-2008 22:5" /var/lib/boinc-client/stdoutdae.txt

> BTW: In the first paragraph of this page[1] it is said that some applications
> take fairly long to shut down. Maybe garli is one of those applications?

yeah, here it's matter of minuts, for garli was some hours (then I
realized there was something that occupied all my memories and I've
restarted the boinc client).


Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boinc_log_2008-08-25.txt.bz2
Type: application/x-bzip2
Size: 2387 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-boinc-devel/attachments/20080825/7d2ab515/attachment.bin 

More information about the pkg-boinc-devel mailing list