Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-18 Thread Brian Moon

Can I set a higher current items? I mean, is there anything I can do
to get memcached use more memory or it's just how vBulletin works.


Switch to Phorum. We cache all kinds of stuff. If you even need it since 
Phorum is 1000x faster and less ass than vB.


Brian.


--
Subscription settings: http://groups.google.com/group/memcached/subscribe?hl=en


Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-18 Thread wminside
I don't think I can. vBulletin is really user friendly and has great
SEO plugins. Switcing to phorum would dramatically affect my SERPs.

I'm talking about vB 3.x not the new piece of crap.

I will probably use phorum on other projects though ;)

On Apr 18, 5:47 pm, Brian Moon br...@moonspot.net wrote:
  Can I set a higher current items? I mean, is there anything I can do
  to get memcached use more memory or it's just how vBulletin works.

 Switch to Phorum. We cache all kinds of stuff. If you even need it since
 Phorum is 1000x faster and less ass than vB.

 Brian.

 --
 Subscription settings:http://groups.google.com/group/memcached/subscribe?hl=en


Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-17 Thread wminside
Hi, I'm using memcache.php by Harun Yayli

On Apr 18, 2:03 am, dormando dorma...@rydia.net wrote:
  I installed memcached almost a week ago on a site that gets quite some
  traffic and these are my stats:

  48944634 Hits
  68 Misses
  25 (2869804) Current Items(total)

  Free: 63.9 MBytes (99.8%)
  Used: 127.8 KBytes (0.2%)

  Is this even possible? I would say it's working just based on the load
  of the db server but why is it using just 127.8 KBytes?

  I have split web(nginx) + db servers. Memcached is on the web server.

 what tool are you using to render these stats?

 --
 Subscription settings:http://groups.google.com/group/memcached/subscribe?hl=en


Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-17 Thread wminside
Here we go:

stats
STAT pid 3340
STAT uptime 458597
STAT time 1271550849
STAT version 1.2.8
STAT pointer_size 64
STAT rusage_user 1769.752956
STAT rusage_system 2322.219968
STAT curr_items 25
STAT total_items 2920286
STAT bytes 130845
STAT curr_connections 21
STAT total_connections 820
STAT connection_structures 22
STAT cmd_flush 0
STAT cmd_get 49793088
STAT cmd_set 2920290
STAT get_hits 49793020
STAT get_misses 68
STAT evictions 0
STAT bytes_read 290668339623
STAT bytes_written 720282826200
STAT limit_maxbytes 67108864
STAT threads 5
STAT accepting_conns 1
STAT listen_disabled_num 0
END


On Apr 18, 2:11 am, dormando dorma...@rydia.net wrote:
 On Sat, 17 Apr 2010, wminside wrote:
  Hi, I'm using memcache.php by Harun Yayli

 Verify with another tool, or telnet to the server and run 'stats'. paste
 the output to the list if you need help, and the wiki covers some stuff
 too.

 curr_bytes / limit_maxbytes gives the fill rate, but isn't necessarily
 how much memory is actually in use.

 How much is in there depends greatly on what kind of app you have. I've
 seen message boards that store half a meg of junk into memcached then ...
 nothing else. but they hit it every page load so who knows...

 --
 Subscription settings:http://groups.google.com/group/memcached/subscribe?hl=en


Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-17 Thread dormando
 STAT version 1.2.8

Consider upgrading to 1.4.x ;)

 STAT curr_items 25

You have at most 25 items in your cache. that sounds pretty small.

 STAT bytes 130845

Yeah, that's 128k. Your app's just not using the cache very much.

-Dormando


-- 
Subscription settings: http://groups.google.com/group/memcached/subscribe?hl=en


Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-17 Thread wminside
I get memcached from the EPEL repository.

Can I set a higher current items? I mean, is there anything I can do
to get memcached use more memory or it's just how vBulletin works.

On Apr 18, 2:38 am, dormando dorma...@rydia.net wrote:
  STAT version 1.2.8

 Consider upgrading to 1.4.x ;)

  STAT curr_items 25

 You have at most 25 items in your cache. that sounds pretty small.

  STAT bytes 130845

 Yeah, that's 128k. Your app's just not using the cache very much.

 -Dormando

 --
 Subscription settings:http://groups.google.com/group/memcached/subscribe?hl=en


Re: 48944634 Hits / 2869804 Items but just 127.8 KBytes used !

2010-04-17 Thread dormando


On Sat, 17 Apr 2010, wminside wrote:

 I get memcached from the EPEL repository.

 Can I set a higher current items? I mean, is there anything I can do
 to get memcached use more memory or it's just how vBulletin works.

Go whine at the vB authors about putting some real shit into the cache. vB
just puts the data store stuff into memcached, which is cute but they
can do an awful lot more with it.

Given how awful their queries tend to be and how cacheable user data is,
it's confusing why they don't bother.


-- 
Subscription settings: http://groups.google.com/group/memcached/subscribe?hl=en