# Strange behaviour of calcfunctions when many links are generated in outputs

**URL:** <https://aiida.discourse.group/t/strange-behaviour-of-calcfunctions-when-many-links-are-generated-in-outputs/579>\
**Category:** General Usage\
**Created:** [March 12, 2025, 10:07am UTC](https://aiida.discourse.group/t/strange-behaviour-of-calcfunctions-when-many-links-are-generated-in-outputs/579 "2025-03-12T10:07:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bastonero](https://yyz2.discourse-cdn.com/free1/user_avatar/aiida.discourse.group/bastonero/32/32_2.png) [@bastonero](https://aiida.discourse.group/u/bastonero)\
**Post date:** [March 13, 2025, 8:30pm UTC](https://aiida.discourse.group/t/strange-behaviour-of-calcfunctions-when-many-links-are-generated-in-outputs/579/3 "2025-03-13T20:30:34Z")

</div>

Thanks Giovanni for the help! It is PostgreSQL + RabbitMQ. The aiida version i am using is 2.4.0 with a “special patch” from Sebastiaan from a while ago (this is the discussion: [Excepted workchains, due to strange error from kiwipy/plumpy?](https://aiida.discourse.group/t/excepted-workchains-due-to-strange-error-from-kiwipy-plumpy/198)).  
I don’t know whether that fix has now been implemented in the latest `main` branch of aiida-core.  
The error though seems kind of random, depending also on the rest of the daemon workload, and even running using caching to skip the steps the behaviour was quite different each time. So, I guess it’s probably related to the version of aiida-core i am using, and by the fact i am running quite heavily on my workstation (?).

---

_[View the full topic](https://aiida.discourse.group/t/strange-behaviour-of-calcfunctions-when-many-links-are-generated-in-outputs/579)._
