problem about memcache-Collection of common programming errors
CourtDemone
php mac memcached memcache lion
I’ve been asked to launch a site that someone else built. It is a WordPress shop site that needs Memcached to run, and I’ve been having troubles getting Memcached and the memcache php plugin working on my local server. Before installing memcached and the memcache PHP plugin, I would get this error:Fatal error: Class ‘Memcache’ not found in [Path]wp-content/object-cache.php on line 350Now that I have memcached and the memcache PHP plugin installed (via Homebrew), I get a “No data received” page,
slycat
linux centos memcached memcache
I did this:sudo yum install memcachedthen sudo pecl install memcachethen I restarted memcache (which actually only started it) with this:sudo /sbin/service memcached restarti have no idea if it will start when I reboot. How do i set that up?also is there any way to set a password on memcache? I’ve limited it to 127.0.0.1 by editing /etc/sysconfig/memcachedand adding this lineOPTIONS=”-l 127.0.0.1″
Rick Scolaro
video-streaming memcache rtmp apc
MY BUILDI am using a Linux CENTOS 6 server with Plesk 10.4.4 Apache and Wowza Media Server 3. The server is a quad core and has 12GB RAM.WHAT HAPPENED BEFOREI was having a problem with some WordPress websites that utilize lots of CPU when running custom CRON jobs, so I looked for ways to make the server faster.I first installed eAccelerator, and that caused alot of my MYSQL tables to crash and some other problems arose. I uninstalled it and everything went back to normal.Next, I found people w
WayneDV
apache2 php memcache segfault
Three Apache2 web servers running a PHP 5.2.3 web site. We’re using Memcache to cache rendered pages but also as the storage engine of the PHP Sessions.At peak traffic times we’re getting Apache segmentation faults on all three web servers and all HTTPD child processes segfault. My gut tells me that the increased Memcache traffic is stopping PHP sessions from being created or cleaned up and thus the processes die. Is it possible for someone to confirm that from the following? :#0 _zend_mm_fr
Kundra
php memcache session
Until recently our setup consisted of 4 web-servers sharing sessions to a single server running memcache. We are hosted on Amazon cloud and had a crash at peak load on 2 consecutive days. The problem was that the memcache service crashed (the load to our site has been increasing steadily).So, we took the following measures:1) Added 2 more servers for storing sessions2) Set following variables in php ini file on all web-serverssession.save_handler = memcachesession.save_path = tcp://ip1.port, tcp
user1179459
linux php memcached memcache
I have chat engine which is based on the Memcached variables, putting them into arrays and reading them in other end via jquery, which works fine 95% of the times, however when the server load is high memcached (presume its the memcached) the crash and browser gets stucks up.I dont think its jquery issue since this only happens when the server load is very high.I need a way to monitor the memcached servers or somehow write a log file into where the fails/errors comes in…Any idea on how i can d
bryan_ruiz
mysql memcache magento tmpfs
I have an application (Magento) that has an abstracted session storage layer. I’m trying to visualize the best way to store sessions.mysql Database? I’m thinking a dedicated database with a very large innodb_buffer_pool_size so its basically like RAM Cache with disk backup. I’m thinking of having a seperate DB just for sessions and put the other DB stuff on a separate DB/DB Server.Memcache? This is great but I am a bit concerned with what happens if the server crashes? I would lose that parti
quanta
php redundancy debian-squeeze memcache session
os: debian squeeze (up2date) 2 apache mod php webserver 2 memcache serveri have to apache mod_php nodes which use two memcache server for redundant session storage (used variant 3 from http://serverfault.com/a/165584). memcache.iniextension=memcache.so[memcache] memcache.dbpath=”/var/lib/memcache” memcache.maxreclevel=0 memcache.maxfiles=0 memcache.archivememlim=0 memcache.maxfilesize=0 memcache.maxratio=0memcache.allow_failover=1 memcache.hash_strategy=consistent memcache.session_redundancy=3ph
Sparsh Gupta
memcache
We rely heavily on memcache and are serving a few billion requests per month. We have 5 memcache servers. Last night, we saw an 25% increase in our traffic. The graphs show that requests and data transfered by each memcache increased and made them crash. It started a chain reaction and each memcache server crashed one after another (Load per server increased).We found no logs in syslog, messages, memcache log file (Verbose settings was off).I have two questions:How can I find out why exactly thi
Citricguy
performance memcache
Running seige (load tester) without memcache enabled I see stats similar to this:Transactions: 560 hits Availability: 100.00 % Elapsed time: 59.42 secs Data transferred: 6.25 MB Response time: 1.56 secs Transaction rate: 9.42 trans/sec Throughput: 0.11 MB/sec Concurrency: 14.71 Successful transactions: 543 Failed transactions: 0 Longest tran
Petrus
installation redhat pecl memcache
I have installed memcached fine, and now I will need to install PECL extension memcache. Im running RedHat x86_64 es5. The installation gives me this:downloading memcache-2.2.6.tgz … Starting to download memcache-2.2.6.tgz (35,957 bytes) ……….done: 35,957 bytes 11 source files, building running: phpize Configuring for: PHP Api Version: 20090626 Zend Module Api No: 20090626 Zend Extension Api No: 220090626 Enable memcache session handler support? [yes] : Notice: Use of unde
Luca Borrione
lamp xampp memcache
I need to use different versions of lampp (xampp for linux). I recently also need to use memcache with any version of lampp I might need to use. Everything is going right if I use the last lampp version 1.7.7 which contains PHP 5.3.8 I simply dosudo apt-get install php5-memcache sudo cp -av ‘/usr/lib/php5/20090626+lfs/memcache.so’ ‘/opt/lampp/lib/php/extensions/no-debug-non-zts-20090626/memcache.so’The problem is when I try to do the same with an older version of lampp. For example, I uninstalle
andufo
php memcached php-extensions pecl memcache
yesterday i migrated to Rackspace (CentOS 5.5). Everything was already configured (apache, php, mysql, memcached) and working well.The only thing i forgot, and installed at last was the mail server (iRedMail). After that, for some reason, memcached got kind of screwed up:[root@mail php.d]# php -vPHP Warning: PHP Startup: memcache: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 Thes
RULE101
linux centos memcached memcache
I get this while installing libmemcachedroot@server [/libmemcached]# make make all-am make[1]: Entering directory `/libmemcached’ if /bin/sh ./libtool –tag=CXX –mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -ggdb -DBUILDING_HASHKIT -MT libhashkit/libhashkit_libhashkit_la-aes.lo -MD -MP -MF “libhashkit/.deps/libhashkit_libhashkit_la-aes.Tpo” -c -o libhashkit/libhashkit_libhashkit_la-aes.lo `test -f ‘libhashkit/aes.cc’ || echo ‘./’`libhashkit/aes.cc; \then mv -f “libhashkit/.deps/lib
Web site is in building