Re: memcache stats

2008-09-05 Thread dormando
The -u option is for specifying the user to drop privileges to? If you see mentions of "managed instances" - that's unfinished code, which we should silence. You can safely ignore that. -Dormando On Fri, 5 Sep 2008, TK wrote: thanks, steve. Was looking at the help section of the memcached

Re: memcache stats

2008-09-05 Thread TK
thanks, steve. Was looking at the help section of the memcached server and there is a -u option for managed instance. Can somebody explain when and where will someone use this option. Thanks in advance. TK On Sep 5, 11:32 am, "Steve Yen" <[EMAIL PROTECTED]> wrote: > On Fri, Sep 5, 2008 at 11:2

Re: what is a connection refused(111) error?

2008-09-05 Thread pedalpete
SUCCESSS thank you all so much for the help. So i went back to starting with -d. The problem now is that when I cancel out of the command line On Sep 5, 3:00 pm, dormando <[EMAIL PROTECTED]> wrote: > Hey, > > When you're getting started with memcached, it might be a good idea to > start it

Re: what is a connection refused(111) error?

2008-09-05 Thread pedalpete
Thanks Jehiah, You are correct. I'm not sure why all the online guides said '10.0.0.40', and in the past I had tried with 127.0.0.1, but didn't get very far. On Sep 5, 2:52 pm, "Jehiah Czebotar" <[EMAIL PROTECTED]> wrote: > > I have started memcached with > > [code] > > memcached -d -m 1024 -l 1

Re: what is a connection refused(111) error?

2008-09-05 Thread dormando
Hey, When you're getting started with memcached, it might be a good idea to start it without the -d option the first time. We daemonize really early (maybe this is fixable...) so a startup error isn't always printed when you use -d. By removing the daemonize option it'll run in the foregroun

Re: what is a connection refused(111) error?

2008-09-05 Thread Jehiah Czebotar
> I have started memcached with > [code] > memcached -d -m 1024 -l 10.0.0.40 -p 11211 -u nobody > [/code] and your error is > [code] > Memcache::connect() [memcache.connect]: Server 127.0.0.1 (tcp 11211) > failed with: Connection refused (111) > [/code] so already there is a problem. you have t

Re: what is a connection refused(111) error?

2008-09-05 Thread pedalpete
Thanks Steve, I am kinda new to admining my own server, so no, I hadn't tried telnet. And you are correct, I can't telnet to 11211. But at the same time, I can't be sure that memcached is running either. I'm not sure how to test for that. I have started memcached with [code] memcached -d -m 1024

Re: what is a connection refused(111) error?

2008-09-05 Thread Steve Yen
Could be any number of things... 111 is just the ECONNREFUSED error code value from underlying socket connect() syscall. Apologies if you've tried or thought of these top-of-head ideas already... a - is memcached really running? on port 11211? b - can you telnet to it? can you telnet as the sa

what is a connection refused(111) error?

2008-09-05 Thread pedalpete
I've tried reinstalling memcache a few times, and I can connect to it from root, but when attempting to connect via my php page, I get a [code] Memcache::connect() [memcache.connect]: Server 127.0.0.1 (tcp 11211) failed with: Connection refused (111) [/code] I have tried using 'localhost' as the

Re: memcache stats

2008-09-05 Thread Steve Yen
On Fri, Sep 5, 2008 at 11:29 AM, Steve Yen <[EMAIL PROTECTED]> wrote: > You're running an older memcached version. They've been there since > at least 1.2.5 and maybe earlier. > > On Fri, Sep 5, 2008 at 9:50 AM, TK <[EMAIL PROTECTED]> wrote: >> >> thanks steve, >> >> I am not able to get anything

Re: memcache stats

2008-09-05 Thread Steve Yen
You're running an older memcached version. They've been there since at least 1.2.5 and maybe earlier. On Fri, Sep 5, 2008 at 9:50 AM, TK <[EMAIL PROTECTED]> wrote: > > thanks steve, > > I am not able to get anything for: > 1. stats items > 2. stats sizes > > even though I have bunch of items sto

Re: memcache stats

2008-09-05 Thread TK
thanks steve, I am not able to get anything for: 1. stats items 2. stats sizes even though I have bunch of items stored in the memcache. Also for the stats cachedump what is the limit parameter? TK On Sep 5, 8:48 am, "Steve Yen" <[EMAIL PROTECTED]> wrote: > On Fri, Sep 5, 2008 at 7:35 AM, TK

Re: memcache stats

2008-09-05 Thread Steve Yen
On Fri, Sep 5, 2008 at 7:35 AM, TK <[EMAIL PROTECTED]> wrote: > > Hi! All > > I am new to memcache. I wanted to find out what are the statistics > which we care about. I just came across the following: > #tackable-image:11211 Field Value > bytes17962932 > b

memcache stats

2008-09-05 Thread TK
Hi! All I am new to memcache. I wanted to find out what are the statistics which we care about. I just came across the following: #tackable-image:11211 Field Value bytes17962932 bytes_read17450985 bytes_written 90519

Re: failed connections after longer bursts of requests (on WinXP)

2008-09-05 Thread Henrik Schröder
I did a quick test, and I don't have a problem with ~300 concurrent connections: stats STAT pid 2572 STAT uptime 2098 STAT time 1220610967 STAT version 1.2.5 STAT pointer_size 32 STAT curr_items 1 STAT total_items 8 STAT bytes 16056 STAT curr_connections 296 STAT total_connections 1736 STAT connec

Updated draft of the binary protocol available

2008-09-05 Thread Trond Norbye
I have been doing some reorganization of the documentation for the binary protocol lately, and inserted the "current draft" to the wiki. I have not done any "formatting" yet (everything is stored in one big verbatim block, so it looks kind of weird). http://code.google.com/p/memcached/wik

Re: failed connections after longer bursts of requests (on WinXP)

2008-09-05 Thread Henrik Schröder
How does the connection pooling in that PHP client work, and how big a connection pool do you have? Does it even have one? If you do that short burst test of yours, opening new TCP connections is a performance bottleneck, but if you have a proper connection pool and a hot system, your pool should h

you need money without invesment earn weekly$5000to$10000

2008-09-05 Thread [EMAIL PROTECTED]
you need money without invesment earn weekly$5000to$1 otherinformations logonto * http://www.AWSurveys.com/HomeMain.cfm?RefID=sureshrania http://www.AWSurveys.com/HomeMain.cfm?RefID=sureshrania http://www.AWSurveys.com/H