Enigma app stays in memory after task ends

Message boards : Bug reports : Enigma app stays in memory after task ends

To post messages, you must log in.

1 · 2 · Next

AuthorMessage
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 110 - Posted: 14 Nov 2007, 11:12:56 UTC

Shows picture.

When you look at the above picture, you'll see I have 1 Enigma task at this moment, but two are in memory.
Earlier today I had 12 Enigma applications in memory, so it would seem it doesn't unload itself when the task is done.

This is on a Windows 2000 SP4, BOINC 5.10.26 system. Earlier was 5.10.24 (alpha testing).


Jord.

BOINC FAQ Service.
ID: 110 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 111 - Posted: 14 Nov 2007, 11:13:44 UTC - in response to Message 110.  

Oh, it's worse than that. It even stays in memory when I exit BOINC completely. Trying to end the application in Task Manager gives me an error. Access is denied.

Jord.

BOINC FAQ Service.
ID: 111 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 112 - Posted: 14 Nov 2007, 11:14:22 UTC - in response to Message 111.  

That's weird, I haven't seen any problems on my Win2k test machine.
Have you checked who's the owner of the second process (maybe someone else installed BOINC on that host :D ) ? Does it take any CPU time ?
M4 Project homepage
M4 Project wiki
ID: 112 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 113 - Posted: 14 Nov 2007, 11:14:46 UTC - in response to Message 112.  

None of them take any CPU time and owner is me.
It's just gotten worse though and I posted it to the BOINC Alpha email list as well, as now I had 15 Enigma's, 2 Malaria's and 3 Cosmology apps in memory, all not taking CPU cycles and all staying when I exited BOINC. A reboot helped there.

I'm suspecting it is the wrapper that's doing this.


Jord.

BOINC FAQ Service.
ID: 113 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 114 - Posted: 14 Nov 2007, 11:15:20 UTC - in response to Message 113.  

My wrapper was build from svn revision 13449, not modified. I used Visual Studio 2005 express as a compiler.

M4 Project homepage
M4 Project wiki
ID: 114 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 115 - Posted: 14 Nov 2007, 11:16:28 UTC - in response to Message 114.  

I'll keep an eye on it. It's weird though that the wrapper isn't staying in memory, only the applications are. And this only started happening since BOINC 5.10.24, so it's got to be something between that and the wrapper, as I didn't have the problem before.

But just look at the latest picture. Any more and I get BOINC complaining it doesn't have memory to run apps in. ;)

Jord.

BOINC FAQ Service.
ID: 115 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile yoyo_rkn

Send message
Joined: 10 Sep 07
Posts: 1
Credit: 99,952
RAC: 0
Message 116 - Posted: 14 Nov 2007, 11:17:26 UTC - in response to Message 115.  

Hi,
can you try it also with yoyo@home and hydrogen@home? Both projects using also the wrapper.
yoyo


ID: 116 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 117 - Posted: 14 Nov 2007, 11:18:12 UTC - in response to Message 116.  

Hi,
can you try it also with yoyo@home and hydrogen@home? Both projects using also the wrapper.
yoyo



I'm already testing it with H2. Won't do yours again for the moment as I had too many (stability) problems (with my PC) with your tasks. Sorry.

The H2 tasks run in one go and without a problem. They unload correctly. For now running with the <task_debug/> flag on. I had the feeling it was the TSP project that was causing this, but last night I ran without enabling it asking for work and that ended with those 15 Enigma's etc. in memory this morning. So I'm a bit lost. Now doing an hour run with TSP enabled.

Jord.

BOINC FAQ Service.
ID: 117 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 118 - Posted: 14 Nov 2007, 11:19:49 UTC - in response to Message 117.  

OK, interesting.

I have 1 Enigma task at this moment. Yet it's in memory twice!
See this picture. It ran for 1m 44s first, then was suspended because another TSP task with a closer deadline needed to be done first. That went on for a while, all kinds of apps switching in and out of memory. Then Enigma restarted, but instead of using the application that was in memory already, it started a new one, which ran for 11 seconds.

It now shows in BOINC Manager to have run for 11 seconds, not 1m 55s !


Jord.

BOINC FAQ Service.
ID: 118 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 119 - Posted: 14 Nov 2007, 11:20:28 UTC - in response to Message 118.  

I now forced all other tasks to suspend and only let Enigma run. It now continues off from the second entry that it had, the one on 11 seconds.

**confused**

Jord.

BOINC FAQ Service.
ID: 119 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 121 - Posted: 14 Nov 2007, 11:27:30 UTC - in response to Message 120.  

* TJM is downloading 5.10.26

Ageless wrote:
It now shows in BOINC Manager to have run for 11 seconds, not 1m 55s !


That's nothing unusual, for some reason CPU time is not saved when the task is stopped.

M4 Project homepage
M4 Project wiki
ID: 121 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 122 - Posted: 14 Nov 2007, 11:27:46 UTC - in response to Message 121.  

