Bug 62532

Summary: Continuously getting cores from httpd
Product: Apache httpd-2 Reporter: Francois Louw <francois.louw>
Component: CoreAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: major    
Priority: P2    
Version: 2.4.23   
Target Milestone: ---   
Hardware: Sun   
OS: Solaris   
Attachments: pstack core_60001_httpd.2158

Description Francois Louw 2018-07-12 07:36:40 UTC
Created attachment 36026 [details]
pstack core_60001_httpd.2158

We are running httpd-2.4.23 and php-7.1.10 connecting to a Intersystems Cache database using CSP.

The problem is that we are getting continuous cores and can't figure out why.

Pstach output attached;

Apache config:
/httpd -V
Server version: Apache/2.4.23 (Unix)
Server built:   Oct 26 2017 14:32:59
Server's Module Magic Number: 20120211:61
Server loaded:  APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture:   64-bit
Server MPM:     event
  threaded:     yes (fixed thread count)
    forked:     yes (variable process count)
Server compiled with....
 -D APR_HAS_SENDFILE
 -D APR_HAS_MMAP
 -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
 -D APR_USE_PROC_PTHREAD_SERIALIZE
 -D APR_USE_PTHREAD_SERIALIZE
 -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
 -D APR_HAS_OTHER_CHILD
 -D AP_HAVE_RELIABLE_PIPED_LOGS
 -D DYNAMIC_MODULE_LIMIT=256
 -D HTTPD_ROOT="/qlink/local/software/httpd-2.4.23-20171013"
 -D SUEXEC_BIN="/qlink/local/software/httpd-2.4.23-20171013/bin/suexec"
 -D DEFAULT_PIDLOG="logs/httpd.pid"
 -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
 -D DEFAULT_ERRORLOG="logs/error_log"
 -D AP_TYPES_CONFIG_FILE="conf/mime.types"
 -D SERVER_CONFIG_FILE="conf/httpd.conf"

Apache modules loaded: httpd -m

Loaded Modules:
 core_module (static)
 so_module (static)
 http_module (static)
 mpm_event_module (static)
 authn_file_module (shared)
 authn_core_module (shared)
 authz_host_module (shared)
 authz_groupfile_module (shared)
 authz_user_module (shared)
 authz_core_module (shared)
 access_compat_module (shared)
 auth_basic_module (shared)
 reqtimeout_module (shared)
 filter_module (shared)
 mime_module (shared)
 log_config_module (shared)
 env_module (shared)
 headers_module (shared)
 setenvif_module (shared)
 version_module (shared)
 unixd_module (shared)
 status_module (shared)
 autoindex_module (shared)
 dir_module (shared)
 alias_module (shared)
 php7_module (shared)

PHP info:

php -i
phpinfo()
PHP Version => 7.1.10

System => SunOS zaomdcmsv002 5.11 11.3 sun4v
Build Date => Jan 31 2018 21:03:57
Configure Command =>  '/dbsa/software/php-7.1.10/configure'  '--prefix=/qlink/local/software/php-7.1.10-20171013.sparc' '--with-config-file-path=/qlink/local/software/httpd-2.4.23-20171013/conf' '--with-apxs2=/qlink/local/software/httpd-2.4.23-20171013/bin/apxs' '--without-sqlite3' '--enable-soap' '--with-bz2' '--with-gd' '--with-pear=/var/php/7.1/pear' '--enable-tokenizer' '--enable-mbstring' '--with-libmbfl' '--enable-phar' '--without-pdo_sqlite' '--with-iconv-dir=/qlink/local/software/libiconv-1.14' '--with-freetype-dir=/qlink/local/software/freetype-2.7' '--with-iconv-dir=/usr/lib' '--with-libxml-dir=/qlink/local/software/libxml2-2.9.4' '--with-jpeg-dir=/qlink/local/software/jpeg-9b' '--with-zlib-dir=/qlink/local/software/zlib-1.2.8' '--with-xpm-dir=/usr/X11/lib' '--with-pcre-regex=/qlink/local/software/pcre-8.36' '--with-pcre-dir=/qlink/local/software/pcre-8.36/bin/pcre-config' '--with-ldap=/qlink/local/software/openldap-2.4.44' '--disable-phpdbg' '--disable-phpdbg-webhelper' '--disable-phpdbg-debug' '--enable-opcache' '--with-openssl=/qlink/local/software/openssl-1.0.1p'
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => /qlink/local/software/httpd-2.4.23-20171013/conf
Loaded Configuration File => (none)
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20160303
PHP Extension => 20160303
Zend Extension => 320160303
Zend Extension Build => API320160303,TS
PHP Extension Build => API20160303,TS
Debug Build => no
Thread Safety => enabled
Zend Signal Handling => enabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
IPv6 Support => enabled
DTrace Support => disabled

