PDA

View Full Version : xCache Compiling All The Time + High Clogs


BamaStangGuy
Thu 20th Sep '07, 5:16am
Hi,

I just moved to a colocated server over at Total Server Solutions. We are having a hard time getting the following to work correctly:

Apache 2.2.6
PHP 5.2.4
xCache 1.2.1

The problem is that xcache is constantly compiling and not caching any of the files. See screen shot below:

http://www.mustangevolution.com/brent/xcache.jpg

Here is the phpinfo:

http://www.mustangevolution.com/php.php

Here is the httpd.conf:

#
# This is the main Apache HTTP server configuration file. It contains the
# configuration directives that give the server its instructions.
# See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
# In particular, see
# <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
# for a discussion of each configuration directive.
#
# Do NOT simply read the instructions in here without understanding
# what they do. They're here only as hints or reminders. If you are unsure
# consult the online docs. You have been warned.
#
# Configuration and logfile names: If the filenames you specify for many
# of the server's control files begin with "/" (or "drive:/" for Win32), the
# server will use that explicit path. If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
# with ServerRoot set to "/usr/local/apache2.2" will be interpreted by the
# server as "/usr/local/apache2.2/logs/foo.log".

#
# ServerRoot: The top of the directory tree under which the server's
# configuration, error, and log files are kept.
#
# Do not add a slash at the end of the directory path. If you point
# ServerRoot at a non-local disk, be sure to point the LockFile directive
# at a local disk. If you wish to share the same ServerRoot for multiple
# httpd daemons, you will need to change at least LockFile and PidFile.
#
ServerRoot "/usr/local/apache2.2"

#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80
Listen 80

#
# Dynamic Shared Object (DSO) Support
#
# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Statically compiled modules (those listed by `httpd -l') do not need
# to be loaded here.
#
# Example:
# LoadModule foo_module modules/mod_foo.so
LoadModule php5_module modules/libphp5.so
#LoadModule deflate_module modules/mod_deflate.so
#

AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4


ServerTokens ProductOnly
ServerSignature Off

<IfModule !mpm_netware_module>
#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# It is usually good practice to create a dedicated user and group for
# running httpd, as with most system services.
#
User daemon
Group daemon
</IfModule>

# 'Main' server configuration
#
# The directives in this section set up the values used by the 'main'
# server, which responds to any requests that aren't handled by a
# <VirtualHost> definition. These values also provide defaults for
# any <VirtualHost> containers you may define later in the file.
#
# All of these directives may appear inside <VirtualHost> containers,
# in which case these default settings will be overridden for the
# virtual host being defined.
#

#
# ServerAdmin: Your address, where problems with the server should be
# e-mailed. This address appears on some server-generated pages, such
# as error documents. e.g. admin@your-domain.com
#
ServerAdmin you@example.com

#
# ServerName gives the name and port that the server uses to identify itself.
# This can often be determined automatically, but we recommend you specify
# it explicitly to prevent problems during startup.
#
# If your host doesn't have a registered DNS name, enter its IP address here.
#
#ServerName www.example.com:80

#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "/usr/local/apache2.2/htdocs"

#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# features.
#
<Directory />
Options FollowSymLinks
AllowOverride All
Order deny,allow
Deny from all
AddOutputFilterByType DEFLATE text/html text/plain text/xml
</Directory>

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/apache2.2/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
DirectoryIndex index.html index.shml index.htm index.php
</IfModule>

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
Satisfy All
</FilesMatch>

#
# ErrorLog: The location of the error log file.
# If you do not specify an ErrorLog directive within a <VirtualHost>
# container, error messages relating to that virtual host will be
# logged here. If you *do* define an error logfile for a <VirtualHost>
# container, that host's errors will be logged there and not here.
#
ErrorLog logs/error_log

#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
#
LogLevel warn

<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common

<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>

#
# The location and format of the access logfile (Common Logfile Format).
# If you do not define any access logfiles within a <VirtualHost>
# container, they will be logged here. Contrariwise, if you *do*
# define per-<VirtualHost> access logfiles, transactions will be
# logged therein and *not* in this file.
#
CustomLog logs/access_log common

#
# If you prefer a logfile with access, agent, and referer information
# (Combined Logfile Format) you can use the following directive.
#
#CustomLog logs/access_log combined
</IfModule>

<IfModule alias_module>
#
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://www.example.com/bar

#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.

