shortdog
Active Member
Here is what I am observing. We have a custom application that opens many tables and caches when entering an interactive application. This is done once for performance reasons. We close these resources when exiting the application. The user may stay in this application for a long time, maybe hours. Now, some time ago in 8.11 after some tools update, the system seems to move users to a differnt CallObject Kernel than they originally were assigned to when they signed in. We have since moved to 9.1 and the latest tools update and we are still seeing this "user moving kernels" issue. My theory is that this is somehow tied to Kernel Recycling as we started observing this phenominon around the time we started recycling kernels. The problem is when they get moved, all the things that are tied to memory pointers are no longer valid on the new kernel. So the new kernel will zombie and presumably leave the resources haning on the original kernel.
So my question is: does any one know of an API I can call that would "lock" the user to the Kernel they are on. Obviously I can release the lock once I have freed all my resources.
We are currently on 9.1, iSeries, 9.1.2.4. But I have seen this over many tools updates.
So my question is: does any one know of an API I can call that would "lock" the user to the Kernel they are on. Obviously I can release the lock once I have freed all my resources.
We are currently on 9.1, iSeries, 9.1.2.4. But I have seen this over many tools updates.