Registered PHP Streams => https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar
Registered Stream Socket Transports => tcp, udp, unix, udg, ssl, sslv3, tls, tlsv1.0, tlsv1.1, tlsv1.2
Registered Stream Filters => zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

This program makes use of the Zend Scripting Language Engine:
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies


 _______________________________________________________________________


Configuration

bz2

BZip2 Support => Enabled
Stream Wrapper support => compress.bzip2://
Stream Filter support => bzip2.decompress, bzip2.compress
BZip2 Version => 1.0.6, 6-Sept-2010

Core

PHP Version => 7.1.10

Directive => Local Value => Master Value
allow_url_fopen => On => On
allow_url_include => Off => Off
arg_separator.input => & => &
arg_separator.output => & => &
auto_append_file => no value => no value
auto_globals_jit => On => On
auto_prepend_file => no value => no value
browscap => no value => no value
default_charset => UTF-8 => UTF-8
default_mimetype => text/html => text/html
disable_classes => no value => no value
disable_functions => no value => no value
display_errors => STDOUT => STDOUT
display_startup_errors => Off => Off
doc_root => no value => no value
docref_ext => no value => no value
docref_root => no value => no value
enable_dl => On => On
enable_post_data_reading => On => On
error_append_string => no value => no value
error_log => no value => no value
error_prepend_string => no value => no value
error_reporting => no value => no value
expose_php => On => On
extension_dir => /qlink/local/software/php-7.1.10-20171013.sparc/lib/php/extensions/no-debug-zts-20160303 => /qlink/local/software/php-7.1.10-20171013.sparc/lib/php/extensions/no-debug-zts-20160303
file_uploads => On => On
hard_timeout => 2 => 2
highlight.comment => <font style="color: #FF8000">#FF8000</font> => <font style="color: #FF8000">#FF8000</font>
highlight.default => <font style="color: #0000BB">#0000BB</font> => <font style="color: #0000BB">#0000BB</font>
highlight.html => <font style="color: #000000">#000000</font> => <font style="color: #000000">#000000</font>
highlight.keyword => <font style="color: #007700">#007700</font> => <font style="color: #007700">#007700</font>
highlight.string => <font style="color: #DD0000">#DD0000</font> => <font style="color: #DD0000">#DD0000</font>
html_errors => Off => Off
ignore_repeated_errors => Off => Off
ignore_repeated_source => Off => Off
ignore_user_abort => Off => Off
implicit_flush => On => On
include_path => .:/var/php/7.1/pear => .:/var/php/7.1/pear
input_encoding => no value => no value
internal_encoding => no value => no value
log_errors => Off => Off
log_errors_max_len => 1024 => 1024
mail.add_x_header => Off => Off
mail.force_extra_parameters => no value => no value
mail.log => no value => no value
max_execution_time => 0 => 0
max_file_uploads => 20 => 20
max_input_nesting_level => 64 => 64
max_input_time => -1 => -1
max_input_vars => 1000 => 1000
memory_limit => 128M => 128M
open_basedir => no value => no value
output_buffering => 0 => 0
output_encoding => no value => no value
output_handler => no value => no value
post_max_size => 8M => 8M
precision => 14 => 14
realpath_cache_size => 4096K => 4096K
realpath_cache_ttl => 120 => 120
register_argc_argv => On => On
report_memleaks => On => On
report_zend_debug => Off => Off
request_order => no value => no value
sendmail_from => no value => no value
sendmail_path => /usr/sbin/sendmail -t -i  => /usr/sbin/sendmail -t -i
serialize_precision => -1 => -1
short_open_tag => On => On
SMTP => localhost => localhost
smtp_port => 25 => 25
sql.safe_mode => Off => Off
sys_temp_dir => no value => no value
track_errors => Off => Off
unserialize_callback_func => no value => no value
upload_max_filesize => 2M => 2M
upload_tmp_dir => no value => no value
user_dir => no value => no value
user_ini.cache_ttl => 300 => 300
user_ini.filename => .user.ini => .user.ini
variables_order => EGPCS => EGPCS
xmlrpc_error_number => 0 => 0
xmlrpc_errors => Off => Off
zend.assertions => 1 => 1
zend.detect_unicode => On => On
zend.enable_gc => On => On
zend.multibyte => Off => Off
zend.script_encoding => no value => no value
zend.signal_check => Off => Off