#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "/usr/local/apache2.2/cgi-bin/"

</IfModule>

<IfModule cgid_module>
#
# ScriptSock: On threaded servers, designate the path to the UNIX
# socket used to communicate with the CGI daemon of mod_cgid.
#
#Scriptsock logs/cgisock
</IfModule>

#
# "/usr/local/apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "/usr/local/apache2.2/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

#
# DefaultType: the default MIME type the server will use for a document
# if it cannot otherwise determine one, such as from filename extensions.
# If your server contains mostly text or HTML documents, "text/plain" is
# a good value. If most of your content is binary, such as applications
# or images, you may want to use "application/octet-stream" instead to
# keep browsers from trying to display binary files as though they are
# text.
#
DefaultType text/plain

<IfModule mime_module>
#
# TypesConfig points to the file containing the list of mappings from
# filename extension to MIME-type.
#
TypesConfig conf/mime.types

#
# AddType allows you to add to or override the MIME configuration
# file specified in TypesConfig for specific file types.
#
#AddType application/x-gzip .tgz
#
# AddEncoding allows you to have certain browsers uncompress
# information on the fly. Note: Not all browsers support this.
#
#AddEncoding x-compress .Z
#AddEncoding x-gzip .gz .tgz
#
# If the AddEncoding directives above are commented-out, then you
# probably should define those extensions to indicate media types:
#
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz

#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
# or added with the Action directive (see below)
#
# To use CGI scripts outside of ScriptAliased directories:
# (You will also need to add "ExecCGI" to the "Options" directive.)
#
#AddHandler cgi-script .cgi

# For type maps (negotiated resources):
#AddHandler type-map var

#
# Filters allow you to process content before it is sent to the client.
#
# To parse .shtml files for server-side includes (SSI):
# (You will also need to add "Includes" to the "Options" directive.)
#
#AddType text/html .shtml
#AddOutputFilter INCLUDES .shtml
</IfModule>

#
# The mod_mime_magic module allows the server to use various hints from the
# contents of the file itself to determine its type. The MIMEMagicFile
# directive tells the module where the hint definitions are located.
#
#MIMEMagicFile conf/magic

#
# Customizable error responses come in three flavors:
# 1) plain text 2) local redirects 3) external redirects
#
# Some examples:
#ErrorDocument 500 "The server made a boo boo."
#ErrorDocument 404 /missing.html
#ErrorDocument 404 "/cgi-bin/missing_handler.pl"
#ErrorDocument 402 http://www.example.com/subscription_info.html
#

#
# EnableMMAP and EnableSendfile: On systems that support it,
# memory-mapping or the sendfile syscall is used to deliver
# files. This usually improves server performance, but must
# be turned off when serving from networked-mounted
# filesystems or if support for these functions is otherwise
# broken on your system.
#
#EnableMMAP off
#EnableSendfile off

# Supplemental configuration
#
# The configuration files in the conf/extra/ directory can be
# included to add extra features or to modify the default configuration of
# the server, or you may simply copy their contents here and change as
# necessary.

# Server-pool management (MPM specific)
#Include conf/extra/httpd-mpm.conf

# Multi-language error messages
#Include conf/extra/httpd-multilang-errordoc.conf

# Fancy directory listings
#Include conf/extra/httpd-autoindex.conf

# Language settings
#Include conf/extra/httpd-languages.conf

# User home directories
#Include conf/extra/httpd-userdir.conf

# Real-time info on requests and configuration
#Include conf/extra/httpd-info.conf

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

# Local access to the Apache HTTP Server Manual
#Include conf/extra/httpd-manual.conf

# Distributed authoring and versioning (WebDAV)
#Include conf/extra/httpd-dav.conf

# Various default settings
#Include conf/extra/httpd-default.conf

# Secure (SSL/TLS) connections
#Include conf/extra/httpd-ssl.conf
#
# Note: The following must must be present to support
# starting without SSL on platforms with no /dev/random equivalent
# but a statically compiled-in mod_ssl.
#
<IfModule ssl_module>
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
</IfModule>

NameVirtualHost 208.78.43.217

<VirtualHost 208.78.43.217>
ServerAlias www.mustangevolution.com
ServerAdmin webmaster@mustangevolution.com
DocumentRoot /home/evo/public_html
ServerName mustangevolution.com
#CustomLog /usr/local/apache2.2/logs/mustangevolution.com combined

