|  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: -
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2017-11-10 08:50 UTC] mark dot stewart at gmail dot com
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. 


Add a Patch

Pull Requests

Add a Pull Request

PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Sep 24 13:01:25 2023 UTC