Zheng Shao

Results 45 comments of Zheng Shao

Hi @karanvasnani, thanks for the confirm. I have checked the commit and found it has been backported to `go1.20.4` https://go-review.googlesource.com/c/go/+/478659. so, this also affects the `v1.26.4.0`. I haven't had the...

Hi, I checked ECS Fargate, it seems the soft limit is 65535 not 1024. ``` $ ulimit -n 65535 $ cat /proc/275/limits | grep 'Max open files' Max open files...

same problem, any solutions here?

@simonwahlgren after setting `vim_tags_ignore_files`, it works! Thank you.

I did not test this case, but we are using `opcache.enable_file_override=1` for our production which will reduce `proc_cred's` overhead.

I did a simple benchmark which enables/disables dtrace at build time, the result shows there is no significant difference. ``` $ git diff diff --git i/7.2/stretch/cli/Dockerfile w/7.2/stretch/cli/Dockerfile index b229a2d..f607223 100644...

I remember PHP internal did some benchmark for older PHP, like this one, http://languagesperformance.intel.com/good-benchmark-results-for-php-master-2017-09-10/ NIGHTLY BUILDS: ZEND PHP ENVIRONMENT SETUP, https://01.org/node/3774

There are risks to enable `--enable-debug`, some pecl extensions may get a problem with this. My suggestion is just using `-g -O2`.

Yes, In my local(alpine php-fpm) single php binary increased from 15M to 51M, the total size will increase 36*3 = 108M.

Here is a multi-stage example for generating a compact image, image size has been reduced from 431MB to 155MB. ``` FROM php:8.0-fpm-bullseye AS build RUN set -eux; \ docker-php-source extract;...