Deployment issues to zip hangs on 98% or 99% with 600 app

Hi There,

I have about 600 apps and i wan’t to deploy them in a zip. but every time i try to zip the whole package (without libs etc, only the apps) the deployment hangs on the last percentage.

any suggestions. this is really annoying. backup works fine btw

How long have you left it on 98%? How do you know it is hanging and not busy in the background without the percentage changing.
On my Laptop it sit sit at 85% for some time. I suspect that the antivirus has something to do with it.

You might have a look in the PHP error Log.
There might be something like out of memory, max exec time exceeded,…
Especially with large projects.

1 Like

Thx good Idea. All freezez up. Where can you find the php error log for deployment localy? (i deploy in a zip)

Well, depends on where/how your scriptcase is installed.
If it’s in hosting, have a look into cpanel, plesk, or their own ui.
If it’s installed on your local PC it is often located in iis, xamp, or similar unix.
Best Gunter

Well found the error. thanks, now the big question. what’s causin the issue. you see i’ve tried it many times. Maybe i deploy the whole package unzipped localy. is that possible?

[Fri Jun 17 18:32:12.964615 2022] [fcgid:warn] [pid 6872:tid 732] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:56364] mod_fcgid: get overlap result error, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php
[Fri Jun 17 18:32:12.965790 2022] [fcgid:warn] [pid 6872:tid 732] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:56364] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php
[Fri Jun 17 19:13:40.282308 2022] [mpm_winnt:notice] [pid 4544:tid 572] AH00422: Parent: Received shutdown signal – Shutting down the server.
[Fri Jun 17 19:13:42.318696 2022] [mpm_winnt:notice] [pid 6872:tid 540] AH00364: Child: All worker threads have exited.
[Fri Jun 17 19:14:08.158721 2022] [core:warn] [pid 4556:tid 564] AH00098: pid file C:/Program Files/NetMake/v9-php73/components/apache/logs/httpd.pid overwritten – Unclean shutdown of previous Apache run?
[Fri Jun 17 19:14:08.162397 2022] [mpm_winnt:notice] [pid 4556:tid 564] AH00455: Apache/2.4.39 (Win64) mod_fcgid/2.3.9 configured – resuming normal operations
[Fri Jun 17 19:14:08.162397 2022] [mpm_winnt:notice] [pid 4556:tid 564] AH00456: Apache Lounge VC15 Server built: Mar 28 2019 11:59:33
[Fri Jun 17 19:14:08.162397 2022] [core:notice] [pid 4556:tid 564] AH00094: Command line: ‘C:\Program Files\NetMake\v9-php73\COMPON~1\apache\bin\httpd.exe -d C:/Program Files/NetMake/v9-php73/components/apache’
[Fri Jun 17 19:14:08.166781 2022] [mpm_winnt:notice] [pid 4556:tid 564] AH00418: Parent: Created child process 6872
[Fri Jun 17 19:14:08.680553 2022] [mpm_winnt:notice] [pid 6872:tid 552] AH00354: Child: Starting 64 worker threads.
[Fri Jun 17 19:52:35.103331 2022] [fcgid:warn] [pid 6872:tid 1068] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:50100] mod_fcgid: get overlap result error, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php
[Fri Jun 17 19:52:35.105325 2022] [fcgid:warn] [pid 6872:tid 1068] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:50100] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php
[Fri Jun 17 20:53:20.418256 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 12536 graceful kill fail, sending SIGKILL
[Fri Jun 17 20:55:21.606743 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 9520 graceful kill fail, sending SIGKILL
[Fri Jun 17 20:57:19.650865 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 768 graceful kill fail, sending SIGKILL
[Fri Jun 17 20:57:19.651115 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 2108 graceful kill fail, sending SIGKILL
[Fri Jun 17 20:57:19.651115 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 11152 graceful kill fail, sending SIGKILL
[Fri Jun 17 21:25:28.127741 2022] [fcgid:warn] [pid 6872:tid 1052] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:50767] mod_fcgid: get overlap result error, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php
[Fri Jun 17 21:25:28.128656 2022] [fcgid:warn] [pid 6872:tid 1052] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:50767] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php

Yes, you can deploy into a local directory (at least on servers).
Just make sure the _lib is properly handled.

I always prefer to deploy via sftp or ftp. Less limits and problems with user rights.

HI,
did you use the log module ? With 600 apps (or less :grinning:) and logs working your ZIP file creation time during publishing will have sadly great chances to freeze …

I use to clean my logs before publishing . Hopes it will help.

You can try to increase your memory_limit and max_execution_time in php INI

1 Like

SC creates a massive temporary file as part of this process. This can bust your disk space allocation.

Also try creating using TAR - does that work?

Please elaborate on the logs. Where are these logs?

So i managed to do a local server deploy. till errors.

[Sat Jun 18 09:31:17.123143 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 16432 graceful kill fail, sending SIGKILL
[Sat Jun 18 09:31:17.123143 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 15200 graceful kill fail, sending SIGKILL
[Sat Jun 18 09:31:17.123458 2022] [fcgid:warn] [pid 6872:tid 492] mod_fcgid: process 17080 graceful kill fail, sending SIGKILL
[Sat Jun 18 10:03:29.128345 2022] [fcgid:warn] [pid 6872:tid 836] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:51602] mod_fcgid: get overlap result error, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php
[Sat Jun 18 10:03:29.128345 2022] [fcgid:warn] [pid 6872:tid 836] (OS 109)De pipe is beëindigd. : [client 127.0.0.1:51602] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function, referer: http://127.0.0.1:8091/scriptcase/devel/iface/publishwizard.php

apparently i’m gracefully killed ;-).
So i edited the conf file but still problems ( ```
FcgidMaxRequestLen 1000000000


@jlboutin60 i will try your'e answer tomorrow.
Unfortunately that doesn't help. thanks for the tip though.

if you change this in the php.ini production file, will the ttl also be bigger for users?

i will try it now, let you know

Hi rotary,
I am also having the same issue and have you resolved the deployment?

I had a very slow deployment issue my problem was virus software, after adding the exception to windows defender for the netmake folder it deploys 20 times faster…