Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-05-05 Thread Trond Norbye
On Fri, May 4, 2018 at 10:46 PM dormando wrote: > > The closest would be SCRAM-SHA-256/512 mechanism, but the RFC for that > states "in combination with TLS" up front, and I'd be wary of using it > over the internet as well. > If we ignore TLS for a second and just look at

Re: Regarding setting up SASL with memcached server and getting a memcached client to associate with server.

2018-05-04 Thread Trond Norbye
If all you need is SASL authentication with DIGEST-MD5 and PLAIN mechanisms you should be able to implement the few methods used by memcached relatively quickly after you read the SASL spec (and get around any licensing issues). During startup memcached calls sasl_server_init where it sets up an

Re: memcached curr_connections always stay at 10

2013-10-07 Thread Trond Norbye
From looking at your stats it seems like you're not using persistent connections.. On Sat, Oct 5, 2013 at 6:55 AM, vinod pandey vpfor...@gmail.com wrote: STAT curr_connections 10 STAT total_connections 6357387 STAT connection_structures 31 You've had more than 10 connection allocated at

Re: About the 'delete' command

2013-09-25 Thread Trond Norbye
A distributed system may always have race conditions and you need to find a solution for them. Your delayed delete would not solve that because you don't know how slow the other stuff may be. Trond On Sep 25, 2013 3:13 PM, Kevin Fang kevinth.f...@gmail.com wrote: Hi guys, I have one question

Re: threading configuration

2013-04-15 Thread Trond Norbye
. For more options, visit https://groups.google.com/groups/opt_out. -- Trond Norbye -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr

Re: Strange behaviour on get-multi over binary protocol

2013-02-19 Thread Trond Norbye
. Cheers, -Brian -- Trond Norbye -- --- You received this message because you are subscribed to the Google Groups memcached group. To unsubscribe from this group and stop receiving emails from it, send an email to memcached+unsubscr...@googlegroups.com. For more options, visit

Re: Logs

2012-09-21 Thread Trond Norbye
Please don't take this the wrong way, but the output from -vvv will most likely not be very helpful to you unless you know some of the internals of memcached... Trond sent from my Android phone... Den 21. sep. 2012 08:49 skrev Gonzalo de Pedro gonzalodepe...@gmail.com følgende: Brian is right.

Re: Failed to write, and not due to blocking: Broken pipe

2012-09-05 Thread Trond Norbye
I believe I found the root cause for that a while back but I haven't pushed the patch for it yet (I haven't figured out how to write the test case yet). I'll try to remember to upload the patch when I get back home tonight. Cheers Trond sent from my Android phone... Den 5. sep. 2012 14:56

Re: licensing for memcached

2012-07-06 Thread Trond Norbye
On Fri, Jul 6, 2012 at 4:44 PM, jennindg jenni...@gmail.com wrote: I just downloaded the latest tarball yesterday but did not see a LICENSE file. There is a README, AUTHORS, NEWS and COPYING file but none of these refer to a license. Did you try looking in the COPYING file? Trond

Re: how to add new source files to memcached

2012-05-08 Thread Trond Norbye
Makefile.am Den 8. mai 2012 06:48 skrev sharc neutronsh...@gmail.com følgende: Hi all, I want make a slight extension to memcached server, and I have several new source files to be added to the build system. What files shall I modify? How to change? Thanks! -sharc

Re: errors on solaris

2012-05-03 Thread Trond Norbye
On Thu, May 3, 2012 at 6:52 AM, Eugene M. Zheganin zhega...@gmail.comwrote: Hi. I have 1.4.13 on Solaris x86_64. Which solaris version is this? Which version of libevent? compiled with gcc? Sun studio? Which options? Trond

Re: how do I not store the keys?

2011-10-24 Thread Trond Norbye
On 24.10.11 16:06, dormando dorma...@rydia.net wrote: I'd surely take a patch/issue to add a configuration flag to ignore this check, but there's not one currently. In my personal opinion, I think we should allow binary keys. It is useful. I hope someone does send in a patch. I'd prefer

Re: how do I not store the keys?