ctype

ctype functions => enabled

date

date/time support => enabled
timelib version => 2016.05
"Olson" Timezone Database Version => 2017.2
Timezone Database => internal
Default timezone => UTC

Directive => Local Value => Master Value
date.default_latitude => 31.7667 => 31.7667
date.default_longitude => 35.2333 => 35.2333
date.sunrise_zenith => 90.583333 => 90.583333
date.sunset_zenith => 90.583333 => 90.583333
date.timezone => no value => no value

dom

DOM/XML => enabled
DOM/XML API Version => 20031129
libxml Version => 2.9.4
HTML Support => enabled
XPath Support => enabled
XPointer Support => enabled
Schema Support => enabled
RelaxNG Support => enabled

fileinfo

fileinfo support => enabled
version => 1.0.5
libmagic => 522

filter

Input Validation and Filtering => enabled
Revision => $Id: cdc5e15bb616f10210b94ecd8789e66c927a375f $

Directive => Local Value => Master Value
filter.default => unsafe_raw => unsafe_raw
filter.default_flags => no value => no value

gd

GD Support => enabled
GD Version => bundled (2.1.0 compatible)
FreeType Support => enabled
FreeType Linkage => with freetype
FreeType Version => 2.7.0
GIF Read Support => enabled
GIF Create Support => enabled
JPEG Support => enabled
libJPEG Version => 9 compatible
PNG Support => enabled
libPNG Version => 1.4.20
WBMP Support => enabled
XPM Support => enabled
libXpm Version => 30411
XBM Support => enabled

Directive => Local Value => Master Value
gd.jpeg_ignore_warning => 1 => 1

hash

hash support => enabled
Hashing Engines => md2 md4 md5 sha1 sha224 sha256 sha384 sha512/224 sha512/256 sha512 sha3-224 sha3-256 sha3-384 sha3-512 ripemd128 ripemd160 ripemd256 ripemd320 whirlpool tiger128,3 tiger160,3 tiger192,3 tiger128,4 tiger160,4 tiger192,4 snefru snefru256 gost gost-crypto adler32 crc32 crc32b fnv132 fnv1a32 fnv164 fnv1a64 joaat haval128,3 haval160,3 haval192,3 haval224,3 haval256,3 haval128,4 haval160,4 haval192,4 haval224,4 haval256,4 haval128,5 haval160,5 haval192,5 haval224,5 haval256,5

iconv

iconv support => enabled
iconv implementation => unknown
iconv library version => unknown

Directive => Local Value => Master Value
iconv.input_encoding => no value => no value
iconv.internal_encoding => no value => no value
iconv.output_encoding => no value => no value

json

json support => enabled
json version => 1.5.0

ldap

LDAP Support => enabled
RCS Version => $Id: 0779387e5f88edc656159d12b9302a053e82cc79 $
Total Links => 0/unlimited
API Version => 3001
Vendor Name => OpenLDAP
Vendor Version => 20444

Directive => Local Value => Master Value
ldap.max_links => Unlimited => Unlimited

libxml

libXML support => active
libXML Compiled Version => 2.9.4
libXML Loaded Version => 20904
libXML streams => enabled

mbstring

Multibyte Support => enabled
Multibyte string engine => libmbfl
HTTP input encoding translation => disabled
libmbfl version => 1.3.2
oniguruma version => 5.9.6

mbstring extension makes use of "streamable kanji code filter and converter", which is distributed under the GNU Lesser General Public License version 2.1.

Multibyte (japanese) regex support => enabled
Multibyte regex (oniguruma) backtrack check => On
Multibyte regex (oniguruma) version => 5.9.6