<Directory /home/evo>
AllowOverride All
Allow from all
</Directory>

</VirtualHost>

<Directory /home/evo/public_html>
RewriteEngine On
RewriteBase /
RewriteRule /mustang-pictures/file_([0-9]+)\.jpg$ /mustang-pictures/file.php?n=$1 [L]
RewriteRule ^mustang-cologne-by-estee-lauder/ http://www.mustangevolution.com/20070508390/ [L,R=301]
RewriteRule ^ford-to-cut-mustang-packages/ http://www.mustangevolution.com/20070504388/ [L,R=301]
RewriteRule ^2007-saleen-h281-ford-mustang/ http://www.mustangevolution.com/20070503380/ [L,R=301]
RewriteRule ^carroll-shelby-talks-history-of-gt500kr/ http://www.mustangevolution.com/20070501377/ [L,R=301]
RewriteRule ^t3545/ http://www.mustangevolution.com/20070430373/ [L,R=301]
RewriteRule ^2008-shelby-gt500kr-video/ http://www.mustangevolution.com/20070417369/ [L,R=301]
RewriteRule ^2008-shelby-gt500-ordering-guide/ http://www.mustangevolution.com/20070417367/ [L,R=301]
RewriteRule ^2007-shelby-gt500-red-stripe-package/ http://www.mustangevolution.com/20070412344/ [L,R=301]
RewriteRule ^special-edition-mustangs-how-many-is-too-many/ http://www.mustangevolution.com/20070403336/ [L,R=301]
RewriteRule ^2008-shelby-gt-h-mustang-convertible/ http://www.mustangevolution.com/20070402332/ [L,R=301]
RewriteRule ^2008-shelby-gt500kr/ http://www.mustangevolution.com/20070330322/ [L,R=301]
RewriteRule ^new-mustang-to-be-unveiled-at-barrett-jackson-auction/ http://www.mustangevolution.com/20070327320/ [L,R=301]
RewriteRule ^retractable-hardtop-mustang-video/ http://www.mustangevolution.com/20070325318/ [L,R=301]
RewriteRule ^aftermarket-mustang-retractable-hardtop-developed/ http://www.mustangevolution.com/20070322316/ [L,R=301]
RewriteRule ^roush-to-build-only-one-blackjack-mustang-convertible/ http://www.mustangevolution.com/20070321313/ [L,R=301]
RewriteRule ^new-roush-wheels-for-2005-2007-mustangs/ http://www.mustangevolution.com/20070315306/ [L,R=301]
RewriteRule ^retro-roush-rear-window-louvers/ http://www.mustangevolution.com/20070306277/ [L,R=301]
RewriteRule ^roush-to-produce-100-stage-3-blackjack-mustangs/ http://www.mustangevolution.com/20070219211/ [L,R=301]
RewriteRule ^new-mustang-billboards-blur-background/ http://www.mustangevolution.com/20070215205/ [L,R=301]
RewriteRule ^ten-things-the-next-mustang-must-have/ http://www.mustangevolution.com/20070215204/ [L,R=301]
RewriteRule ^philadelphia-international-car-show-mustangs/ http://www.mustangevolution.com/20070211188/ [L,R=301]
RewriteRule ^bbs-automotive-technology-files-insolvency-request/ http://www.mustangevolution.com/20070207186/ [L,R=301]
RewriteRule ^2006-aj-foyt-coyote-edition-mustang/ http://www.mustangevolution.com/20070122182/ [L,R=301]
RewriteRule ^more-next-generation-mustang-spy-shots/ http://www.mustangevolution.com/20070122169/ [L,R=301]
RewriteRule ^no-4-door-mustang-says-ford/ http://www.mustangevolution.com/20061216153/ [L,R=301]
RewriteRule ^mustang-sedan-wagon-rumored-in-next-mustang-design/ http://www.mustangevolution.com/20061214151/ [L,R=301]
RewriteRule ^ford-mustang-video-game/ http://www.mustangevolution.com/200512145/ [L,R=301]
RewriteRule ^chip-foose-stallion-mustang/ http://www.mustangevolution.com/200601216/ [L,R=301]
RewriteRule ^shelby-gt500-convertible/ http://www.mustangevolution.com/200602157/ [L,R=301]
RewriteRule ^shelby-2005-cs6/ http://www.mustangevolution.com/200603288/ [L,R=301]
RewriteRule ^2007-shelby-gt500/ http://www.mustangevolution.com/200605019/ [L,R=301]
RewriteRule ^stockton-firm-faces-suit-ford-trademark-violation/ http://www.mustangevolution.com/2006051610/ [L,R=301]
RewriteRule ^shelby-mustang-gt500-prices/ http://www.mustangevolution.com/2006061311/ [L,R=301]
RewriteRule ^2005-rendered-mustang-t-tops/ http://www.mustangevolution.com/2006062912/ [L,R=301]
RewriteRule ^ford-bold-moves-gt500/ http://www.mustangevolution.com/2006071913/ [L,R=301]
RewriteRule ^2008-boss-mustang-return/ http://www.mustangevolution.com/2006072614/ [L,R=301]
RewriteRule ^retail-shelby-gt-h/ http://www.mustangevolution.com/2006081015/ [L,R=301]
RewriteRule ^2007-shelby-gt-mustang-information/ http://www.mustangevolution.com/2006081641/ [L,R=301]
RewriteRule ^interview-with-doug-gaffka-on-designing-the-shelby-gt500/ http://www.mustangevolution.com/2006082051/ [L,R=301]
RewriteRule ^the-legend-mustang/ http://www.mustangevolution.com/2006082755/ [L,R=301]
RewriteRule ^ford-mustang-sales-up-64-from-august-2005/ http://www.mustangevolution.com/2006090357/ [L,R=301]
RewriteRule ^ford-mustangs-myspace/ http://www.mustangevolution.com/2006090359/ [L,R=301]
RewriteRule ^shelby-gt500-road-america/ http://www.mustangevolution.com/2006090461/ [L,R=301]
RewriteRule ^roush-427r-mustang/ http://www.mustangevolution.com/2006090564/ [L,R=301]
RewriteRule ^ford-bold-moves-street-racing-video-game/ http://www.mustangevolution.com/2006090868/ [L,R=301]
RewriteRule ^commercial-video-shelby-gt500-in-germany/ http://www.mustangevolution.com/2006090870/ [L,R=301]
RewriteRule ^vmptuning-gets-505-to-the-wheels-with-gt500/ http://www.mustangevolution.com/2006091272/ [L,R=301]
RewriteRule ^the-next-mustang-a-first-look-at-the-2009-ford-mustang/ http://www.mustangevolution.com/2006091981/ [L,R=301]
RewriteRule ^mustang-gt-520/ http://www.mustangevolution.com/2006092594/ [L,R=301]
RewriteRule ^2007-mustang-meets-ipod/ http://www.mustangevolution.com/2006101797/ [L,R=301]
RewriteRule ^saleen-2009-mustang-facelift/ http://www.mustangevolution.com/2006102299/ [L,R=301]
RewriteRule ^shelby-gt500-debuts-as-nascar-pace-car/ http://www.mustangevolution.com/20061023105/ [L,R=301]
RewriteRule ^ford-rolls-out-ford-mustang-for-sema-2006/ http://www.mustangevolution.com/20061030107/ [L,R=301]
RewriteRule ^boss-302-engine-back/ http://www.mustangevolution.com/20061031114/ [L,R=301]
RewriteRule ^sct-brings-next-generation-tuning-with-livewire/ http://www.mustangevolution.com/20061112120/ [L,R=301]
RewriteRule ^2010-mustang-wagon-speculated-by-german-magazine/ http://www.mustangevolution.com/20061114126/ [L,R=301]
RewriteRule ^giugiaro-2010-mustang-concept-picture/ http://www.mustangevolution.com/20061117129/ [L,R=301]
RewriteRule ^viva-la-mustang-ford-releases-giugiaro-mustang-information/ http://www.mustangevolution.com/20061128131/ [L,R=301]
RewriteRule ^shelby-gt-police-chase-commercial/ http://www.mustangevolution.com/20061203140/ [L,R=301]
RewriteRule ^bullitt-and-boss-mustang-to-return-in-late-2007/ http://www.mustangevolution.com/20061206141/ [L,R=301]
RewriteRule ^shelby-gt-mustang-production-starts-in-january/ http://www.mustangevolution.com/20061206142/ [L,R=301]
RewriteRule ^35-duratec-v-6-and-46-3-valve-v-8-engines-top-wards-10-best-engines/ http://www.mustangevolution.com/20061206143/ [L,R=301]
RewriteRule ^2007050338/ http://www.mustangevolution.com/20070503380/ [L,R=301]
RewriteRule ^me.htm http://www.mustangevolution.com/forum/t25030 [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
RewriteRule ^(.*)$ http://www.mustangevolution.com/$1 [L,R=301]
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteRule ^(.+[^/])$ /$1/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</Directory>