Maybe it's a conflict between my wrapper and the other two in your memory :D
M4 Project homepage
M4 Project wiki
ID: 122 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 123 - Posted: 14 Nov 2007, 11:28:10 UTC - in response to Message 122.  

Maybe it's a conflict between my wrapper and the other two in your memory :D


That would count for Enigma staying in memory, but I doubt it'll wreck the capability of two other projects to unload in a normal way.

It's probably two bugs, though.
One is where Enigma doesn't know it has started already once before and just starts a new application, instead of resuming the old one. Probably to do with it checkpointing internally, not outside the wrapper. (??)

Two is where applications just do not unload from memory when they are completely through. The wrapper does unload correctly at all times.

I'm also posting all my results and findings on this to David Anderson.
Jord.

BOINC FAQ Service.
ID: 123 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 124 - Posted: 14 Nov 2007, 11:29:27 UTC - in response to Message 123.  

Ageless wrote:

That would count for Enigma staying in memory, but I doubt it'll wreck the capability of two other projects to unload in a normal way.

It's probably two bugs, though.
One is where Enigma doesn't know it has started already once before and just starts a new application, instead of resuming the old one. Probably to do with it checkpointing internally, not outside the wrapper. (??)


The main app does not start/stop by itself. The wrapper does that, it starts a fresh enigma with a command line -R -o results.txt 00trigr.naval 00bigr.naval or resumes one which is already in memory.

Ageless wrote:

Two is where applications just do not unload from memory when they are completely through. The wrapper does unload correctly at all times.


Or the wrapper is dying for some reason, leaving suspended app in memory...

< Last Edit: October 23, 2007, 02:29:45 pm by TJM >

M4 Project homepage
M4 Project wiki
ID: 124 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 126 - Posted: 14 Nov 2007, 12:00:32 UTC - in response to Message 124.  

TJM wrote:
Or the wrapper is dying for some reason, leaving suspended app in memory...


Heh, that one is for you to hunt down and fix, then.

Any other cc_config.xml flags you want me to turn on?

Jord.

BOINC FAQ Service.
ID: 126 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 128 - Posted: 14 Nov 2007, 12:29:36 UTC - in response to Message 126.  

,,,


I'm unable to reproduce the problem here, I switched to 5.10.26 and everything looks just fine.

M4 Project homepage
M4 Project wiki
ID: 128 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
sprint
Project developer
Project tester
Project scientist

Send message
Joined: 16 Sep 07
Posts: 5
Credit: 83,261
RAC: 0
Message 129 - Posted: 14 Nov 2007, 12:30:00 UTC - in response to Message 128.  

So far we've been unable to reproduce the bug (but we are still working on it), it *might* be specific to your system.


ID: 129 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Ageless
Volunteer moderator
Volunteer tester
Avatar

Send message
Joined: 11 Sep 07
Posts: 104
Credit: 155,932
RAC: 0
Message 130 - Posted: 14 Nov 2007, 12:30:55 UTC - in response to Message 129.  

Thanks. I always were a bit strange. :P

I see it happen on long runs, not noticeably when I sit here with my nose on top of things.
Got the extra flags on, that's going to be fun on my log files. I also suspended all the other projects and let only Enigma run, with TSP trying to get work. Let's see if I can force it in this way.

I'll report back in an hour if I have anything to report and else I'll continue all other projects as well and let it rip through the night. I had the 'problem' two days in a row, it would be strange if it didn't happen the third night.

Edit: Let's just say I'll let it run through the night, unattended as I just see TSP is down and thus not giving out work. I don't know of another project this quickly that has such fast tasks. :(
Jord.

BOINC FAQ Service.
ID: 130 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 131 - Posted: 14 Nov 2007, 12:32:55 UTC - in response to Message 130.  

This reminds me a weird bug I've seen in 5.10.13 - after about 20 days uptime my slowest PC suddenly started acting like a dual cpu machine. It ran two tasks simultaneously, both were consuming CPU time (about 50% each), but tasks runtimes were 10-15 times longer than usual (average ~1h40m task took 20+ hours to complete). I had to restart the system, because after I shut down manager I couldn't start it again.

M4 Project homepage
M4 Project wiki
ID: 131 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile TJM
Project administrator
Project developer
Project scientist
Avatar

Send message
Joined: 25 Aug 07
Posts: 843
Credit: 267,994,998
RAC: 0
Message 132 - Posted: 14 Nov 2007, 12:34:43 UTC - in response to Message 131.  

Ageless wrote:

Edit: Let's just say I'll let it run through the night, unattended as I just see TSP is down and thus not giving out work. I don't know of another project this quickly that has such fast tasks. :(


I have TSP attached, and I've just received some work units. Btw, one task is stuck (100% done) with a 'Waiting for memory' message - it's the first time I see such a message, what does that mean ?



M4 Project homepage
M4 Project wiki
ID: 132 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
1 · 2 · Next

Message boards : Bug reports : Enigma app stays in memory after task ends




Copyright © 2024 TJM