Req #77803 [Opn->Fbk]: open opcache
| From: | krakjoe@php.net | Date: | Wed, 27 Mar 2019 07:07:46 +0000 |
| Subject: | Req #77803 [Opn->Fbk]: open opcache | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-220217@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77803&edit=1
ID: 77803
Updated by: krakjoe@php.net
Reported by: luffyzhao at vip dot 126 dot com
Summary: open opcache
-Status: Open
+Status: Feedback
Type: Feature/Change Request
Package: FPM related
Operating System: centos 7
PHP Version: 7.1.27
Block user comment: N
Private report: N
New Comment:
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
Previous Comments:
------------------------------------------------------------------------
[2019-03-27 07:02:30] luffyzhao at vip dot 126 dot com
Description:
------------
The core.xxxx file appears after open opcache.
#0 0x00000000008526ab in zm_startup_core (type=<optimized out>,
module_number=<optimized out>)
at /home/software/php-7.1.1/Zend/zend_builtin_functions.c:399
#1 0x00007f9f363baf88 in ?? ()
#2 0x00007f9f363bc3e0 in ?? ()
#3 0x0000000000851fec in zend_clean_module_rsrc_dtors_cb (zv=0x7f9f362c37c0,
arg=0x7f9eafe15398) at /home/software/php-7.1.1/Zend/zend_list.c:262
#4 0x00007f9f362afc00 in ?? ()
#5 0x00007f9e00000000 in ?? ()
#6 0x00007f9f362d4090 in ?? ()
#7 0x00007f9e00000c08 in ?? ()
#8 0x0000000000000001 in ?? ()
#9 0x00007f9eb5a04238 in ?? ()
#10 0x00007f9f362afc00 in ?? ()
#11 0x00007f9f362afc00 in ?? ()
#12 0x00007f9f3629c400 in ?? ()
#13 0x0000000000867529 in zend_interned_strings_init ()
at /home/software/php-7.1.1/Zend/zend_string.c:100
#14 0x00007f9eb5a04200 in ?? ()
#15 0x0000000000000c08 in ?? ()
#16 0x00007ffc0fdfc2e0 in ?? ()
#17 0x00007ffc0fdfc2f0 in ?? ()
#18 0x00007f9f3629c400 in ?? ()
---Type <return> to continue, or q <return> to quit---
#19 0x0000000100000000 in ?? ()
#20 0x0000000000867d62 in zend_signal_register (
handler=0x867700 <zend_signal_handler_defer>, signo=266322224)
at /home/software/php-7.1.1/Zend/zend_signal.c:296
#21 zend_signal_activate () at /home/software/php-7.1.1/Zend/zend_signal.c:316
#22 0x00007ffc0fdfc4f0 in ?? ()
#23 0x00007f9eb7c5d538 in ?? ()
#24 0x0000000000000000 in ?? ()
maybe it is php-fpm setting. i do not know!
php.ini:
```
[php]
engine = On
short_open_tag = Off
precision = 14
output_buffering = 4096
zlib.output_compression = Off
implicit_flush = Off
unserialize_callback_func =
serialize_precision = -1
disable_functions =
disable_classes =
zend.enable_gc = On
expose_php = On
max_execution_time = 300
max_input_time = 60
memory_limit = 128M
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
display_errors = Off
display_startup_errors = Off
log_errors = On
log_errors_max_len = 1024
ignore_repeated_errors = Off
ignore_repeated_source = Off
report_memleaks = On
track_errors = Off
html_errors = On
error_log = /var/log/php/php_errors.log
variables_order = "GPCS"
request_order = "GP"
register_argc_argv = Off
auto_globals_jit = On
post_max_size = 50M
auto_prepend_file =
auto_append_file =
default_mimetype = "text/html"
default_charset = "UTF-8"
doc_root =
user_dir =
enable_dl = Off
file_uploads = On
upload_max_filesize = 50M
max_file_uploads = 20
allow_url_fopen = On
allow_url_include = Off
default_socket_timeout = 60
[CLI Server]
cli_server.color = On
[Date]
[filter]
[iconv]
[intl]
[sqlite3]
[Pcre]
[Pdo]
[Pdo_mysql]
pdo_mysql.cache_size = 2000
pdo_mysql.default_socket= /var/lib/mysql/mysql.sock
[Phar]
[mail function]
SMTP = localhost
smtp_port = 25
mail.add_x_header = On
[SQL]
sql.safe_mode = Off
[ODBC]
odbc.allow_persistent = On
odbc.check_persistent = On
odbc.max_persistent = -1
odbc.max_links = -1
odbc.defaultlrl = 4096
odbc.defaultbinmode = 1
[Interbase]
ibase.allow_persistent = 1
ibase.max_persistent = -1
ibase.max_links = -1
ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
ibase.dateformat = "%Y-%m-%d"
ibase.timeformat = "%H:%M:%S"
[MySQLi]
mysqli.max_persistent = -1
mysqli.allow_persistent = On
mysqli.max_links = -1
mysqli.cache_size = 2000
mysqli.default_port = 3306
mysqli.default_socket =
mysqli.default_host =
mysqli.default_user =
mysqli.default_pw =
mysqli.reconnect = Off
[mysqlnd]
mysqlnd.collect_statistics = On
mysqlnd.collect_memory_statistics = Off
[OCI8]
[PostgreSQL]
pgsql.allow_persistent = On
pgsql.auto_reset_persistent = Off
pgsql.max_persistent = -1
pgsql.max_links = -1
pgsql.ignore_notice = 0
pgsql.log_notice = 0
[bcmath]
bcmath.scale = 0
[browscap]
[Session]
session.save_handler = files
session.use_strict_mode = 0
session.use_cookies = 1
session.use_only_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /
session.cookie_domain =
session.cookie_httponly =
session.serialize_handler = php
session.gc_probability = 1
session.gc_divisor = 1000
session.gc_maxlifetime = 1440
session.referer_check =
session.cache_limiter = nocache
session.cache_expire = 180
session.use_trans_sid = 0
session.sid_length = 26
session.trans_sid_tags = "a=href,area=href,frame=src,form="
session.sid_bits_per_character = 5
[Assertion]
zend.assertions = -1
[COM]
[mbstring]
[gd]
[exif]
[Tidy]
tidy.clean_output = Off
[soap]
soap.wsdl_cache_enabled=1
soap.wsdl_cache_dir="/tmp"
soap.wsdl_cache_ttl=86400
soap.wsdl_cache_limit = 5
[sysvshm]
[ldap]
ldap.max_links = -1
[mcrypt]
[dba]
zend_extension=opcache.so
[opcache]
opcache.enable= 1
opcache.enable_cli= 1
opcache.memory_consumption= 10240
opcache.max_accelerated_files= 70000
opcache.revalidate_freq= 120
opcache.validate_timestamps= 1
;opcache.file_cache=/tmp
[curl]
[openssl]
```
php-fpm
```
[www]
user = nginx
group = nginx
listen = 127.0.0.1:9000
pm = static
pm.max_children = 1000
pm.start_servers = 100
pm.min_spare_servers = 10
pm.max_spare_servers = 190
pm.max_requests = 100
```
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77803&edit=1