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: -
Votes:2
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
 [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

Pull Requests

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 06 00:01:28 2024 UTC