Directive => Local Value => Master Value
mbstring.detect_order => no value => no value
mbstring.encoding_translation => Off => Off
mbstring.func_overload => 0 => 0
mbstring.http_input => no value => no value
mbstring.http_output => no value => no value
mbstring.http_output_conv_mimetypes => ^(text/|application/xhtml\+xml) => ^(text/|application/xhtml\+xml)
mbstring.internal_encoding => no value => no value
mbstring.language => neutral => neutral
mbstring.strict_detection => Off => Off
mbstring.substitute_character => no value => no value

openssl

OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.0.1p 9 Jul 2015
OpenSSL Header Version => OpenSSL 1.0.1p 9 Jul 2015
Openssl default config => /qlink/local/software/openssl-1.0.1p/ssl/openssl.cnf

Directive => Local Value => Master Value
openssl.cafile => no value => no value
openssl.capath => no value => no value

pcre

PCRE (Perl Compatible Regular Expressions) Support => enabled
PCRE Library Version => 8.36 2014-09-26
PCRE JIT Support => disabled

Directive => Local Value => Master Value
pcre.backtrack_limit => 1000000 => 1000000
pcre.jit => 1 => 1
pcre.recursion_limit => 100000 => 100000

PDO

PDO support => enabled
PDO drivers =>

Phar

Phar: PHP Archive support => enabled
Phar EXT version => 2.0.2
Phar API version => 1.1.1
SVN revision => $Id: 59c11f4e29768bfbbf6f41cb469abd81d8655850 $
Phar-based phar archives => enabled
Tar-based phar archives => enabled
ZIP-based phar archives => enabled
gzip compression => enabled
bzip2 compression => enabled
OpenSSL support => enabled


Phar based on pear/PHP_Archive, original concept by Davey Shafik.
Phar fully realized by Gregory Beaver and Marcus Boerger.
Portions of tar implementation Copyright (c) 2003-2009 Tim Kientzle.
Directive => Local Value => Master Value
phar.cache_list => no value => no value
phar.readonly => On => On
phar.require_hash => On => On

posix

Revision => $Id: b691ca925e7a085e6929579c4eba8fed0732e0ef $

Reflection

Reflection => enabled
Version => $Id: fa936d2e1587e7b6b6c0f7235f4d9df7564a77ad $

session

Session Support => enabled
Registered save handlers => files user
Registered serializer handlers => php_serialize php php_binary

Directive => Local Value => Master Value
session.auto_start => Off => Off
session.cache_expire => 180 => 180
session.cache_limiter => nocache => nocache
session.cookie_domain => no value => no value
session.cookie_httponly => Off => Off
session.cookie_lifetime => 0 => 0
session.cookie_path => / => /
session.cookie_secure => Off => Off
session.gc_divisor => 100 => 100
session.gc_maxlifetime => 1440 => 1440
session.gc_probability => 1 => 1
session.lazy_write => On => On
session.name => PHPSESSID => PHPSESSID
session.referer_check => no value => no value
session.save_handler => files => files
session.save_path => no value => no value
session.serialize_handler => php => php
session.sid_bits_per_character => 4 => 4
session.sid_length => 32 => 32
session.upload_progress.cleanup => On => On
session.upload_progress.enabled => On => On
session.upload_progress.freq => 1% => 1%
session.upload_progress.min_freq => 1 => 1
session.upload_progress.name => PHP_SESSION_UPLOAD_PROGRESS => PHP_SESSION_UPLOAD_PROGRESS
session.upload_progress.prefix => upload_progress_ => upload_progress_
session.use_cookies => On => On
session.use_only_cookies => On => On
session.use_strict_mode => Off => Off
session.use_trans_sid => 0 => 0

SimpleXML

Simplexml support => enabled
Revision => $Id: 50413b12ac745b94b27ffbdd5454e6e0d7809909 $
Schema support => enabled

soap

Soap Client => enabled
Soap Server => enabled

Directive => Local Value => Master Value
soap.wsdl_cache => 1 => 1
soap.wsdl_cache_dir => /tmp => /tmp
soap.wsdl_cache_enabled => 1 => 1
soap.wsdl_cache_limit => 5 => 5
soap.wsdl_cache_ttl => 86400 => 86400

SPL

SPL support => enabled
Interfaces => Countable, OuterIterator, RecursiveIterator, SeekableIterator, SplObserver, SplSubject
Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException

standard

Dynamic Library Support => enabled
Path to sendmail => /usr/sbin/sendmail -t -i

