Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
June 30, 2008 - Submit Your Site for the July 08 Site of the Month Award!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 25, 2008, 05:46:21 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: xcache  (Read 556 times)
JeremyD
SleePy...
Jabba the Hutt
*****
Offline Offline

Posts: 715


SMF Customizer Team Member


WWW
« on: May 13, 2008, 10:36:43 PM »

Hello,

I recently setup xcache on my server to take use of it.
I can use the xcache_set and xcache_get functions. It shows up in phpinfo. I was hoping I was in business to use it.

The only problem is what I set in xcache_set only seems to exist until the script finishes processing then it is removed. If I even use them both in the same script it shows up. So its there until the script is done.

I even used the xcache admin script and it wasn't caching its own script (it was attempting to).

I changed the path to where it was storing the xache data (from /dev/zero to /tmp/xcache) and created the file. I restarted httpd and browsed a few pages.
It quickly filled up with data. I can see this since I used "nano /tmp/xcache" (It was a 64 mb file due to my xcache size settings both being 32M and didn't want to download it). I at a quick glance I only see mysql queries that where performed.
Which I didn't set xcache to do any of that so its weird Neutral

I do run php as cgi so I can run su_php but I don't think that would of caused an issue?
I haven't changed much configuration settings besides the sizes for variables and files to both be 32M.
Logged

perestrelka
Administrator
Jedi
*****
Offline Offline

Posts: 980



« Reply #1 on: May 14, 2008, 12:23:41 AM »

Hi Jeremy,

If you have xcache activated as extension in php.ini this may explain it tried to cache everything that was executed in PHP. Or did I understand your problem incorrectly?
Logged

Kind Regards,
Vlad Artamonov
JeremyD
SleePy...
Jabba the Hutt
*****
Offline Offline

Posts: 715


SMF Customizer Team Member


WWW
« Reply #2 on: May 14, 2008, 01:16:23 PM »

Well it is actived via php.ini.
I can use all the functions and stuff.
It just doesn't seem to be able to actually store/recall what I put in the xcache..

I have heard of problems with apc and eA so I am reluctant to want to use them. I only have a single server so I am not to sure if memcache is the best option yet.
This is why I choose xcache.
Logged

JeremyD
SleePy...
Jabba the Hutt
*****
Offline Offline

Posts: 715


SMF Customizer Team Member


WWW
« Reply #3 on: May 14, 2008, 02:37:52 PM »

I am going to put this on hold for now.

I think that running php as cgi is causing issues with xcache.
I had over 400 core dumps on my site and after I moved them I still had them being generated.

I just dropped xcache and restarted apache. Hopefully things clear up Neutral
Logged

perestrelka
Administrator
Jedi
*****
Offline Offline

Posts: 980



« Reply #4 on: May 14, 2008, 09:32:49 PM »


Sorry to hear about that. BTW, APC and eA always worked fine for me Wink
Logged

Kind Regards,
Vlad Artamonov
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM