similar to: Automating memcached startup for my app.

Displaying 20 results from an estimated 10000 matches similar to: "Automating memcached startup for my app."

2009 Feb 18
4
expire_fragment with memcached
Hello all, We know that memcached or memcached-client doesn''t support regex... But It seems it doesn''t support expire_fragment either :/ I''m trying to use expire_fragment with memcached as following : expire_fragment(:controller => ''home'', :action => :list_posts) But apparently it''s not supported by memcached : RuntimeError (Not
2006 Mar 01
4
cached_model and memcache-client slowness
Hi there, I''ve got a Rails app that''s a little unusual in that it maintains a database representation of a filesystem (for an image gallery). Thus, if the filesystem is essentially ''out of date'' then the controller''s list action will end up invoking a model update (which involves a filesystem scan). I''m using sqlite3 as this app will be
2015 Mar 18
0
multiple memcached buckets in CentOS 7
> > > Now, under CentOS 7, I see we have two files controlling memcached under > the new sysctl system. At least, using sysctl is new to me! > > I see we have this file: > > [root at web1:~] #cat /usr/lib/systemd/system/memcached.service > [Unit] > Description=Memcached > Before=httpd.service > After=network.target > > [Service] > Type=simple >
2006 Apr 03
1
Setting up FastCGI for RoR under Apache 1.3.34
All, I have all of the components that I need to install RoR under FCGI for Apache 1.3.34. I have: mod_fcgi 2.4.2 fcgi 2.4.0 (developer''s kit) ruby-fcgi-0.8.6 I am comfortable up to the point of installing mod_fcgi, however, I don''t understand how fcgi and ruby-fcgi will be used by mod_fcgi. How does mod_fcgi connect to fcgi and ruby-fcgi. I assume that there are
2006 Apr 13
4
Apache/fastcgi setup can''t find custom config/*.yml file!
All, Apache 2/FastCGI on Linux My fastcgi config. file is set up to run the "test" RAILS_ENV. When I go to access a view associated with a particular controller, I keep getting a ENOENT (file not found) error on a custom config. file that I am attempting to load. What I can''t figure out is why it can''t find the file. Here''s the code that loads it in my
2014 Aug 19
0
failure building memcached rpm
Hi all, I need to install the latest memcached version (1.4.20) on a number of machines in this environment. There are only rpm's of this app for RHEL 6. But we need to install the latest memcached on a number of RHEL 5 machines. To be specific, they are OEL 5.7 hosts. I've installed all of the developers tools that I would need. But when I go to build the RPM I am getting the
2009 Sep 19
0
memcached-1.4.1 and C4
Hi, Is there someone successfully running memcached-1.4.1 on Centos 4 with centosplus php? I'm trying to use memcached under Centos 4. I can set values fine but 'get' returns: [root at rakosnicek eshop]# php d.php PHP Warning: Memcached::get(): bad type specifier while parsing parameters in /var/www/d.php on line 6 NULL string(7) "SUCCESS" array(1) {
2015 Mar 18
1
multiple memcached buckets in CentOS 7
Hi Alberto, With systemd it will be as easy as creating additional unit files ( one for > each memcached instance) with its corresponding config file. That should > allow to stop / start / restart each memcache instance individually while > also being systemd compliant. Thanks for the info and for the examples. It really does make sense the way you explain it. Thanks for letting me
2015 Mar 18
2
multiple memcached buckets in CentOS 7
Hey guys, OK so I'm pretty familiar with how to edit an init script for memcached so that I can get multiple memcached 'buckets' when starting up the service. The init script would ususally have multiple lines such as these under the start function: # cache_block /usr/local/bin/memcached -d -m 128 -l `hostname -i` -p 11318 -u daemon -c 8172 -v 2>> /tmp/memcached.log
2008 Feb 29
0
Seeking Validation - search web service using memcached
Hi, I''m looking for some validation for some work I''ve done for a client, and I''m open to criticism ("mock me" ? ;^), relevant awareness of similar projects, and alternatives. When I looked around in about September 2007 for a good scalable search solution for Ruby on Rails, I found the choices lacking. Firstly, none of the solutions seemed to have an option
2016 Nov 28
0
CESA-2016:2820 Important CentOS 6 memcached Security Update
CentOS Errata and Security Advisory 2016:2820 Important Upstream details at : https://rhn.redhat.com/errata/RHSA-2016-2820.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) i386: 35812c96c050584a93071cfa04f37afef8d1885a580855d3356db301f6cd87e4 memcached-1.4.4-3.el6_8.1.i686.rpm
2006 Oct 04
2
Capistrano fails to restart Memcached service
Hi. I am using Capistrano for my webapp and after deploy I need to restart memcached service. I am trying to do it with sudo "/etc/init.d/memcached restart" But it does not do it, even if memcached service existed - after deployment memcached service is off. I did some researching and added run "sleep 40" right after sudo command and found that service process existed
2007 Feb 16
1
Starting / stopping background rb when apache starts/stops
Hello - I would like to figure out a way to have backgroundrb start/stop with the same UID that dispatch.fcgi uses, at the same point in time that apache is started/stopped. I see a technique that seems plausable in this archive message: http://rubyforge.org/pipermail/backgroundrb-devel/2007-February/000723.html which addresses the starting aspect, in a lazy fashion. That seems fine,
2016 Sep 16
0
CEBA-2016:1878 CentOS 7 memcached BugFix Update
CentOS Errata and Bugfix Advisory 2016:1878 Upstream details at : https://rhn.redhat.com/errata/RHBA-2016-1878.html The following updated files have been uploaded and are currently syncing to the mirrors: ( sha256sum Filename ) x86_64: f8d7e235d239e587340353b255e6840c8570502c3d5a707545b0ef2f814407f9 memcached-1.4.15-9.el7_2.1.x86_64.rpm
2012 Feb 09
2
python26-memcached on centOS 5.5
Hi, Is anyone here running memcached + python2.6 + django setup on a CentOS 5.5?? Am trying to set one up here and have trouble with the python26-memcached installation. So far i have installed (via yum): 1.python26 2. python26-memcached 3. libevent 4. memcached-devel Now when i try to run `import memcache` from the python2.6 shell i get an ImportError: No module
2012 Nov 09
2
Memcached - replication?
Hi all. I am thinking about installing memcached with replication, I've found http://sourceforge.net/projects/repcached/files/repcached/2.2.1-1.2.8/ but it is for 1.2.8, and for Centos 6.3 memcached is in version 1.4.4. I do not want to use client side "replication" (writing to two memcached nodes at the same time) and haven't found other solution. Are there any good, protocol
2008 Sep 08
0
Memcached dtrace probes
I am currently working on adding DTrace probes we have for Memcached 1.2.5 to the new binary protocol in 1.3 branch. The problem I am facing is that I should have had a new variable into the probe. When we added the probes, all memcached keys would be zeroterminated ascii strings, but in the binary protocol it may not be zero-terminated. So what do I do? According to
2007 Jan 30
0
No reaction from memcached
I''ve been following the instructions here http://nubyonrails.com/ articles/read/716 on how to get started with memcached. Starting up ./script/console production I get at couple of deprecation warnings: <snip> ./script/console production Loading production environment. DEPRECATION WARNING: model is deprecated and will be removed from Rails 2.0 See
2006 Jan 21
3
Fragment caching with Memcached slow?
Hi, I am trying to do fragment caching using :mem_cache_store. However, when I compare it to fragment caching using :file_store, it seems to be a lot slower. Here are the results: uncache Completed in 2.20246 (0 reqs/sec) | Rendering: 2.19891 (99%) | DB: 0.00017(0%) | 200 OK [ http://127.0.0.1/] using file_store Completed in 0.00952 (105 reqs/sec) | Rendering: 0.00702 (73%) | DB: 0.00000(0%)
2005 Dec 16
0
memcached vs regex fragment expiry
Hi, I thought i''d give memcached a try. Installed it all, made the change in environment.rb and it all seems ok. I can telnet to memcached process and manually retrieve the data being cached. However, when I try to expire a fragment using a regex, eg: expire_fragment(%r{forums/recent/.*}) it throws an error: undefined method `delete_if'' for #<MemCache:0x2289968>