<Directory /home/evo/public_html/forum>
# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums)
RewriteBase /forum
RewriteRule ^u([0-9]+)/$ http://www.mustangevolution.com/forum/users/$1/ [L,R=301]
RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
RewriteCond %{REQUEST_URI} forum/
RewriteRule (.*) http://www.mustangevolution.com/forum/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]

RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
</Directory>

<Directory /home/evo/public_html/articles>
RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.mustangevolution\.com
RewriteCond %{REQUEST_URI} articles/
RewriteRule ^(.*)$ http://www.mustangevolution.com/articles/$1 [L,R=301]
RewriteCond %{REQUEST_URI} /+[^\.]+$
RewriteCond %{REQUEST_URI} /articles/
RewriteRule ^(.+[^/])$ /articles/$1/ [R=301,L]
RewriteBase /articles/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /articles/index.php [L]
</Directory>


Here is the php.ini settings for xcache:

[xcache-common]
zend_extension = /usr/local/lib/php/extensions/no-debug-non-zts-20060613/xcache.so

[xcache]
xcache.size = 100M
xcache.count = 2
xcache.slots = 8K
xcache.mmap_path = "/dev/zero"
xcache.cacher = On
xcache.optimizer = Off
xcache.var_size = 2M


I've used Apache 2.2.6, xCache 1.2.1 and PHP 5.2.4 before, in fact that's exactly how it was setup on the old server.

