php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58508 Core dump when cache almost full
Submitted: 2009-01-14 10:32 UTC Modified: 2009-04-05 23:32 UTC
From: carl dot springer at gtri dot gatech dot edu Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.5 OS: Solaris 10, 64-bit
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: carl dot springer at gtri dot gatech dot edu
New email:
PHP Version: OS:

 

 [2009-01-14 10:32 UTC] carl dot springer at gtri dot gatech dot edu
Description:
------------
Using PHP 5.2.6, Apache 2.0.63 on Solaris 10 (SPARC) with APC 3.1.2 not beta.

When APC cache has but a few kbytes left, Apache processes core dump.  Increasing cache size helps, but that's a nervous fix. 

Here's my php.ini settings relevant to APC:
extension="apc.so"
apc.enabled="1"
apc.shm_segments="1"
apc.shm_size="60"
apc.localcache="1"
apc.localcache.size="1024"
apc.ttl="3600"
apc.user_ttl="3600"
apc.include_once_override="1"

I built APC with these options:
'--enable-apc' \
'--enable-apc-mmap' \
'--with-apxs' \
'--enable-apc-sem' \
'--with-php-config=/usr/local/php-5.2.6/bin/php-config' \


[PHP Modules]
ctype
curl
date
dom
exif
filter
gettext
hash
iconv
json
ldap
libxml
mbstring
mcrypt
mysql
oci8
openssl
pcre
PDO
pdo_mysql
PDO_OCI
pdo_sqlite
posix
readline
Reflection
session
shmop
SimpleXML
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
xml
xmlreader
xmlwriter
zlib


Reproduce code:
---------------
No particular code, but when the opcode cache gets full for us it segfaults each Apache child.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-02-28 16:38 UTC] shire@php.net
Can you please try latest CVS, there's been some changes that probably fix this issues for you.  Thanks!
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue May 13 12:01:27 2025 UTC