search for: ruby_sess

Displaying 20 results from an estimated 39 matches for "ruby_sess".

2005 Feb 22
2
RE: Relocating the directory for ruby_sess.* files
...reset_session Thanks Massimo > -----Original Message----- > From: Dave Ringoen [mailto:email-aMBdsrFCgW+KfZpkr/XK+Q@public.gmane.org] > Sent: 19 February 2005 01:21 > To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: [Rails] Relocating the directory for ruby_sess.* files > > Is there a way to relocate where ruby_sess.* files get written? > > In the PHP world, we''ve used an NFS mount for session files, to aid in > clustering. Is anyone doing this with Ruby? > > On a related note, I''ve been trying to get Apache FCGI w...
2006 May 12
3
Permission denied ruby_sess?
I am really new to RonR. Anyone can give me a hand with this? I get the Application Error page and if I look at development log, this is what I see: Permission denied - /home/john/public_html/rails/myapp/public/../config/../tmp/sessions//ruby_sess.5b90dd63b9d25d2e Any idea? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060512/2c04bce5/attachment-0001.html
2006 Aug 02
4
Disc quota exceeded when attempting to write session
Hi All, When trying to write sessions file, I''m getting disc quota errors. Looking into the sessions folder, I see: -rw------- 1 www www 188 Aug 2 21:03 ruby_sess.d39a2c77b4750b72 -rw-r--r-- 1 www www 0 Aug 2 21:03 ruby_sess.d39a2c77b4750b72.tmp I''m guessing the the tmp should not be there, as it does not show on my dev setup. I''m using rails (1.1.1) on FreeBSD, without quotas enabled (I checked with Verio tech support) and amp...
2005 Dec 17
9
How to clear sessions with cron?
Anyone got a quick code snippet I can add to my crontab? Since Rails doesn''t do any housekeeping, my /tmp directory just keeps getting fatter and fatter. I found this useless snippet in the Agile book: find /tmp/ -name ''ruby_sess*'' -ctime +12h -delete Fedora Linux complains about the ''h'' in 12h, then if you remove the ''h'' he complains about the ''-delete'' part too which doesn''t even seem to exist in the man page for find. Anyone got a snippet that ac...
2005 Dec 19
7
How about a forked session supervisor in dispatch.fcgi?
I was talking to a friend of mine who''s developing PHP on trax and we came up with a solution to the ruby session file problem. I''m not sure if this idea has come up before, so I wanted to run it by everyone before making any code contributations and/or talking to the Rails core about it. It seems to me that the current situation we''re in with regard to
2006 Apr 27
4
Sessions Problems
Hi to group! I am new to ROR! I am facing problems on sessions. First I created the one session variable. after that I created the other one. after moving to three pages the session was destroyed automatically. What is the reason please help me! Thnaks and Regards, -Kumar Varma -- Posted via http://www.ruby-forum.com/.
2005 Dec 18
1
session temp files?
I''m running a simple WEBrick server for a small rails website. I probably get less than 100 hits per hour. I just looked in /tmp on the server and there are over 10,000 ruby_sess.* temp files containing: " hash{" flashIC:''ActionController::Flash::FlashHash{: @used{ They''ve piled up so much that I can''t even rm -f ruby*. Bash complains "argument list too long" How do people typically clean these up? A cron job? C...
2007 Nov 16
2
strange Mongrel 500 error
Hi, When I start mongrel as a non root user, I will get an 500. In my log/production.log I see this: file /home/paul/rails/Test/releases/20071115232111/tmp/sessions// ruby_sess.9a975fe464a2f6ba not readable ... when I start mongrel as root everything works fine. Can anyone imagine whats up there? Thanks in advance, Paul PS: is it a bad idea to run mongrel as root? (security etc.) --~--~---------~--~----~------------~-------~--~----~ You received this message because y...
2006 Aug 16
5
too many SESSIONS?
I just notices my app was down, and in the log file were lots of these: No space left on device - ../config/../tmp/sessions//ruby_sess.898b1cf95e14f8e3 So i figured that i had too many sessions. I went through and deleted the sessions and then in a few minutes, the site was back up again. Can anyone explain this? Did I do the right thing? Is there a way I can tell my app to accept more sessions? clean up after Xmb? thanks!...
2006 Jun 20
3
Maintaining same session for a user across different PCs
Hi, I''m trying to make a simple shopping cart, where I want to maintain state when a use logs in from different location. Consider the following : 1. ''foo'' logs in from home pc and add ''bar'' item to the cart. 2. ''foo'' goes to office and logs in from office PC. 3. Now I want only one session for ''foo'', so that when
2006 Aug 10
2
Permission denied
Hi to all. I''m a newbye, and this is my first contact with list. I have installed ruby and rails. My ruby local home page works, but development.log tell me "Permission denied - /var/www/html/rubyapp/../config/../tmp/sessions//ruby_sess.e2677250ed380e4c " what''s happen? I think permission rights are ok (simlink towards public are root|root with 777). Someone can help me please ? Thank''s in advantage. -- bye by fellons
2006 Jun 22
1
Problem integrating rails into apache
...cipe/list gives me Application error Change this error message for exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code) in public/500.html An error appears in development.log about Operation not permitted - /web/rails/cookbook/public/../config/../tmp/sessions//ruby_sess.2e1330f3de760fc2 /usr/lib/ruby/1.8/cgi/session/pstore.rb:72:in `chmod'' etc.. The complete error log and all configuration stuff can be found on http://smokeyd.homelinux.com/tmp/rails.html I hope someone can help me figure this out. Thanks! -- Posted via http://www.ruby-forum.com/.
2006 Feb 23
2
lighttpd and blank page
Hi all: I have been using lighttpd on os x with RoR. It normally works great, however, when I use it for one project, kill the process, then switch to another project and start up using ./script/server, all I get is a blank page. No errors or html. The only solution I have found so far is to restart my machine, but that seems terribly inneficient. How does everybody else handle this, or do you
2008 Feb 09
1
how to check the config.action_controller.session options ?
...'' } I cannot get it back in the script/console .. :session_key=>"_session_id" !!! why ? >> ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS => {:session_key=>"_session_id", :cookie_only=>true, :session_path=>"/", :prefix=>"ruby_sess.", :database_manager=>CGI::Session::CookieStore, :tmpdir=>"/Users/myself/tmp/sessions/"} how can get back the :session_key and :secret in my controllers ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this messa...
2005 Jul 14
1
No locks available... help wanted!
...+ ruby on rails 0.13 + lighttpd + fastcgi. After searching google, I can''t find anything helpful that relates to the errors I am getting. I can''t find any reports from others about Ruby (or filelocking) problems either. All obvious thinks like restarting server, deleting /tmp/ruby_sess* etc. is done without result. The filesystem is ext3. Any indication on what may be causing this is greatly appreciated. Thank you, Tiele <snip from production.log> Processing InscriptionController#new (for 84.194.118.193 at Sat Jul 09 16:24:16 UTC 2005) Parameters: {"action"=...
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'' /usr/lib/ruby/1.8/cgi/session/pstore.rb:71:in `initialize'' /usr/lib/ruby/1.8/cgi/session.rb:273:in `initialize'' /usr/lib/ruby/gems/1.8/gems/actionpac...
2005 Dec 15
4
CGI and FastCGI problems
I can''t my rails app to work with cgi or fastcgi. My app works using webrick. I''ve even hard-coded development mode in environment.rb in order to get most descriptive messages, but the best I get is the following in the apache2 errorlog: [Thu Dec 15 10:38:04 2005] [error] [client x.x.x.x] FastCGI: incomplete headers (35 bytes) received from server
2006 Jun 22
4
Can I peek at all "active sessions"?
My users need to login to run the app I''m building. I''d like to give them an "Other users currently active:" piece of information. I could track it myself in the database based on login/logout, but that doesn''t really count for people just leaving the computer logged in and never coming back. Does Rails have an API for me to monitor sessions and take a
2005 Dec 29
3
Blank pages, ''missing default helper path rails_info_helper''
Environment: * OS X 10.4.3 * Ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0] * Rails (1.0.0, 0.13.1) * WEBrick 1.3.1 * Following the wiki directions, I did the OSX fixrbconfig thing, installed Rails, MySQL, etc.. Please bear with me, I''m new to Rails. I successfully followed the ''depot'' application from the Agile Web Development with Rails book, building it piece by
2006 May 03
8
Subversion and tmp directory in Rails 1.1 project
Hello everyone! I''m thinking of the right way to store tmp/ directory of Rails 1.1 project in Subversion. It has cache, session and sockets subdirectories. To me, it looks good to have svn delete tmp/* svn propset svn:ignore "*" tmp So it will ignore all directories and files in tmp/. Even if you create sessions/ and put some files in it, tmp/ content is still ignored. But