similar to: Rails Thread Starvation

Displaying 20 results from an estimated 40000 matches similar to: "Rails Thread Starvation"

2012 Oct 05
1
Is Rails Logger Thread Safe?
Is Rails Logger truly not Thread Safe? http://log.kares.org/2011/04/railslogger-is-not-threadsafe.html This seems like an issue that should have been picked up quite a long time ago. I just set config.threadsafe! in my config/application.rb and my log output from rails server has completely disappeared. If the logger is not thread-safe, I cannot help but wonder how much of the Rails core is
2013 Jul 22
0
How to handle exception that is generated in rack middleware before it reach rails app?
I know that we can use config.exception_app to set up custom exception handling and also use rescue_from. However, I have an issue that there is malformed request (testing generated request) that caused Rails Rack middleware to throw an exception when Rack''s parse_query method. Here is the detail of the problem:
2013 May 11
0
Jquery-Datatable-Rails Gem: Error on Update. PUT request automatically converting to a POST request.
Please checkout this link and help me out here. I guess the Gem has a Bug. It is working perfectly for Creating a User but while Editing User information it is giving a routing error: No route matches [POST] "/users/2" Here is the link: http://stackoverflow.com/questions/16501440/jquery-datatables-rails-gem-not-working-for-update-call-converting-put-request -- You received this
2012 Dec 03
2
Rails 3.2 session id nil until next request
Posted this on stack overflow earlier today here<http://stackoverflow.com/questions/13673969/rails-3-2-session-id-nil-until-next-request>, I really either don''t know what I''m doing, or I don''t understand how sessions are supposed to work! I''m connecting to rails from an Air app and communicating with JSON only. When the client sends a login request,
2013 May 22
2
Is command line Rails also so slow on Linuxes as it is on Windows?
There is a lot of questions on Stackoverflow about how Rails is slow in command line on Windows machines. I use Windows and know that it is true. All Rake tasks, all rails commands are very slow. Especially testing is slow. I can''t test my code as I want because of it. But some people in their answers say that command line Rails is slow only on Windows. On Linuxes it is ok. But before I
2012 Jul 25
3
rails scope without raw sql
Hi, I''ve been stung when deploying a rails app to heroku, and I''m fairly confident the problem is the difference between my local db sqlite3, and the heroku standard free shared db which is postgres(i think). I have a scope in my model that looks like this scope :not_archived, :conditions => [''application_state != "archived"''] The idea is I want
2008 Jul 08
6
[Bug 16640] New: NV18/DVI bandwidth starvation issue
http://bugs.freedesktop.org/show_bug.cgi?id=16640 Summary: NV18/DVI bandwidth starvation issue Product: xorg Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: high Component: Driver/nouveau AssignedTo: nouveau at lists.freedesktop.org ReportedBy: d.okias at
2013 Feb 10
1
How to add body parameter in Serel gem (stackoverflow api)
Actually when i try to access a question using serel gem(which is a ruby wrapper for stackoverflow api), i get an object with no body parameter included in it. questions = Serel::Question.find(id) see http://api.stackoverflow.com/1.1/usage/methods/questions-by-ids. According to this, we need to turn the body parameter true. How to turn the parameter "body" true. -- You received
2013 May 28
5
Storing Rails controller callback data in session
http://stackoverflow.com/questions/16770090/storing-rails-controller-callback-data-in-session The idea is: - Perform some time consuming action in background. - Have the results from that action be propagated back to the controller using a callback. - Store the result in an in memory session store. - Have the result in session be used and available from that point onward.
2013 Feb 10
2
What's wrong with my spec? (StackOverflow Question)
Hi all, I just posted a question on SO and it would be great if you guys could help out. http://stackoverflow.com/questions/14795829/devise-rspec-user-requires-account-activation-in-requests-spec-even-after-con Cheers! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails
2012 Nov 04
0
rails-i18n and date_select issue
Hi, could please anyone help me with this issue? http://stackoverflow.com/questions/13219204/rails-i18n-date-select-error Many thanks, enrico -- · Enrico Stano · · twitter @enricostano · skype ocirneonats -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to
2005 Jun 15
1
Starvation
Hi, I'v included speex-lib into my http://www.visit.se/~pointless IP-Sound streaming app. When using speex the sound is being garbled for short intervals, approx every 20:th second. Sounds like buffer starvation..... but in between it sounds 100% ok. As I am using other "codecs" with success there might be something that I have missed in the implementation of speex. Using
2013 Feb 12
2
Rails parameters get lost because of jQuery link
(Original post: http://stackoverflow.com/questions/14569721/rails-parameters-get-lost-because-of-jquery-link, unfortunately no response) I saw this Railscast ( http://railscasts.com/episodes/240-search-sort-paginate-with-ajax) the other day and wanted to use the techniques for an application of mine. I have a page with elements on it and I want to sort them by values and select them by tags.
2012 Sep 10
4
Rails error: invalid byte sequence in UTF-8
Hello, i have a app on rails 3.2.1 and i use a jquery lib called jQuery Timelinr 0.9.5: http://www.csslab.cl/2011/08/18/jquery-timelinr/ but, when i use it on a .erb view, i got a error: Showing * /home/carlos.ribeiro/projetos/amarribo/app/views/conheca/historico.html.erb* where line *#59* raised: invalid byte sequence in UTF-8 Extracted source (around line *#59*): 57: 58: <%=
1998 Feb 22
0
resource starvation against passwd(1)
Standard apology if old... This demonstrates a resource starvation attack on the setuid root passwd(1) program. In the case I tested it was the Red Hat Linux passwd-0.50-7 program without shadowing. #include <stdio.h> #include <sys/time.h> #include <stdlib.h> #include <unistd.h> #include <sys/resource.h> main () { struct rlimit rl, *rlp; rlp=&rl;
2007 Oct 09
0
DRb - queue starvation?
I think I''ve run into some kind of queue starvation bug w/ DRb - it normally takes minutes per item to process items in the queue, and normally the queue has a bit of a backlog. But when it''s empty (nothing coming in), it seems to stop checking for new work. Has anyone else run into this w/ DRb? Any suggestions for debugging this? Thanks, m
2013 Sep 04
2
Speed up image processing of Paperclip in Acceptance Tests
Hi All, I have a question here: How to Speed up image processing of Paperclip in Acceptance Tests When running capybara feature specs I can see lots of Slow factory notices which are populated byfactory_girl. These Slow factory things heavy slow down the feature specs, I think, even feature specs are intrinsic slow specs. Then I had some inspect and found out most of the Slow factory was
2013 May 01
2
Is there any way to update the javascript when I reload the page using rails?
Hi, I need fix any bugs in a rails project. The problem is every time I change anything in javascript I have to make bundle exec rake rails_group=assets assets:clean RAILS_ENV=development and then bundle exec rake rails_group=assets assets:precompile RAILS_ENV=development and finaly restart the rails server. This way spend 10 min. Exists any other solution? -- You received this message
2012 Oct 05
2
heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"
How to empty DB in heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku> I have a Postgres database on Heroku. It is one of the free beta ones. Locally, when testing, I often run rake db:drop && rake db:create && rake db:migrate as a way to reset the database. However, when I try to run this on Heroku, I get the error:\[code\]Couldn''t drop
2013 Jul 16
0
Which object have my association extension method?
My Stackoverflow question: http://stackoverflow.com/questions/17461273/where-does-association-extension-sit-in/17664817?noredirect=1#17664817 I have an association extension method like the following: class Bundle < ActiveRecord::Base has_many :items do def foo end end I was trying to use delayed job/sidekiq delay() method like the following: b.items.delay.foo But I