Issue389

Title memory soft limit causes portfolios to terminate configs early
Priority bug Status resolved
Superseder Nosy List florian, jendrik, malte
Assigned To Keywords
Optional summary

Created on 2013-08-01.06:08:35 by florian, last changed by florian.

Messages
msg2604 (view) Author: florian Date: 2013-08-01.19:21:41
Fixed in IPC repo.
msg2596 (view) Author: malte Date: 2013-08-01.10:39:48
Sounds good to me. If someone wants to take care of it, please assign it to
yourself.
msg2590 (view) Author: florian Date: 2013-08-01.06:08:35
issue376 introduced a 50MB soft limit on memory to get the python process to
consume less memory.
On my computer this leads to a bug where the portfolio starts a config which
almost instantly runs out of memory and terminates. This happens only when there
is no external memory limit, because in this case the soft limit is never
changed and remains at 50MB.

My suggestion is to change the preexec_fn of the subprocess call in portfolio.py
to explicitly set the hard and soft limit to -1 (unlimited) in cases where no
external hardlimit was set.
History
Date User Action Args
2013-08-01 19:21:41floriansetstatus: chatting -> resolved
messages: + msg2604
2013-08-01 10:39:48maltesetstatus: unread -> chatting
messages: + msg2596
2013-08-01 06:08:35floriancreate