Is it how php has been compiled that is the problem? How does the configuration look? We are at a lost at trying to figure out what is causing this.

jason|xoxide
Thu 20th Sep '07, 12:14pm
Try changing the mmap_path to something like "/tmp/xcache" (you don't need to create this). It's possible that your system isn't allowing you to mmap to /dev/zero.

BamaStangGuy
Thu 20th Sep '07, 3:52pm
Same result.

Here is my error log

http://www.mustangevolution.com/errorlogs.txt

jason|xoxide
Thu 20th Sep '07, 5:13pm
Sorry, no idea. On a related note, if you disable XCache, does your GD problem go away? If not, your problems may be related and be the fault of PHP.

BamaStangGuy
Thu 20th Sep '07, 5:34pm
Sorry, no idea. On a related note, if you disable XCache, does your GD problem go away? If not, your problems may be related and be the fault of PHP.
Nice catch Jason. I disabled xcache and now thumbnails are being created properly on the forum and another script that was having problems with images not showing is working now.

DelphiVillage
Thu 20th Sep '07, 5:41pm
hi,

you got Zend running ? i've found that when running zend and XCache causes problems and Xcache is innocent because the moment i disabled Zend everything started to work as it should.Also did you comiled PHP yourself or whas it done by some control panel ? it's possible you have some conflicting PHP extensions that are causing this.Your ./configure line would be helpfull.The segmentation faults do look suspicious ...

BamaStangGuy
Thu 20th Sep '07, 5:56pm
The configure line can be found in the link above (http://www.mustangevolution.com/php.php) it was configured by Total Server Solutions.

We don't use Zend, we use ioncube.

BamaStangGuy
Thu 20th Sep '07, 6:12pm
Apache is segfaulting with xcache enabled:

[Thu Sep 20 14:26:20 2007] [notice] child pid 26588 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26589 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26590 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26591 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26592 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26593 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26594 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26595 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26596 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26597 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26598 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26599 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26600 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26601 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26602 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26603 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26604 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26605 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26606 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26607 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26608 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26609 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:20 2007] [notice] child pid 26610 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26611 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26612 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26613 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26614 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26615 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26616 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26617 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26618 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26619 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26620 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26621 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26622 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26623 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26624 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26625 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26626 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26627 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26628 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26629 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26630 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26631 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26632 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26633 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26634 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26635 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26636 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26637 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26638 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26639 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26640 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26641 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:21 2007] [notice] child pid 26642 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26643 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26644 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26645 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26646 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26647 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26648 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26649 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26650 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26651 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26652 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26653 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26654 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26655 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26656 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26657 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26658 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26659 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26660 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26661 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26662 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26663 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26664 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26665 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26666 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26667 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26668 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26669 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26670 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26671 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26672 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26673 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:22 2007] [notice] child pid 26674 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26675 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26676 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26677 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26678 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26679 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26680 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26681 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26682 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26683 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26684 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26685 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26686 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26687 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26688 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26689 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26690 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26691 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26692 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26693 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26694 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26695 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26696 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26697 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26698 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26699 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26700 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26701 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26702 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26703 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26704 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26705 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:23 2007] [notice] child pid 26706 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26707 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26708 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26709 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26710 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26711 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26712 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26713 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26714 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26715 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26716 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26717 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26718 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26719 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26720 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26721 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26722 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26723 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26724 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26725 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26726 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26727 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26728 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26729 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26730 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26731 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26732 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26733 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26734 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26735 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26736 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26737 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:24 2007] [notice] child pid 26738 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26739 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26740 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26741 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26742 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26743 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26744 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26745 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26746 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26747 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26748 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26749 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26750 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26751 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26752 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26753 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26754 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26755 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26756 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26757 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26758 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26759 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26760 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26761 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26762 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26763 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26764 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26765 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26766 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26767 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26768 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26769 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:25 2007] [notice] child pid 26770 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26771 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26772 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26773 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26774 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26775 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26776 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26777 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26778 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26779 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26780 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26781 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26782 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26783 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26784 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26785 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26786 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26787 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26788 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26789 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26790 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26791 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26792 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26793 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26794 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26795 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26796 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26797 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26798 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26799 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26800 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26801 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26802 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:26 2007] [notice] child pid 26803 exit signal Segmentation fault (11)
[Thu Sep 20 14:26:27 2007] [notice] SIGHUP received. Attempting to restart
[Thu Sep 20 14:26:27 2007] [notice] seg fault or similar nasty error detected in the parent process


