# NUM\_LONG\_BUFFERS exceeded

**URL:** <https://techcommunity.softwareag.com/t/num-long-buffers-exceeded/78539>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [July 11, 2008, 6:29pm UTC](https://techcommunity.softwareag.com/t/num-long-buffers-exceeded/78539 "2008-07-11T18:29:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Garth\_Endacott](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Garth\_Endacott](https://techcommunity.softwareag.com/u/Garth_Endacott)\
**Post date:** [July 11, 2008, 6:29pm UTC](https://techcommunity.softwareag.com/t/num-long-buffers-exceeded/78539/1 "2008-07-11T18:29:46Z")

</div>

Hi All,  
I have a natural entirex service which calls another entirex service. A client connects to the Natural service and requests a conversation which is only answered after the “chained” request has finished. The size of the data area defined in Natural is quite large, but can be decreased to a point  
Now to the problem:  
If I run a client in a single thread the process works correctly, the moment I try emulating a production scenario (ie many clients) Natural returns a 903 error and the broker trace indicates that the number of long buffers has been exceeded. It is obviously due to volume and we’ve already increased the num\_long\_buffers value in the attribute file from 500 to 5000. My question is, when do the allocated long-buffers get released (after every conversation has ended or once a garbage collector runs?) and what is the impact on performance/environment memory allocation if I increase the num\_long\_buffer value again?  
Alternatively, is there a way which I can tweak my application which would balance the short buffers and long buffers?

Thanks  
Garth

---

<div class="post-metadata">

**Author:** ![Garth\_Endacott](https://avatars.discourse-cdn.com/v4/letter/g/9e8a1a/32.png) [@Garth\_Endacott](https://techcommunity.softwareag.com/u/Garth_Endacott)\
**Post date:** [August 6, 2008, 2:26pm UTC](https://techcommunity.softwareag.com/t/num-long-buffers-exceeded/78539/2 "2008-08-06T14:26:40Z")

</div>

Hi All,

I’ve established how to do a balance of short and long buffers, fortunately. I’ve also asked our administrator to increase the number of buffers.

Garth

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:50pm UTC](https://techcommunity.softwareag.com/t/num-long-buffers-exceeded/78539/3 "2021-04-02T14:50:37Z")

</div>


