Opened 7 years ago

Closed 7 years ago

#166 closed defect (invalid)

xcache doesn't work -

Reported by: kg@… Owned by: moo
Priority: critical Milestone:
Component: cacher Version: 1.2.2
Keywords: xcache_globals Cc: sm@…
Application: Lighttpd 1.4.18 PHP Version: HP 5.2.0-8+etch10 (cli) (built: Jan 18 2008 18:32:56)
Other Exts: memcache, mysqli SAPI: FastCGI
Probability: Sometimes Blocked By:
Blocking:

Description

I get a lot of these errors all the time. Also, server load is very high (~90% cpu), I think it occasionally fails to load the library.

[03-Mar-2008 13:35:01] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613/xcache.so' - /usr/lib/php5/20060613/xcache.so: undefined symbol: xcache_globals in Unknown on line 0

URGENT:
I compiled 1.2.1 and it works perfectly with same config, reducing system load to ~30%.

--
Configuration:

# uname -a
Linux 2.6.22.1-amd64-smp-06082007-1 #1 SMP Mon Aug 6 17:21:10 CEST 2007 x86_64 GNU/Linux

# php5 -v
PHP 5.2.0-8+etch10 (cli) (built: Jan 18 2008 18:32:56)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies

with XCache v1.2.2, Copyright (c) 2005-2007, by mOo

Change History (2)

comment:1 Changed 7 years ago by moo

looks like a broken build. are u doing a in place source upgrade (like svn up) and then reinsall XCache 1.2.2? can u try "make xcachesvnclean && make distclean" before you recompile?

make xcachesvnclean && make distclean
phpize
./configure
make && make install

comment:2 Changed 7 years ago by moo

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.