I'll open a ticket with xcache but I just find it odd why it is doing this. I had this same combination working fine on the old server.

kerplunk
Thu 20th Sep '07, 7:56pm
The configure line can be found in the link above (http://www.mustangevolution.com/php.php) it was configured by Total Server Solutions.

We don't use Zend, we use ioncube.
Try disabling ionCube?

BamaStangGuy
Fri 21st Sep '07, 2:15am
Try disabling ionCube?
I'm so confused now.

I just disabled ioncube, reenabled xcache and restarted apache. Now xcache works.... but the kicker is VBSEO works too. It relies on ioncube. It's suppose to spit out errors about not finding ioncube. Instead it works flawlessly and xcache is caching correctly.

phpinfo doesn't list ioncube as being loaded either.

Sychev_S
Fri 21st Sep '07, 3:47am
I dont know if that helps but there is a ioncube loaders folder right in the vbseo package. Perhaps you have uploaded it along with the script. That's why it works...

BamaStangGuy
Fri 21st Sep '07, 5:01am
I dont know if that helps but there is a ioncube loaders folder right in the vbseo package. Perhaps you have uploaded it along with the script. That's why it works...
Nope I never upload those files. I double checked too thinking somehow they sneaked in. Besides, the package doesn't have 5.2 loaders in there by default anyways (last time I checked) so it would still spit an error out.

BamaStangGuy
Fri 21st Sep '07, 8:11am
Figured it out. VBSEO looks for any folder named ioncube on the server apparently. The ioncube loader file that we downloaded was put into a folder named ioncube. So when we disabled it via php.ini vbseo still found it via the ioncube folder.

What doesn't make sense is why xcache works fine with it included outside of php.ini but when we tell it to load ioncube in php.ini it causes apache to segfault...

jason|xoxide
Fri 21st Sep '07, 11:11am
Figured it out. VBSEO looks for any folder named ioncube on the server apparently. The ioncube loader file that we downloaded was put into a folder named ioncube. So when we disabled it via php.ini vbseo still found it via the ioncube folder.

What doesn't make sense is why xcache works fine with it included outside of php.ini but when we tell it to load ioncube in php.ini it causes apache to segfault...

PHP extensions are sensitive to the order in which they are loaded. You might try reversing the order of XCache and the IonCube loader (or you could just let it load on demand).

BamaStangGuy
Fri 21st Sep '07, 4:30pm
Thanks for that tip I'll give it a try.

I'd like it to load in php.ini, since it's more efficent to do it that way.

BamaStangGuy
Fri 21st Sep '07, 4:34pm
Loaded it before xcache and now it seems to work properly.

*sigh* I hate this stuff sometimes.