PDA

View Full Version : Turck MMCache - Better than phpa?


Scotteh
Tue 6th May '03, 8:55am
Has anyone tried this program out?

http://www.turcksoft.com/en/e_mmc.htm

It looks good.. I will probably try it out..

eva2000
Fri 9th May '03, 5:31am
a few posts on this forum suggest it works well.. personally i prefer PHPA.. but why not try both and see which you like better ?

Erwin
Sat 17th May '03, 4:08am
I just switched from PHPA to MMCache... I was getting memory errors with PHPA in my access_logs - PHPA doesn't seem to like SIM much. Anyway, since the change, I haven't had any more errors, and it's all working just as fast if not faster, so I am pleased with MMCache.

Erwin
Sat 17th May '03, 5:26am
LOL! I take that back... had to go back to PHPA in the end, MMCache was giving me seg faults. Needed to tweak php.ini lots to get the permission right to avoid the memory errors... looks to be good now.

Dave#
Sat 17th May '03, 6:48am
Both gave me horrible grief on my dual xeon - not running any accelerator now

Erwin
Sat 17th May '03, 7:00am
Both gave me horrible grief on my dual xeon - not running any accelerator now
I am having the same problems with my dual Xeon too. :(

PHPA was giving me shm lock problems no matter how I tweaked it, changed the shm&user settings etc.

MMCache gave me seg faults.

I am tempted to return to Zend Optimizer.

I've just gone back to MMCache - tweaking the settings, to see if I can avoid seg faults. I shall let people know.

Erwin
Sat 17th May '03, 7:01am
LOL!!! MMCache is giving me stupid seg faults... Aarrgghh... oh well, back to plain Zend Opt...

Erwin
Sat 17th May '03, 7:13am
The question is, is it better to have PHPA and have the failed lock errors, or just rely on Zend Optimizer? The site did work well otherwise. I am opting to be error free and go back to Zend. Any thoughts?

Dave#
Sat 17th May '03, 7:14am
The problem with MMCACHE seems to be releated to CPANEL rather than the OS - I *believe* that disabling cpanellogged might fix it.

Are you actually segfaulting or getting PHP crashes?

tamarian
Sat 17th May '03, 10:30am
I've been quite happy with PHPA on my dual PIII for a while.

But each time we upgrade the kernel, segfaults start creeping up. I emailed PHPA whenever the logs say "phpa bug email ....". I juste upgraded to the 2.4.20-13 kernel, and got some of those errors and forwarded them to PHPA. It seems all these segfaults and other memory problems are due to SMP configs. Here's PHPA response:
Hi

Thanks for the email. Rather than a bug, this is possibly a problem with
being an SMP machine as we've seen that locking may be faulty on those
machines. Or, this may be related to how apache works on smp machines.

Thanks for the info though as it gives more information about issues with
SMP machines.

However, I noticed that if I keep playing with httpd.conf settings, I'd eventually reach a state where these segfaults stop, or become infrequent.

Erwin
Sun 18th May '03, 2:47am
The problem with MMCACHE seems to be releated to CPANEL rather than the OS - I *believe* that disabling cpanellogged might fix it.

Are you actually segfaulting or getting PHP crashes?
I was getting seg faults with MMCache, and shm lock errors with PHPA. I'm now back to just plain old Zend Optimizer. No more errors in my logs. :)

tamarian
Sun 18th May '03, 9:19am
I was getting seg faults with MMCache, and shm lock errors with PHPA. I'm now back to just plain old Zend Optimizer. No more errors in my logs. :)

Is that on an SMP processor and kernel?

KrON
Sun 18th May '03, 9:31pm
Is that on an SMP processor and kernel?

I havn't had any of the problems i had with PHPA on my dual xeon box (with out cpanel), with MMCache. I've been using it for over a month now, no complaints.

According to MMCaches benchmarks its comparable in speed to PHPA, but i'll take that with a grain of salt.

KrON
Mon 19th May '03, 10:36am
New version (2.3.11) out today! With performance enhancements by referencing files by inodes & using spinlocks

whee!

Erwin
Fri 23rd May '03, 2:38am
New version (2.3.11) out today! With performance enhancements by referencing files by inodes & using spinlocks

whee!
I tried 2.3.11 as well - still gave me segmentation faults and MMCache crashes in my error logs. Weird, but true. Also, server load doubled for some reason with it installed, and 400 users online, but went down back to normal when I uninstalled it.

KrON
Fri 23rd May '03, 8:20am
Might wanna try 2.3.12 released yesterday, evidentally 2.3.11 had a pretty serious bug in it..

Erwin
Sun 25th May '03, 2:09am
Yeah... I'm using 2.3.12 now... seems to work well, and is stable... much better than 2.3.11 :)

Erwin
Sun 25th May '03, 2:11am
Well, still getting the odd seg fault, but the site seems to be flying... if nothing crashes, I'm keeping it to see how things go...