Directive => Local Value => Master Value
assert.active => 1 => 1
assert.bail => 0 => 0
assert.callback => no value => no value
assert.exception => 0 => 0
assert.quiet_eval => 0 => 0
assert.warning => 1 => 1
auto_detect_line_endings => 0 => 0
default_socket_timeout => 60 => 60
from => no value => no value
session.trans_sid_hosts => no value => no value
session.trans_sid_tags => a=href,area=href,frame=src,form= => a=href,area=href,frame=src,form=
url_rewriter.hosts => no value => no value
url_rewriter.tags => form= => form=
user_agent => no value => no value

tokenizer

Tokenizer Support => enabled

xml

XML Support => active
XML Namespace Support => active
libxml2 Version => 2.9.4

xmlreader

XMLReader => enabled

xmlwriter

XMLWriter => enabled

zlib

ZLib Support => enabled
Stream Wrapper => compress.zlib://
Stream Filter => zlib.inflate, zlib.deflate
Compiled Version => 1.2.8
Linked Version => 1.2.8

Directive => Local Value => Master Value
zlib.output_compression => Off => Off
zlib.output_compression_level => -1 => -1
zlib.output_handler => no value => no value

Additional Modules

Module Name

Environment

Variable => Value
SAVEHIST => 100000
HISTFILE => /root/.zsh_history
HISTSIZE => 250000
HISTIGNORE => &:ls:[bf]g:exit:reset:clear:cd:cd ..:cd..
OLDPWD => /qlink/local/software/php-7.1.10-20171013.sparc
ZONE => global
HZ =>
LC_MONETARY =>
cc_mail => werner.adendorff@qlink.co.za
SHELL => /usr/bin/bash
TERM => putty
SERVER => zaomdcmsv002
to_mail => werner.adendorff@qlink.co.za
LC_NUMERIC =>
LC_ALL =>
PAGER => /usr/bin/less -ins
MAIL => /var/mail/root
PATH => /usr/sbin:/usr/bin:/usr/ucb:/etc:/usr/sfw/bin:/usr/sfw/sbin:.
LC_MESSAGES =>
LC_COLLATE =>
PWD => /qlink/local/software/php-7.1.10-20171013.sparc/bin
EDITOR => vi
LANG => en_US.UTF-8
TZ => localtime
PS1 => %{%}%D %B%T%b %{%}%n:%{%}@%{%}%m:%{%}%~ %(!.#.*) CPT CMoS Dev/Qa Www host:
SHLVL => 2
HOME => /root
LOGNAME => root
LC_CTYPE =>
LC_TIME =>
_ => /qlink/local/software/php-7.1.10-20171013.sparc/bin/php

PHP Variables

Variable => Value
$_SERVER['SAVEHIST'] => 100000
$_SERVER['HISTFILE'] => /root/.zsh_history
$_SERVER['HISTSIZE'] => 250000
$_SERVER['HISTIGNORE'] => &:ls:[bf]g:exit:reset:clear:cd:cd ..:cd..
$_SERVER['OLDPWD'] => /qlink/local/software/php-7.1.10-20171013.sparc
$_SERVER['ZONE'] => global
$_SERVER['HZ'] =>
$_SERVER['LC_MONETARY'] =>
$_SERVER['cc_mail'] => werner.adendorff@qlink.co.za
$_SERVER['SHELL'] => /usr/bin/bash
$_SERVER['TERM'] => putty
$_SERVER['SERVER'] => zaomdcmsv002
$_SERVER['to_mail'] => werner.adendorff@qlink.co.za
$_SERVER['LC_NUMERIC'] =>
$_SERVER['LC_ALL'] =>
$_SERVER['PAGER'] => /usr/bin/less -ins
$_SERVER['MAIL'] => /var/mail/root
$_SERVER['PATH'] => /usr/sbin:/usr/bin:/usr/ucb:/etc:/usr/sfw/bin:/usr/sfw/sbin:.
$_SERVER['LC_MESSAGES'] =>
$_SERVER['LC_COLLATE'] =>
$_SERVER['PWD'] => /qlink/local/software/php-7.1.10-20171013.sparc/bin
$_SERVER['EDITOR'] => vi
$_SERVER['LANG'] => en_US.UTF-8
$_SERVER['TZ'] => localtime
$_SERVER['PS1'] => %{%}%D %B%T%b %{%}%n:%{%}@%{%}%m:%{%}%~ %(!.#.*) CPT CMoS Dev/Qa Www host:
$_SERVER['SHLVL'] => 2
$_SERVER['HOME'] => /root
$_SERVER['LOGNAME'] => root
$_SERVER['LC_CTYPE'] =>
$_SERVER['LC_TIME'] =>
$_SERVER['_'] => /qlink/local/software/php-7.1.10-20171013.sparc/bin/php
$_SERVER['PHP_SELF'] =>
$_SERVER['SCRIPT_NAME'] =>
$_SERVER['SCRIPT_FILENAME'] =>
$_SERVER['PATH_TRANSLATED'] =>
$_SERVER['DOCUMENT_ROOT'] =>
$_SERVER['REQUEST_TIME_FLOAT'] => 1531380736.221
$_SERVER['REQUEST_TIME'] => 1531380736
$_SERVER['argv'] => Array
(
)

$_SERVER['argc'] => 0
$_ENV['SAVEHIST'] => 100000
$_ENV['HISTFILE'] => /root/.zsh_history
$_ENV['HISTSIZE'] => 250000
$_ENV['HISTIGNORE'] => &:ls:[bf]g:exit:reset:clear:cd:cd ..:cd..
$_ENV['OLDPWD'] => /qlink/local/software/php-7.1.10-20171013.sparc
$_ENV['ZONE'] => global
$_ENV['HZ'] =>
$_ENV['LC_MONETARY'] =>
$_ENV['cc_mail'] => werner.adendorff@qlink.co.za
$_ENV['SHELL'] => /usr/bin/bash
$_ENV['TERM'] => putty
$_ENV['SERVER'] => zaomdcmsv002
$_ENV['to_mail'] => werner.adendorff@qlink.co.za
$_ENV['LC_NUMERIC'] =>
$_ENV['LC_ALL'] =>
$_ENV['PAGER'] => /usr/bin/less -ins
$_ENV['MAIL'] => /var/mail/root
$_ENV['PATH'] => /usr/sbin:/usr/bin:/usr/ucb:/etc:/usr/sfw/bin:/usr/sfw/sbin:.
$_ENV['LC_MESSAGES'] =>
$_ENV['LC_COLLATE'] =>
$_ENV['PWD'] => /qlink/local/software/php-7.1.10-20171013.sparc/bin
$_ENV['EDITOR'] => vi
$_ENV['LANG'] => en_US.UTF-8
$_ENV['TZ'] => localtime
$_ENV['PS1'] => %{%}%D %B%T%b %{%}%n:%{%}@%{%}%m:%{%}%~ %(!.#.*) CPT CMoS Dev/Qa Www host:
$_ENV['SHLVL'] => 2
$_ENV['HOME'] => /root
$_ENV['LOGNAME'] => root
$_ENV['LC_CTYPE'] =>
$_ENV['LC_TIME'] =>
$_ENV['_'] => /qlink/local/software/php-7.1.10-20171013.sparc/bin/php

PHP License
This program is free software; you can redistribute it and/or modify
it under the terms of the PHP License as published by the PHP Group
and included in the distribution in the file:  LICENSE

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

If you did not receive a copy of the PHP license, or have any
questions about PHP licensing, please contact license@php.ne
Comment 1 Luca Toscano 2018-07-12 07:43:33 UTC
Hi Francois,

The core seems to come from php-fpm not httpd as far as I can see from the attachment, have you checked with them too?
Comment 2 Rainer Jung 2018-07-12 09:31:26 UTC
@Luca: it seems to me this is not using php-fpm, but instead in process mod_php.

@Francois: you are using a multi-threaded httpd MPM (event). Although your PHP build seems to be a thread-safe build, often it is not clear which extensions are really thread-safe. Can you try with the single-threaded prefork MPM and see, whether your core dumps still happen or not? As an alternative you could think about using PHP-FPM eg. together with mod_proxy_fcgi. That setup runs PHP processes in a separate external process pool and httpd and PHP communicate via the FCGI protocol. That setup is the more modern setup. It's only drawback is, that .htaccess in your php application might no longer work. If that happens you need to transform .htaccess files into normal httpd config.

Regards,

Rainer
Comment 3 Luca Toscano 2018-07-12 13:46:15 UTC
@Rainer: yes you are right, ENOCOFFEE in the morning :)