Questions and discussion about developing processes and programming in PHP, JavaScript, web services & REST API.
Forum rules: Please search to see if a question has already asked before creating a new topic. Please don't post the same question in multiple forums.
#829645
Dear Experts,
we are using ProcessMaker 3.1.3-community Bitnami Apache (httpd.exe version: 2.4.23.0) + PHP / 5.6.27 + MySQL / 5.5.53 installed on Windows Sever 2008
And we faced the following problem.
If the User in the folder "Unassigned" has more than 250 cases, then Apache crash with the message "Parent: child process XXXXXX exited with status 255 - Restarting".
Two queries with very long texts (about 45 thousand characters long) which were executed last (see propel.log).
The first query:
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\public_html\app.php:64:include()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\public_html\sysGeneric.php:1054:require_once()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\engine\methods\cases\proxyCasesList.php:134:getAll()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\engine\classes\class.applications.php:515:doCount()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\engine\classes\model\om\BaseAppCacheViewPeer.php:353:doSelectRS()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\engine\classes\model\om\BaseAppCacheViewPeer.php:423:doSelect()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\gulliver\thirdparty\propel\util\BasePeer.php:469:executeQuery()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\gulliver\thirdparty\creole\common\PreparedStatementCommon.php:334:executeQuery()->
|POST|/sysworkflow/ru-RU/neoclassic/cases/proxyCasesList|sort=APP_CACHE_VIEW.APP_NUMBER dir=DESC category= process= search= action=unassigned start=0 limit=25 openApplicationUid=
The second query:
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\public_html\app.php:64:include()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\public_html\sysGeneric.php:1054:require_once()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\engine\methods\cases\proxyCasesList.php:134:getAll()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\engine\classes\class.applications.php:591:doSelectRS()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\workflow\engine\classes\model\om\BaseAppCacheViewPeer.php:423:doSelect()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\gulliver\thirdparty\propel\util\BasePeer.php:469:executeQuery()->
D:\Bitnami\processmaker-3.1.2.TEST\apps\processmaker\htdocs\gulliver\thirdparty\creole\common\PreparedStatementCommon.php:334:executeQuery()->
|POST|/sysworkflow/ru-RU/neoclassic/cases/proxyCasesList|sort=APP_CACHE_VIEW.APP_NUMBER dir=DESC category= process= search= action=unassigned start=0 limit=25 openApplicationUid=

The queries had been in MySQL (they were saved in propel.log), but while processing in PHP (class.applications.php), the error occurred Faulting module path: D: \ Bitnami \ PROCES ~ 1.DEV \ apache2 \ bin \ php5ts.dll is displayed, which lead to Apache crash.

Can you please tell me what is the matter and how to fix it?
Thank you in advance.
#829661
The solution of the problem was found on stackoverflow.com:
This problem often happens in Windows because of smaller Apache’s default stack size. And it usually happens when working with php code that allocates a lot of stacks.

To solve this issue, add the following at the end of apache config file, httpd.conf
<IfModule mpm_winnt_module>
ThreadStackSize 8888888
</IfModule>
AND restart apache.
:D
Want to create your own meme coin?

In the world of cryptocurrencies, a unique and exc[…]

The market for cryptocurrencies is demonstrating a[…]

What's SAP FICO?

Embarking on a dissertation can be one of the most[…]

Hello. For rental housing, there are software solu[…]