php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75510 Abandon connections when RPG program is hung in MSGW
Submitted: 2017-11-10 08:50 UTC Modified: -
From: mark dot stewart at gmail dot com Assigned:
Status: Open Package: ibm_db2 (PECL)
PHP Version: 7.1.11 OS: IBMi
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
23 - 15 = ?
Subscribe to this entry?

 
 [2017-11-10 08:50 UTC] mark dot stewart at gmail dot com
Description:
------------
RPG programs called from a web environment should never fail and should monitor for all errors BUT in my real world scenario legacy programs can 
occasionally hang on MSGW.

When using persistant connection the MSGW causes the disastrous effect on my website where other users requests begin to fail because they are waiting for the job which is now stopped on MSGW. 

I need a modification to ibm_db2 that ensures that other users requests do not wait for the job that is stuck in MSGW. 
Thanks to the guys at IBMi who have provided me with a test ibm_db2 on their YIPS website with a 'executing' flag solution. 
This solution was success in resolving my issue.
 
This is a formal issue request to add 'executing' flag support beyond 2.0.1. 


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 14:01:26 2019 UTC