similar to: storing typo sessions in memcache

Displaying 20 results from an estimated 2000 matches similar to: "storing typo sessions in memcache"

2010 Feb 06
4
500 Internal Error
I have on ubuntu a digital library application Kete which gives in the log/production.log: Please help, thnx. /!\ FAILSAFE /!\ Fri Feb 05 19:05:08 +0200 2010 Status: 500 Internal Server Error No connection to server (localhost:11211 DEAD (Errno::ECONNREFUSED: Connection refused - connect(2)), will retry at Fri Feb 05 19:05:38 +0200 2010)
2006 Jul 21
2
mongrel, memcache and sessions
Hi, I''m using mongrel-0.3.13.3 with memcache-client-1.0.3 for storing sessions. It was working fine with actionpack-1.12.0, but when I upgraded to actionpack-1.12.3, I started getting a "can''t convert String into Hash" error from memcache.rb from memcache-client. I was able to fix it by changing the way the MemCache object was created in
2006 Apr 20
12
memcache, sessions, fragments, oh my!
Hi all - I am trying to get rails to use memcache for sessions and fragment caching. I''d also like to use the same connection for general caching of this and that. I''m following the instructions here: http://wiki.rubyonrails.com/rails/pages/HowtoChangeSessionStore and hitting a brick wall. I''m using the new memcache-client since from what I''ve read
2006 Jan 30
0
cached_model-1.0.1 ActiveRecords + memcache
The new version of cached_model features bug fixes and tests! Bugs fixed: Updating a model no longer stores associations into the cache. This could cause strange, hard-to-debug bugs when an invalid set of assocations was retrieved along with a cached model. Reloading a model refreshes the cache. When CachedModel::find can''t understand query params and a single result is
2006 Jan 17
10
ActiveRecord + memcache = cached_model
Courtesy of The Robot Co-op. $ yes | sudo gem install cached_model Or, you can download cached_model and memcache-client (our zippy-fast memcache library, required) from: http://rubyforge.org/frs/?group_id=1266 I don''t have the README posted for making cached_model work online yet, so here it is: = CachedModel Rubyforge Project: http://rubyforge.org/projects/rctools/ == About
2006 Apr 01
3
permission denied creating ruby sessions
My code was working, and I upgraded to Rails 1.1, and it seemed to be working after that, but then I suddenly started seeing the following error: Permission denied - /home/will/office/public/../config/../tmp/sessions//ruby_sess.c7da2e7df8df77df /usr/lib/ruby/1.8/pstore.rb:289:in `initialize'' /usr/lib/ruby/1.8/pstore.rb:289:in `transaction''
2007 Jan 02
1
Recommendation: Stalled Mongrel? Memcache Hates Spaces
Hi Everyone, There''s quite a few of you who have contacted me about Mongrel suddenly stopping. After a lot of investigation, I found that the common thread between all of you is memcache and Eric Hodel''s memcache-client. People who were running this combination would have intermittent pauses and investigating the stalled mongrels showed that memcache-client was waiting for
2006 Nov 04
0
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too Short" error. I havent been able to repeat the error as it seems to happen randomly in my rails program. However, the version of Ruby I''m using already has the file.binmode lines outlined in: http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort. If possible I''d like to avoid switching to active
2008 Jul 15
1
sex expire time for Sessions in memcached
Hi all, I have a problem with expiring sessions in the case with using mem_cache_store. I''ve been using ActiveRecord session store till now and expired them with SQL query. Yesterday I switched to memcache for storing sessions, however I can''t set an expireation period. My current config is this: ======================== memcache_options = { :c_threshold => 10_000,
2006 Aug 26
1
Marshal Data Too Short Error
I am using Ruby 1.8.2 on WinXP and am receiving a "Marshal Data Too Short" error. I havent been able to repeat the error as it seems to happen randomly in my rails program. However, the version of Ruby I''m using already has the file.binmode lines outlined in: http://wiki.rubyonrails.com/rails/pages/MarshalDataTooShort. If possible I''d like to avoid switching to
2006 Apr 05
0
problem upgrading app to RoR1.1
Hi, I need some help when upgrading one aplication made on rails1.0 to rails1.1 I have the application on a debian sarge i upgrade ruby gems to 1.1 and ruby to 1.84 and make an freeze on proyect folder, but when i try to run the application in production mode gave me these errors: [Wed Apr 05 13:49:09 2006] [error] [client 99.5.0.45] file
2007 Mar 01
1
ActiveRecord::StatementInvalid error
When I try to run my webserver in the production environment I just get an application error message. This is all I can find in the log: ActiveRecord::StatementInvalid /usr/lib/ruby/gems/1.8/gems/activerecord-1.15.1/lib/active_record/ connection_adapters/sqlite_adapter.rb:274:in `table_structure'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.4.0/lib/active_support/
2006 Aug 19
3
memcache-client working for anyone?
I''m at the bloody forehead stage, so I figure it''s time to ask. After installing the robot coop''s memcache-client which everyone apparently recommends, it refuses to work because the rails cache.rb is invoking the read() method on the cache, which it _does not have_. Their library has get() and put() but no read() and write() as rails expects. What gives? Is
2006 Jan 20
2
The New Memcache ?
Hey All ! I ended up browsing to Eric Hodel''s blog the other night, and found his entry about the new cache_model and memcache-client. Now, it looks like it''s "officially" out in the open: http://weblog.rubyonrails.com/articles/2006/01/20/caching-models-with-memcached In my application, I''ve been staying away from caching my models, and instead just doing
2006 Nov 04
0
Weird exception
Hiall, I''m currently experiencing with javascript a lot, and I have some pretty messy code trying to handle some realtime validation issues. Although everything pretty much "works alright", i.e. does the right thing but all the time shows "A script on these page seems to be slow ..." dialogue. So my suspicion is that the trouble definitely starts in my code, however,
2006 Aug 04
0
How to make prefix_sessions recognizable?
Hello, i must use prefix to each of my tables for my project right now. Now i''m facing this session stored in table problem. i don''t use rake db:sessions:create, but i use script/generate migration create_myproject_sessions then create_table :myproject_sessions do |t| t.column :myproject_session_id, :string t.column :data, :text t.column updated_at, :datetime end then
2006 Aug 16
3
problems with fastcgi, apache2 and debian sarge
Apache conf: FastCgiServer /var/www/gissmoh.de/public/dispatch.fcgi -initial-env RAILS_ENV=prod uction -processes 5 -idle-timeout 60 <virtualhost 212.87.142.234:80> ServerName www.gissmoh.de DocumentRoot /var/www/gissmoh.de/public CustomLog /var/log/apache2/gissmoh.de/access.log combined SetEnv RAILS_ENV production
2009 Feb 28
0
activerecord-odbc-adapter 2.0 failed to allocate memory
I''m currently trying to connect rails to a legacy SqlServer database. System is windows XP and my attempts to connect with activerecord sql adapter and ADO.rb file failed miserably (I wrote a mail about it before) So it seems like odbc adapter is more recent compared to sql adapter and probably more used. I''m using active_record_store as session store, and probably the first
2010 May 29
0
User Error during memcached integration
Hello, I hope all is well. I am hoping someone can help me with a problem that I am certain is user error? The configuration details below work in all my other environments including integration, development and qa. However, the production servers give the following error: unable to find server during initialization. When I telnet to the memcached box from the server having the problem and run
2006 May 18
1
Unnecessary Gem modules loaded under Rails 1.1.2
All, Rails 1.1.2 Win XP Pro Rubyful Soup 1.0.4 htmltools 1.0.9 I am terribly confused as to what pulling in a gem does with respect to how many modules get loaded at runtime. I am using two gems in my app, Rubyful Soup and htmltools. RubyfulSoup requires one module from the htmltools gem (html/sgml-parser). My app requires the RubyfulSoup gem. When I started my app, something was causing