Advertisement:
Anonymous Login
12-07-2016 09:19 AM

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004350SMF 2.1[All Projects] Generalpublic2012-06-15 18:45
ReporterKill Em All 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Summary0004350: shows only one accelerator
DescriptionIf multiple accelerators are installed on the server, SMF will only show one being installed. I personally could not try this, but two people have confirmed it.
http://www.simplemachines.org/community/index.php?topic=390074.msg2696868#msg2696868

Link up there is description, scroll down further and a fix is provided by live627.
Tags2.1, With Fix
Attached Files

-Relationships
+Relationships

-Notes

bugnote:0012518

feline (Viewer)

True .. if more then one installed (eg. eaccelerator and memcached) then eaccelerator is used. Here we need checkboxes (I think) for each found caching as example:
[ ] eaccelerator
[ ] memcached
[ ] file

bugnote:0012519

groundup (SMF Friend)

Radio buttons. We shouldn't use multiple caches (which is what we're really discussing here. We aren't concerned with accelerators - it's above our level).

bugnote:0012520

feline (Viewer)

Yeah sorry .. my bad. I mean radio buttons :)

bugnote:0012523

groundup (SMF Friend)

Considering that most people will NOT have multiple caches installed, the late nature of this bug, and the number of people this will affect, do we push this to Saguaro?

bugnote:0012525

Nibogo (Viewer)

I agree in addition to that this isn't a fatal bug, if someone has more two or more accelerators well he'll be ok using any of them maybe include live627's fix so people will know that their accelerators are detected.

bugnote:0012526

groundup (SMF Friend)

The fix is actually really simple. Perhaps if one of the devs want to commit it. I'm moving it to Saguaro in the interim.

bugnote:0012527

Nibogo (Viewer)

That fix do it, it's pretty simple, easy to implement and bugs free so I can't see why not include it in RC4 and leave the radio buttons thing for Saguaro. Let see what Devs says.

bugnote:0012529

feline (Viewer)

I think, it's a good point to put the cachefunctions in a functon array (like $smcFunc).
$smcCacheFunc = array(
'cacheput' => ....,
'cacheget' => ....,
'cacheclear' => ...);
So we need no test on each read/write the cache. It's easier and speed up each cache access...

bugnote:0012531

Ensiferous (Viewer)

I don't understand this. It makes no sense to have two opcode caches installed nor two content caches. Why is support for multiple required? If anything there should be a drop down box to select which content cache to use.

bugnote:0014529

Spuds (Viewer)

Commit:8cdc309d309071172bf2002ba6fec6bbe1fe52b1

! move cache engine choice to the setting.php file, instead of saving the choice in a cached file?
! allow choosing from any installed cache engines (dropdown of detected engines)
! clean_cache updates to clean other caches, not just smf cache
! re-layout the cache settings page
+Notes
MantisBT (Modified for SMF Intergration)[^] Copyright © 2000 - 2010 Mantis Group