Message221387
>@Guido, @Yury: What do you think of log_destroyed_pending_task.patch? Does it sound correct?
Premature task garbage collection is indeed hard to debug. But at least, with your patch, one gets an exception and has a chance to track the bug down. So I'm +1 for the patch.
As for having strong references to tasks: it may have its own downsides, such as hard to debug memory leaks. I'd rather prefer my program to crash and/or having your patch report me the problem, than to search for an obscure code that eats all server memory once a week. I think we need to collect more evidence that the problem is common & annoying, before making any decisions on this topic, as that's something that will be hard to revert. Hence I'm -1 for strong references. |
|
Date |
User |
Action |
Args |
2014-06-24 00:37:39 | yselivanov | set | recipients:
+ yselivanov, gvanrossum, pitrou, vstinner, giampaolo.rodola, richard.kiss |
2014-06-24 00:37:39 | yselivanov | set | messageid: <1403570259.64.0.128992744738.issue21163@psf.upfronthosting.co.za> |
2014-06-24 00:37:39 | yselivanov | link | issue21163 messages |
2014-06-24 00:37:38 | yselivanov | create | |
|