Memcached settings

Started by Owdy, March 19, 2008, 03:07:55 AM

Previous topic - Next topic

Owdy

If i put my server name (kiuru.sigmatic.fi) in that textarea, i got this:

QuoteWarning: memcache_connect() [function.memcache-connect]: Can't connect to kiuru.sigmatic.fi:11211, Connection refused (111) in /var/www/fs1/0/public_html/foorumi/Sources/Load.php on line 2415

Can i leave blank that texarea?

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

H

The textarea should only be filled in if you have a memcache server. Looking at the error either the server name is wrong or the memcache server doesn't exist ???
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Owdy

SMF says 'SMF has detected that your server has Memcached installed.'. SMF 1.1 didnt find that, 2.0 does. Server name is correct.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

H

Is memcache present in phpinfo? I don't think SMF checks for a server, just the relevant php functions.
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Owdy

memcache support   enabled
Revision    $Revision: 1.83.2.20 $
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

H

Yep it looks like it is the php extension. Is this dedicated or shared hosting?
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

H

Most likely the php distribution used by your host uses a php config with the memcache extension although they may not have a memcache server. Guess you'll have to ask them to be sure.

I also spoke to Jay and apparently memcache didn't work correctly in 1.1.x which is why it wasn't detected :D
-H
Former Support Team Lead
                              I recommend:
Namecheap (domains)
Fastmail (e-mail)
Linode (VPS)
                             

Owdy

#8
Ok, ill ask my host.

edit: they say its only for their webmail, not for customers yet. :(
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Joshua Dickerson

You probably won't want to use memcached anyway. First off, it is in a shared environment and you have no protection. Second, it is only for caching variables, not for opcode caching like APC or eaccelerator.
Come work with me at Promenade Group



Need help? See the wiki. Want to help SMF? See the wiki!

Did you know you can help develop SMF? See us on Github.

How have you bettered the world today?

Owdy

Quote from: groundup on March 22, 2008, 12:59:38 PM
You probably won't want to use memcached anyway. First off, it is in a shared environment and you have no protection. Second, it is only for caching variables, not for opcode caching like APC or eaccelerator.
Good to know. Thanks G.
Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

dschwab9

I definitely wouldn't use memcache in a shared enviromnent.   As far as the detection goes, it just detects the php module, which is only a client.   You still need a memcached server for it to connect to.

emicd

wich cache do you recommend for a shared enviroment with smf 1.1.11

Owdy

Former Lead Support Specialist

Tarvitsetko apua SMF foorumisi kanssa? Otan työtehtäviä vastaan, lue:http://www.simplemachines.org/community/index.php?topic=375918.0

Advertisement: