similar to: strange Mongrel 500 error

Displaying 20 results from an estimated 20000 matches similar to: "strange Mongrel 500 error"

2007 Dec 14
18
Mongrel error : EMFILE too many open files
I have a periodically_call_remote call in a partial running at 0.20 times a second. <%= periodically_call_remote(:update => ''ack_distance_output'', :frequency => 0.2, :url=>{:action => :ackAdjustDistance}) %> the action looks like this def ackAdjustDistance @calMessage = Calibration.getMessage
2005 Feb 22
2
RE: Relocating the directory for ruby_sess.* files
Please, someone can tell me where session data are stored on Windows, using Webrick in its default configuration? After storing an object into @session, I initially can access only the controller that has stored the object. Otherwise, the html page displays "Not found" and the Webrick console displays: #<ActionController::SessionRestoreError: Session contained objects where the
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)
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:
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
2007 Feb 02
6
Mongrel and MemcacheSessionStore
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hey, I''ve been using Mongrel for quite some time now but I ran into an issue that threw me back to lighttpd + fastcgi. The application in question was running fine in the production environment with SQLSessionStore and using a mongrel cluster behind a load balancer. However, by switching to a MemcacheSessionStore (using either
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
2006 Aug 04
2
anyone experience problems with mongrel and sessions?
I''ve moved an application that was running under apache2/fcgi to apache2/mongrel(mod_proxy). under the original setup i had no problems with sessions. now under mongrel, the users are experiencing application errors. after looking at the logs, I am seeing that a piece of code that relies on a session variable is what is causing the error. It seems that the session variable no longer
2006 Feb 18
3
Mongrel 0.3.5 -- Rails/CGI Actually Works
This release of Mongrel features a CGIWrapper that actually works. The previous code was complete garbage so this one should fix the problems with sessions, cookies, and content-types people reported previously. There is also now a correctly built Win32 gem created by Luis Lavena. Luis joined the Mongrel project and will be working on the Win32 specific gear needed. His first thing is going to
2006 Sep 01
1
session caching in mongrel
Is there some kind of caching of session data in mongrel? What is the best way to get mongrel servers within a cluster to always keep their sessions synced? -- Jared Brown jaredbrown at gmail.com (765) 409-0875 7001 Central Ave Indianapolis, IN 46220 -------------- next part -------------- An HTML attachment was scrubbed... URL:
2008 Mar 18
1
Running multiple mongrel to "serve" the same rail application with active scaffold
Hi, I want to run more then one mongrel for the same rail application on the same machine, using the same rails files. This application use "active scaffold" when I start one mongrel some files are writes in the public/plugin_assets/ folder. If I start more then one mongrel it is possible these files become scrambles ?, there is also some files in tmp/{cache,pids,sessions ,sockets,
2007 Mar 12
2
Mongrel on Windows Server 2003 Results in 500 Errors
Ok, here is the situation: I need to run a mongrel server on windows server 2003. The application it will be serving is an application that is frozen to rails 1.1.6. We''re using mongrel 1.0 as the web server. Every 10th request (random, sometimes more sometimes less), either called through ajax or as a normal page request... dies with a 500 error. No logs are available anywhere, as far
2006 Aug 01
11
strange bugs while using mongrel, while running in development (and also sometimes in production mode)
Following errors are taken from monrgrel running in development mode. It complained routes.rb, no such file or directory and then sometimes i get application.rb, no such file or directory.Doesn''t seem correct to me. Though not so often, but even production servers throw these errors sometimes, and i have no special routes setup or something.Its pretty much default one, except few changes
2007 Sep 07
2
memcached and fragment storage, session storage with a mongrel cluster
Greetings, I posted this not on the Rails mailing list and didn''t get a definitive response so I thought I''d post it here, since I figure lots of you are using mongrel with Rails apps. Any suggestions would be greatly appreciated. I''ve been using file-based fragment caching and DB-based session caching quite extensively. I decided to try out memcached for both to
2006 Jul 24
2
Thread.new with ActiveRecord under Mongrel vs. FastCGI
Hi All, I''m going to end up hosting a site on a server in a fastcgi environment, but I''ve been doing most of my development under mongrel. I have a bit of code that spawns a thread, and in the thread it makes some remote calls (openuri) and does some database inserts via activerecord. When I do this under FastCGI, everything appears to work as expected. When I do it under
2006 Feb 16
9
Mongrel 0.3.4 -- Win32 Gems/Better CGIWrapper
Hello Everyone, Today''s Mongrel is the first release to sport spiffy pre-built win32 gems. This comes thanks to Wilson Bilkovich donating some Rakefile magic that does the stuff for me. Everyone who uses win32 should send Wilson a thank-you since without him you''d be a victim of my laziness for at least a few more weeks. People who are testing and trying Mongrel out should
2007 Apr 23
3
mongrel in production not using AR Sessions
Hello, For some reason when i change the "environments" line in mongrel_cluster.yml to use production, ActiveRecord Sessions stop working. Changing this line to development yield the correct result. Entries in database.yml are correct, and confirmed that the sessions table exists in both environments and that production is indeed working (production.logbeing filled up). Any idea why
2007 Jul 29
4
Mongrel stops responding after period of inactivity
Hi I''m running a 2-instance Mongrel cluster behind Apache 2.2.4 with Rails 1.2.3. If no requests are received by the application for several hours (this usually happens overnight) then Mongrel stops responding and no requests are detected by Rails (at least nothing is in the Rails log). Nothing untoward is in the Mongrel log. If you try and visit the application, the request times out
2008 Mar 13
1
mongrel throwing error 500
Dear Users, Often at times when the code encounters an exception, mongrel starts throwing error 500 (after which most other cluster instances are affected). My queries are - why does an exception in one thread have to affect others? - how can I stop mongrel throwing 500 and start showing me the actual error on the browser (this will make things so much more easier) - Can anyone direct me to
2007 Jan 24
4
Rails App on Mongrel+Apache Stops Listening
Howdy, I''m trying to debug a situation where a Rails app running on Mongrel +Apache stops listening to requests. Restarting Mongrel and Apache brings it back to life. First off, here''s some info on versions, etc...: Red Hat Enterprise Linux ES release 3 (Taroon Update 8) ruby 1.8.5 (2006-12-04 patchlevel 2) [x86_64-linux] Mongrel 1.0.1 Rails 1.2.1 fastthread (0.6.2)