2011-10-24 Thread Trond Norbye
On 24.10.11 16:13, dormando dorma...@rydia.net wrote: I'd prefer a flag that I have to _enable_ to have the library verify my damn keys. Let the user do what he wants to do and don't expect every client user to be a moron. (just like the stupid ubuntu installations that adds all sorts of

Re: How to configure (as part of install) memcached against libevent.so files

2011-10-05 Thread Trond Norbye
it from Can this be done? Does memcached use static or dynamic links to libevent? Thanks, Hoping to find a way to use memcached -- Trond Norbye

Re: How to configure (as part of install) memcached against libevent.so files

2011-10-05 Thread Trond Norbye
needs from the libevent installation directory? On Oct 5, 3:34 pm, Trond Norbye trond.nor...@gmail.com wrote: You need to specify the root of your libevent installation, so if you built libevent with: ./configure --prefix=$HOME/my-libevent , you should use --with-libevent=$HOME/my-libevent

Re: genhash

2011-09-27 Thread Trond Norbye
about using it. Cheers, Trond On Tue, Sep 27, 2011 at 10:07 PM, John David Duncan john.david.dun...@gmail.com wrote: (Resending from the gmail account so Google will forward to the list) Hi Trond, commit e70f5ace86dc71a2683b884182fa46**d57965a25a Author: Trond Norbye trond.nor...@gmail.com

Re: Issue 218 in memcached: Mac OS/X install fails

2011-08-27 Thread Trond Norbye
://code.google.com/p/memcached/issues/detail?id=218 ^ have you tried the exact patch that I posted in the issue? Or what exactly did you do to remove the failed test? -Dormando -- Trond Norbye

Re: Issue 218 in memcached: Mac OS/X install fails

2011-08-27 Thread Trond Norbye
I just pushed the following fix to the problem: diff --git a/configure.ac b/configure.ac index 1e3893e..fdb385b 100644 --- a/configure.ac +++ b/configure.ac @@ -247,7 +247,7 @@ AC_CACHE_CHECK([for libevent directory], ac_cv_libevent_dir, [ AS_IF(test $SUNCC = yes -o x$_myos = xsolaris2,

Re: building the memcached on x86 solaris operating system failing

2011-08-26 Thread Trond Norbye
version of memcached. It's not memcached at all. They have their own mailing lists which can actually answer questions about it authoritatively. What's so bad about that? God dammit, -Dormando -- Trond Norbye

Re: link error with libmemcached

2011-08-22 Thread Trond Norbye
2011/8/22 然 安 nuanran...@yahoo.com.cn libmemcached/sasl.c:149: undefined reference to `sasl_client_new' . When I compile my application with a static libmemcached library, a link error with above notice has happened. Can anyone tell me the solution to this problem? Thank you for your reply!

Re: install memcached with libevent?

2011-08-18 Thread Trond Norbye
this by adding: -R/path/to/the/libevent/lib/directory I'm not sure what gcc use, but I think it's something like -Wl,-rpath,/path/to/libevent.so (Google should help you find the correct syntax ;)) Cheers, Trond --- *11年8月17日,周三, Trond Norbye trond.nor...@gmail.com* 写道: 发件人: Trond Norbye

Re: install memcached with libevent?

2011-08-16 Thread Trond Norbye
! -- Trond Norbye

Re: install memcached with libevent?

2011-08-16 Thread Trond Norbye
On Wed, Aug 17, 2011 at 5:29 AM, 然 安 nuanran...@yahoo.com.cn wrote: If I compiled memcached with dynamic libevent library, I must have the libevet library in the correct directory each time when I start the memcached. I can't start a memcached server on the other computer only with the

Re: Can anyone tell me the benifit of libmemcached pool?

2011-08-14 Thread Trond Norbye
restrict some fixed ips to access the memcached servers except using iptables? Because the iptables command needs root permission to execute. Thank you for your reply. This is outside the scope for this mailing list... Trond --- *11年8月12日,周五, Trond Norbye trond.nor...@gmail.com* 写道: 发件人

Re: Can anyone tell me the benifit of libmemcached pool?

2011-08-11 Thread Trond Norbye
for just caching the connection between page calls (i.e. and application running in Apache) On Jul 29, 2011, at 12:45 PM, Trond Norbye wrote: You would use a pool of libmemcached instances in your multithreaded application to avoid initiating, connect, disconnect and destroy each time one

Re: Can anyone tell me the benifit of libmemcached pool?

2011-08-11 Thread Trond Norbye
a libemcached function push it back to the pool } Trond Thank you for your reply. --- *11年8月11日,周四, Trond Norbye trond.nor...@gmail.com* 写道: 发件人: Trond Norbye trond.nor...@gmail.com 主题: Re: Can anyone tell me the benifit of libmemcached pool? 收件人: memcached

Re: Can anyone tell me the benifit of libmemcached pool?

2011-07-29 Thread Trond Norbye
You would use a pool of libmemcached instances in your multithreaded application to avoid initiating, connect, disconnect and destroy each time one of the threads wants to send a request to the memcached cluster. Instead you can get an instance from the pool, use it, and put it back in the pool

Re: memcached

2011-07-25 Thread Trond Norbye
/parameters that should be consulted to get an idea about the cache hit rate? Moreover, the memcached version is 1.2.2 which I understood is buggy. How serious is it and should I trust the output of stats? Thank you, Andrej -- Trond Norbye

Re: memcached

2011-07-25 Thread Trond Norbye
from there? It would be a lot easier for you to figure out if you knew what they used the memcached cluster for ;) It could be that they don't store and fetch the same kinds of objects ;) -- Trond Norbye

Re: Solaris 10 - not thread safe

2011-07-25 Thread Trond Norbye
You should use a more recent version of gcc (or use Solaris studio which is free) I don't think anyone wants to add extra code to support an ancient version of gcc ... Trond On Jul 25, 2011 8:00 PM, Marcin Ochab goo...@horrify.org wrote: Hello, I was compiling memcache 1.4.6 on Solaris 10 (

Re: Tuning memcached on ubuntu x86_64 (2.6.35)

2011-07-21 Thread Trond Norbye
On 21. juli 2011, at 19.16, dormando wrote: Is it normal to have a 16 percent virtual memory overhead in memcached on x86_64 linux? memcached STAT bytes is reporting 3219 megabytes of data, but virtual memory is 16 percent higher at 3834. Resident memory is 14 percent higher at 3763

Re: memcached memory problem

2011-07-20 Thread Trond Norbye
On 20. juli 2011, at 11.02, tony Cui wrote: Hi Everyone, I had a problem. It started like this.I modified the memcached source, when memcached runs out of memory, it tries to remove some old items to make more space, I found the method named do_slabs_alloc in the

Re: problem with compiling 1.6 beta on Windows

2011-06-28 Thread Trond Norbye
From a clean repo with: make -f win32/Makefile.mingw Cheers, Trond On 28. juni 2011, at 09.58, Rafal Likus wrote: Ok, I downloaded latest MSysGit, and MinGW, both gives the same result. I downloaded official beta and latest snapshot of Memcached. Copied m4/version.m4 from official beta

Re: memcached debugging/profiling

2011-06-03 Thread Trond Norbye
On 3. juni 2011, at 15.07, Maksym Melnychok wrote: Hi, are there any good tools to debug/profile memcached production setup without interrupting it? i'm specifically interested in top key misses and slow queries thanks in advance! You may use dtrace if you're running on Solaris

Re: Idle connection removal

2011-06-02 Thread Trond Norbye
There is no such logic in the server today. Cheers, TrondTrond On Jun 2, 2011 10:03 PM, Prasad pspha...@gmail.com wrote: Hello, I was wondering if there is a memcached server side option that allows the server to check and remove client connections that have been idle for a certain period.

Re: information on -b option to set the backlog limit

2011-05-25 Thread Trond Norbye
On 25. mai 2011, at 08.40, ktechie wrote: Thanks for the reply. Sorry that I used the connection and request interchangeably. Let me put the questions as : If I keep max connection as 2048 and the backlog queue limit as 2048 then how does this differ say in performance from setting

Re: -r option maximeize core file limit

2011-05-25 Thread Trond Norbye
a core file is used to track down bugs in your program. You should check out the man page for core (man core) Trond On 25. mai 2011, at 08.41, ktechie wrote: Can I get some help on this parameter On May 22, 10:09 am, ktechie kirandoshitec...@gmail.com wrote: One of the memcached

Re: lock-free counter updates

2011-05-24 Thread Trond Norbye
I remember discussing this with Dustin back when I added the threadlocal counters. Back then I suggested that we would just do dirty reads of the counters used by the other threads, but we decided that we could might as well do it the safe way and fix it if it ever popped up with lock

Re: can I get a reality check?

2011-05-16 Thread Trond Norbye
On 15. mai 2011, at 11.50, Mark wrote: I'm having problems after installing memcached and reading the ascii protocol documentation so I have to ask here can someone tell me what's wrong? # telnet localhost 11211 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. set

Re: can I get a reality check?

2011-05-16 Thread Trond Norbye
https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L127 then after describing all of the parameters you'll get the: https://github.com/memcached/memcached/blob/master/doc/protocol.txt#L184 Trond

Re: Ynt: Re:Ynt: Re: Can not delete an existing value

2011-04-29 Thread Trond Norbye
On 28. apr. 2011, at 10.00, ilkinulas wrote: We are experiencing this strange problem on Solaris 10 (sparc) platform. cat /etc/release Solaris 10 10/09 s10s_u8wos_08a SPARC Copyright 2009 Sun Microsystems, Inc. All Rights Reserved.

Re: Memcached Request Log

2011-04-14 Thread Trond Norbye
the stats to determine that? There is a stat for get hits and get misses (and for the other commands)... Or do you need the actual key in the request? You'll get more info from the memcached server if you bump it's verbosity (add a -v or two), but it will also print other stuff.. Cheers, Trond

Re: What's new in memcached (part 2)

2011-04-12 Thread Trond Norbye
release. Passes tests on a bunch of platforms, but possibly not OpenBSD. I've fixed that bug. See: https://github.com/memcached/memcached/commit/cc3941084188195fc8b43fcdc05cec3dab5a4bd4 Cheers, Trond Make evaluating! Give major feedback. -Dormando On Mon, 11 Apr 2011, Trond Norbye

Re: What's New in Memcached? (part one)

2011-04-12 Thread Trond Norbye
On 12. apr. 2011, at 11.24, Henrik Schröder wrote: On Mon, Apr 11, 2011 at 17:26, Trond Norbye trond.nor...@gmail.com wrote: We're using mingw right now... The problem is that we don't have another compiler with C99 support on windows for the moment (or at least none that I'm aware

Re: What's New in Memcached? (part one)

2011-04-12 Thread Trond Norbye
On 12. apr. 2011, at 14.34, Henrik Schröder wrote: Both are 1.4.4, but the top one includes a libgcc dll and a mingw dll, and the bottom one doesn't. And since the bottom one doesn't, I assumed it wasn't built using mingw, but some other method that still links in the pthread dll. But if

Re: What's New in Memcached? (part one)

2011-04-11 Thread Trond Norbye
On 11. apr. 2011, at 17.03, Henrik Schröder wrote: Awesome! Quick question: How are you compiling on windows? Mingw? Or some other solution? We're using mingw right now... The problem is that we don't have another compiler with C99 support on windows for the moment (or at least none

What's new in memcached (part 2)

2011-04-11 Thread Trond Norbye
What's new in memcached === (part two - new feature proposals) Table of Contents = 1 Protocol 1.1 Virtual buckets! 1.2 TAP 1.3 New commands 1.3.1 VERBOSITY 1.3.2 TOUCH, GAT and GATQ

Re: Build errors on engine-pu

2011-03-28 Thread Trond Norbye
I pushed the following: commit 7abbc666e9625ac39305e2e801e55ca195634f36 Author: Dustin Sallings dus...@spy.net Date: Sun Mar 27 12:51:08 2011 -0700 Supress fwrite wur in mcstat. mcstat pulls statistics from memcached and writes them to stdout. Recent versions of glibc have a

Re: Implementation of CHECK command for memcached

2011-03-18 Thread Trond Norbye
On 18. mars 2011, at 13.41, Adam Lee wrote: Is it also your intention to have CHECK with an expiration act as a sort of touch command? I pushed a binary TOUCH command a while back for the upcoming engine branch (in addition to a get and touch). The touch command is used to update the

Re: libmemcache linking error in application compilation

2011-03-12 Thread Trond Norbye
bit processes on a 64 bit OS, so you can choose whatever you want. You could alternatively build your own application as a 64 bit application as well. Cheers, Trond Regards, Rahul On Mar 12, 11:28 am, Trond Norbye trond.nor...@gmail.com wrote: You should try building a 32 bit

Re: libmemcache linking error in application compilation

2011-03-12 Thread Trond Norbye
application as well. How can i build my application as a 64 bit Regards, Rahul On Mar 12, 10:56 pm, Trond Norbye trond.nor...@gmail.com wrote: On 12. mars 2011, at 09.47, Maddy wrote: As i said in my 2nd post that the OS is 64 bit. Also -disable-64bit will only disables libmemcache

Re: libmemcache linking error in application compilation

2011-03-12 Thread Trond Norbye
On 12. mars 2011, at 11.00, Maddy wrote: Yea i am doing that. I also tried by taking fresh source. Still getting same error. Looks like there is something wrong with the flags to dtrace.. try add --disable-dtrace Trond Please suggest On Mar 12, 11:37 pm, Trond Norbye trond.nor

Re: libmemcache linking error in application compilation

2011-03-11 Thread Trond Norbye
You should try building a 32 bit libmemcached by adding --disable-64bit to configure (and remove the amd64 part from -L when you try to link your library) Cheers, Trond On 11. mars 2011, at 19.49, Maddy wrote: Hi, I have a requirement to maintain master master replication over 4 nodes and

Re: Multiport support

2011-03-01 Thread Trond Norbye
On 1. mars 2011, at 10.42, Jaime Medrano Navarro wrote: That syntax is ok for me, but you're missing the most important part of my patch: change the mapping between udp sockets and threads. Sorry, I forgot that part ;) I'll add it. Cheers, Trond If only one port is provided, we

Re: Multiport support

2011-03-01 Thread Trond Norbye
On 1. mars 2011, at 15.30, Guille -bisho- wrote: As Jaime pointed out, the main purpose of the patch is not make more flexible how memcache listen on ports, but when using udp be able to use 32 consecutive ports with one thread per port listening to get huge improvements in performance, less

Re: Where do I find the invalid characters for a memcached key?

2011-02-10 Thread Trond Norbye
On 10. feb. 2011, at 21.18, dormando wrote: Or wiki - protocol/commands (two clicks!) though the key stuff should be repeated at the top there (just fixed that). Probably should be repeated somewhere else too, which we'll improve next time. The wiki says that only space

Re: REMOVE ME

2010-12-07 Thread Trond Norbye
I got an error when I executed the command.. 'No such file' Should I run the command as root? Trond ;) Sent from my iPhone On 8. des. 2010, at 07:31, Eric Lambert eric.d.lamb...@gmail.com wrote: On 12/7/10 9:59 PM, pravesh suyal wrote: rm -rf pravesh

Re: Issue 175 in memcached: Memcached installation problems

2010-12-03 Thread Trond Norbye
There is an option to configure you may use to disable the generation of that documentation. I don't remember exactly, but I guesss it's something like --disable-docs. Running configure --help should tell you... Cheers, Trond On 4. des. 2010, at 08.06, memcac...@googlecode.com wrote:

Re: Missing Slab ID in item stats ?

2010-11-16 Thread Trond Norbye
On 16. nov. 2010, at 12.42, kiran- wrote: Hi, I'm not sure if I'm overlooking anything but I think the item stats seem to be missing for one of the slab IDs. Here are the stats ( Item Stats are missing for slab 16) stats items will skip the class if the slab class doesn't contain any

Re: Invalid configuration when doing configure

2010-11-16 Thread Trond Norbye
On 15. nov. 2010, at 01.56, Abioy Sun wrote: maybe you need to have libevent preinstall? 2010/11/15 Steven Veneralle stevenvenera...@gmail.com cool got it but I get this error memcached: error while loading shared libraries: libevent-1.4.so.2: cannot open shared object file: No such file

Re: 1MB limit on object size

2010-11-10 Thread Trond Norbye
On 10. nov. 2010, at 16.21, Abhilash wrote: Hi Dustin, thanks for the quick response. Please see my comments below. You've really gone out of your way to run it as root. Why is it so important to you to do that? I think it's a rather awful idea. Can you please suggest the best way to

Re: Test failing using Sun Studio 11 compiler on 5.10 sparc

2010-11-10 Thread Trond Norbye
On 2. nov. 2010, at 10.36, nooby wrote: Hi, I got memcached 1.4.5 to compile however the following test failed: Assertion failed: response-message.header.response.status == status, file testapp.c, line 823 *** Signal 6 - core dumped make: Fatal error: Command failed for target `test'

Re: compiling memcache without threads on multi-core system

2010-09-22 Thread Trond Norbye
The last thread is the thread running the clock and accepting new connections. Cheers Trond Sent from my iPhone On 22. sep. 2010, at 16:50, Paul Lindner lind...@inuus.com wrote: memcache only compiles in a threaded mode these days. The docs are out of date. The 5th thread you see is

Re: listen to multiple IPs(clients)

2010-09-16 Thread Trond Norbye
On 16. sep. 2010, at 20.44, ligerdave wrote: Folks, I would like to set my memcache instance to listen to only a list of given IPs. I know you can specify an IP/interface by using -l 127.0.0.1. Is it possible to do something like this: -l ip1,ip2,ip3 I was trying to find its source

Re: listen to multiple IPs(clients)

2010-09-16 Thread Trond Norbye
On 17. sep. 2010, at 00.57, ligerdave wrote: so is it possible to use -l ip1,ip2,. ? No, you asked for where in the code it used the -l argument, and memcached does currently not tokenize the argument to -l. Cheers, Trond

Re: Version 0.43 Release for libmemcached

2010-07-29 Thread Trond Norbye
On 29. juli 2010, at 18.42, Brian Aker wrote: * Prelimanary support for Windows. I wrote a small blog post at http://trondn.blogspot.com/2010/07/libmemcached-on-win32.html for those of you who want to try out the Windows version. Cheers, Trond

Re: memcached with access controls

2010-07-22 Thread Trond Norbye
On 07/22/10 02:38 AM, KaiGai Kohei wrote: BTW, I have noticed a few symbols are not available unexpectedly when I've been under development. 1. create_instance() of the default_engine.c is not available, even if --enable-default-engine was provided. 2. safe_strtoull() of the util.c is not

Re: [PATCH] to make memcached drop privileges completely when running as root

2010-07-20 Thread Trond Norbye
Why do you remove the ability for the user to specify the username it should run as, and instead hardcode it to run as _memcached ?? In addition this patch require /var/empty to exists, and I know of a number of platforms that don't have a /var/empty directory... Just my 0.5NOK Trond On

Re: I get 'Could NOT connect to memcache server' sometimes even when server is up

2010-07-11 Thread Trond Norbye
On 11. juli 2010, at 22.49, Snehal Shinde sne...@gmail.com wrote: In my PHP code I am using the correct port number as shown below: $mResult = $this-cache-connect($my_ip,11234); That's different from 12345. Trond if($mResult===false) {

Re: Get Null object from Memcached

2010-05-31 Thread Trond Norbye
On 31. mai 2010, at 15.07, Adeel Nasim wrote: Please let me know how to on debug mode? i am running memcached client in verbose mode memcached -VV and it doesn't show any error. That is the server, not the client. Trond

Re: Sample C code for beginner

2010-05-19 Thread Trond Norbye
Did you look at the documentation for the functions? Trond Sent from my iPhone On 19. mai 2010, at 15.38, ram ramprasad...@gmail.com wrote: The problem is I find all these offset,initial etc very cryptic. Can I set them all to 0 On May 18, 3:29 am, Dustin dsalli...@gmail.com wrote:

Re: Global Lock When Getting Stats?

2010-05-13 Thread Trond Norbye
On 13. mai 2010, at 22.46, Tim Sneed wrote: I was watching a Memcached video spoken by John Adams when I heard something that made me curious. When one gets stats from memcached, does it really perform a global lock? Does anyone have any good test cases on what sort of impact there is with

Re: building a statically linked version of memcached

2010-04-19 Thread Trond Norbye
The configure fails on this: LIBS=-lrt LDFLAGS=-static ./ configure --with-libevent=/home/hduin/ots/libevent-1.4.13-build Oh well, I got the static build! Harry On Apr 16, 2:38 pm, Trond Norbye trond.nor...@gmail.com wrote: On 16. apr. 2010, at 10.48, Harry Duin wrote: After adding -lrt I

Re: memcached limitation

2010-04-19 Thread Trond Norbye
On 19. apr. 2010, at 13.44, Darvin Denmian wrote: Hello, I'm using memcached just to centralize my php session, for a while,but when I look this graph I realy don't understand why memcached stabilized at ~378MB. You should try to telnet to your memcached server on port 11211 and type in

Re: building a statically linked version of memcached

2010-04-16 Thread Trond Norbye
On 16. apr. 2010, at 06.27, Harry Duin wrote: I want to build a statically linked version of memcached, but am not able to accomplish this. I got the dynamically linked version to build right away. To get the static build, I did this: 1. configure

Re: building a statically linked version of memcached

2010-04-16 Thread Trond Norbye
:245: undefined reference to `event_base_loop' collect2: ld returned 1 exit status On Apr 16, 10:59 am, Trond Norbye trond.nor...@gmail.com wrote: On 16. apr. 2010, at 06.27, Harry Duin wrote: I want to build a statically linked version of memcached, but am not able to accomplish this. I

Re: A few ideas of engine framework

2010-04-13 Thread Trond Norbye
On 13. apr. 2010, at 01.35, KaiGai Kohei wrote: I changed the signature for the existing get_info call to allow the engine to return an arbitrary number of features it support. If I remember correctly from your proposal you proposed this as a bitmask? Since this isn't going to be part of

Re: A few ideas of engine framework

2010-04-13 Thread Trond Norbye
On 13. apr. 2010, at 01.17, KaiGai Kohei wrote: Rather than the server API to inform maximum number of fragments, it seems to me the get_item_info() should provides total number of fragments in the specified item, and the memcached core calls engine api to set up an iovector of the

Re: A few ideas of engine framework

2010-04-13 Thread Trond Norbye
On 13. apr. 2010, at 17.54, KaiGai Kohei wrote: Example) typedef enum { ENGINE_FEATURE_CAS = 0, /** has compare-and-set operation */ ENGINE_FEATURE_PERSISTENT_STORAGE, /** has persistent storage support */ ENGINE_FEATURE_SECONDARY_ENGINE,/**

Re: A few ideas of engine framework

2010-04-12 Thread Trond Norbye
On 12. apr. 2010, at 02.18, KaiGai Kohei wrote: Are you saying the data fragments are not necessary to be placed on the continuous region in physically? If so, it seems to me allocate() method needs to be revised to take an arguments to indicate the number of fragments (with their lengths)

Re: A few ideas of engine framework

2010-04-12 Thread Trond Norbye
On 1. apr. 2010, at 22.31, KaiGai Kohei wrote: $ git diff origin/reworks_2 origin/reworks_3 - It adds the 'features' field at engine_interface structure, to inform what features are supported by the loaded module. I couldn't see this branch anymore, but I pushed a proposal for this

Re: A few ideas of engine framework

2010-04-07 Thread Trond Norbye
On 4. apr. 2010, at 17.37, KaiGai Kohei wrote: $ git diff origin/reworks_1 origin/reworks_2 - It adds item_get_nkey() and item_get_ndata() engine APIs, to inject security attribute as a part of values by intermediation modules (such as bucket or selinux). What is the primary

Re: A few ideas of engine framework

2010-04-04 Thread Trond Norbye
On 2. apr. 2010, at 07.31, KaiGai Kohei wrote: (2010/04/02 11:29), Dustin Sallings wrote: Can you submit this as a series of independent changes, or perhaps a just put up a repo somewhere? We appreciate the work, but we'll need to break it up into consumable chunks.

Re: A few ideas of engine framework

2010-04-02 Thread Trond Norbye
I'm currently up in the mountains at our cabin without my computer. I'll look at the patches tomorrow when I get back home. Trond Sent from my iPhone On 2. apr. 2010, at 07.31, KaiGai Kohei kai...@ak.jp.nec.com wrote: (2010/04/02 11:29), Dustin Sallings wrote: Can you submit this as a

Re: error on make test

2010-03-18 Thread Trond Norbye
On 18. mars 2010, at 17.09, hejsan wrote: Failed to connect socket: Connection timed out testapp: testapp.c:1722: test_issue_101: Assertion `fds[ii] 0' failed. make: *** [test] Aborted What is failing here? A more desciptive error message would really help. It failed to connect to

Re: Any plan for libev support?

2010-02-20 Thread Trond Norbye
Then I guess the answer is no, because memcached is BSD... Trond Sent from my iPhone On 20. feb. 2010, at 16.23, Ryan Chan ryanchan...@gmail.com wrote: On 2月18日, 下午11時27分, Paul Lindner lind...@inuus.com wrot e: I didn't see any mention of the license. libevent is bsd, which

Re: Any plan for libev support?

2010-02-20 Thread Trond Norbye
'retain the copyright notice' license, with the GPL permitted as an alternative. Trond Norbye wrote: Then I guess the answer is no, because memcached is BSD... Trond Sent from my iPhone On 20. feb. 2010, at 16.23, Ryan Chan ryanchan...@gmail.com wrote: On 2月18日, 下午11時27分, Paul Lindner lind

Re: Any plan for libev support?

2010-02-20 Thread Trond Norbye
with libevent, and from my performance measurement on memcached I haven't seen libevent as a pain point.. Cheers, Trond Vijay Sent from my iPhone On Feb 20, 2010, at 2:05 PM, Trond Norbye trond.nor...@gmail.com wrote: Ok, I didn't read the license link myself ;-) Changing

Re: Memcache fails after few millions of hits - how to debug it?

2010-02-17 Thread Trond Norbye
What is your memcached version? Are you using persistent or single-shot connections to the memcached server? You could also look at the socket state on your servers with netstat etc)) Cheers, Trond On Feb 17, 2010, at 9:48 AM, Niro wrote: I'm running an EC2/Scalr small app instance with the

Re: memcached and access control

2010-02-09 Thread Trond Norbye
On Feb 9, 2010, at 6:07 PM, Dustin wrote: On Feb 9, 12:46 am, KaiGai Kohei kai...@ak.jp.nec.com wrote: I expected --enable-default-engine allows to link default_engine in static. It should (did last time I tried it). I'm not sure what issue you're having with that. Just a wild guess

Re: memcached and access control

2010-02-06 Thread Trond Norbye
On Feb 5, 2010, at 3:28 AM, KaiGai Kohei wrote: I have one more point to be issued here. Memcached protects an item from concurrent updates using mutex lock (cache_lock) in store_item. The store_item() acquires a mutex lock during do_store_item(), so all the updates operations shall be

Re: [OT] Re: memcached and access control

2010-02-06 Thread Trond Norbye
On Feb 5, 2010, at 3:40 AM, KaiGai Kohei wrote: (2010/02/04 18:32), Toru Maesaka wrote: Hi! Thanks for your proof of concept. From observing your patch, you should be able to develop this as an engine once we make changes to the modular engine subsystem based on your feedback. Your

Re: Problems with binary protocol and memcached PECL extension

2010-01-06 Thread Trond Norbye
libmemcached and PECL memcached extensions installed. Thanks! Jay -- Trond Norbye

Re: Problems with binary protocol and memcached PECL extension

2010-01-06 Thread Trond Norbye
Try running your server from a console and add -vvv to the command line. Does ti print out any progress? On Wednesday, January 6, 2010, Jay Paroline boxmon...@gmail.com wrote: 1.4.4 On Jan 6, 5:07 pm, Trond Norbye trond.nor...@gmail.com wrote: What server version are you using? Trond

Re: ARM CPU and alignment issues.

2009-12-26 Thread Trond Norbye
After moving around elements of the structures I found there are some savings that can be achieved. Here's a diff of original vs optimized size: size of struct slab_stats = 56 -size of struct stats = 160 -size of struct settings = 112 +size of struct stats = 152 +size of

Re: Issue 117 in memcached: memcached 1.4.4 segfaults error 6 on CentOS 5.4 kernel2.6.18-164.9.1.el5 64bit

2009-12-24 Thread Trond Norbye
received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings -- -- Trond Norbye

Re: Slow connection and slow response time from memcached server

2009-11-18 Thread Trond Norbye
On 18. nov.. 2009, at 17.29, Carlos Alvarez wrote: On Mon, Nov 16, 2009 at 6:04 PM, dormando dorma...@rydia.net wrote: Are you using large multigets at all? Please forgive me if I am wrong, I am just a newbie. Looking at the code (libmemcached), I understand that large multigets of small

Re: Slow connection and slow response time from memcached server

2009-11-17 Thread Trond Norbye
On 11/18/2009 01:27 AM, head wrote: STAT curr_connections 2989 STAT total_connections 75315 Switch to pooled connections instead of making new ones all the time. /Henrik Schröder do you mean pconnect? of course we are using pconnect :) No. you should reuse the connection

Re: Windows 2003 64 Bit memory utilization?

2009-11-04 Thread Trond Norbye
On 11/04/2009 08:48 AM, David H. wrote: proliferation of stale Win32 ports that currently exists. I notice that VC9 is lackingstdbool.h andstdint.h. These are not show- stoppers. If that is the only problem I don't see any problems of moving the include of those two headers to config.h..

Re: Windows 2003 64 Bit memory utilization?

2009-11-04 Thread Trond Norbye
On 11/04/2009 09:00 AM, Trond Norbye wrote: On 11/04/2009 08:48 AM, David H. wrote: proliferation of stale Win32 ports that currently exists. I notice that VC9 is lackingstdbool.h andstdint.h. These are not show- stoppers. If that is the only problem I don't see any problems of moving

  1   2   >