search for: motoc

Displaying 8 results from an estimated 8 matches for "motoc".

Did you mean: motor
2007 Oct 12
7
webrick 500 error
Hi, This is my second question on the poor performance of webrick (previously I had a problem with Ajax). I have a somewhat simple Rails application which works just fine, but when I come back to work the next day, the server responds with error 500. It looks like if it is running more than 12 hours, it''ll crap-out. I don''t use CVS (which I read on the web it is a common cause
2007 Nov 04
3
can''t configure mongrel_cluster to start on boot
Hi everyone, I''ve been working with Mongrel, Mongrel_cluster and Apache and it is great. However, I can''t get mongrel_cluster to start at boot time. I followed the instructions from http://mongrel.rubyforge.org/docs/mongrel_cluster.html (On Boot Initialization Setup) and mongrel_cluster does not start after rebooting the machine. I made sure that the shebang line is correct and
2007 Jun 25
3
one more "uninitialized constant" problem
Hi everyone, I''m new to backgroundrb, and I''m trying to get started with a simple example, yet with no success. This is the code that I have in RAILS_ROOT/lib/workers/testing_worker.rb class TestingWorker < BackgrounDRb::Worker::RailsBase def do_work(args) # This method is called in it''s own new thread when you # call new worker. args is set
2007 Aug 09
2
RoR and DRb
Hi, I have a question regarding RoR and DRb. First of all, I tested with simple client/server examples and everything worked as expected. I have the following lines in my environment.rb: DRb.start_service $rem_obj = DRbObject.new(nil, "druby://#{rname}:9001") Since rem_obj is a global variable, I can call it from any controller and the invoked procedure is run on the server. However,
2008 May 08
1
disabling forgery protection
Hi, I have to enable batch uploads to my website with CURL and forgery protection in ApplicationController is standing in my way. I do use the restful authentication plugin and I do call login_required on all actions. Should I keep forgery protection around? Forgery protection only makes sure that the client request has originated from client''s session, right? Is there anything else
2008 Apr 14
2
interesting find: multiple file uploads stopped on Linux
Hi, I came across something very interesting. I use attachment_fu for file uploads and mongrel_cluster for scalability. Together they should allow me to perform multiple (concurrent) file uploads. This does work with uploads started on Windows, but on Linux something strange happens: the upload started on Linux hangs. So, if you start an upload from a Linux machine, and then start an upload from
2008 Apr 18
2
synchronize mongrel cluster
Hi everyone, I would like to know if there''s a way to synchronize the actions in a mongrel cluster. Basically, how do I make sure that a specific controller action gets executed by only one mongrel server at one time? I obviously cannot use Mutex::synchronize, because we''re talking about different processes. I looked into using optimistic and pessimistic locking. I
2008 Jun 19
6
Premature end of script headers; dispatch.cgi - ok
Hi, I''m getting the dreaded "Premature end of script headers: dispatch.cgi" message on my production server. Before I list all the things that I tried, let me mention that I already have a Rails app working on this server (installed by somebody else). First app is accessible at: http://mydomain.com/cwps and it all works. Second app is accessible at: http://mydomain.com/robo