iSeries interactive sessions disconnect unexpected CPF5140

Problem is : iSeries interactive sessions disconnect unexpected.

With Joblog error-msg CPF2479    "Call stack entry not found",
before disconnect session with CPF5140.

My question is: may be a dependency,  CPF5140 caused by CPF2479 ?
I am asking this, because disconnection may also  be caused  by a betwork failure.
(But nearly in all disconnected Jobs, there are many CPF2479 before . . . )
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Abdul KhanCommented:
check your library list.
Gary PattersonVP Technology / Senior Consultant Commented:
CPF2479 doesn't have anything to do with the library list - it refers to an incorrect call stack entry.  CPF2479 is often caused by a program defect:  for example a program that sends a program message incorrectly, or sending a program message to a program that is no longer active.  

Here's an IBM support article that has an example of ode that generates this message:

Unless you see a CPF2479 that is always immediately followed by a CPF5140, the CPF2479 probably isn't the root cause of the disconnect.  

Usually CPF5140 is the result of network problems.  If these are telnet session over and IP network, disconnects are often the result of a firewall between the client and host dropping the connection due to inactivity.

Be careful about making changes you don't understand.  Some of the changes discussed in these articles can have an impact on system performance, and can change the way other network applications behave.
asdf13Author Commented:
reason for  CPF5140 is not know at the moment, but CPF2479 seems not be the root cause of disconnections.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
asdf13Author Commented:
Thanks Gary,  for explanations to CPF2479 !
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
IBM System i

From novice to tech pro — start learning today.