Displaying 20 results from an estimated 100000 matches similar to: "DRb - queue starvation?"
2008 Aug 20
1
acts_as_ferret and DRb server errors
I am seeing this in my ferret_server.log when I do a search:
DRb server: ensure_index_exists for class Myclass1
DRb server: ensure_index_exists for class Myclass2
DRb server: ensure_index_exists for class Myclass3
DRb server: ensure_index_exists for class Myclass4
#method_missing(:id_multi_search, ["Myclass1", "test*", ["Myclass4",
"Myclass3",
2008 Feb 10
1
DRb + Chat interface?
Hello,
I''m an amateur rails developer, and am currently developing a project
that needs a somewhat specialized chat client. I''ve recently become
enamored with DRb, and was wondering if anyone had tried implementing
it when attempting to make a chat client. The reason I want to use DRb
instead of some other way of doing it is because if I understand it
right the client should be
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,
2007 Jun 15
0
sangoma WAN boards with lartc
Hi
anyone using sangoma hardware with lartc? pls let me know
Thanks
Imthiyaz
Original Message:
-----------------
From: lartc-request@mailman.ds9a.nl
Date: Fri, 15 Jun 2007 12:00:07 +0200 (CEST)
To: lartc@mailman.ds9a.nl
Subject: LARTC Digest, Vol 28, Issue 23
Send LARTC mailing list submissions to
lartc@mailman.ds9a.nl
To subscribe or unsubscribe via the World Wide Web, visit
2008 Sep 25
1
Acts_as_ferret, DRb, 4 monrels and complete site lockups
Hi,
I am having some serious problems with site that''s already live. It is
using RoR 1.2, ferret 0.11.6 and most recent acts_as_ferret plugin.
Most of the day, site is doing pretty well, is quick and search is
reliable. But, at some point, it just "locks" and stops responding,
one instance of mongrel after another.
At the same time ferret DRb server starts eating lots of CPU.
2007 Oct 02
3
deadlocks in Drb Server
Hi,
we still have the problem in that the Ferret Drb server dies on us
sometimes. Looking through ferret_server.out and we come accross this:
deadlock 0xb7261cb0: sleep:F(1012) - /usr/lib/ruby/1.8/drb/drb.rb:566
deadlock 0xb71d8654: sleep:F(409) - /usr/lib/ruby/1.8/drb/drb.rb:566
deadlock 0xb723f3e0: sleep:F(7) - /usr/lib/ruby/1.8/drb/drb.rb:566
deadlock 0xb72607c0: sleep:F(11) -
2007 Apr 18
1
stack level too deep for method missing when using drb
I set up ferret and it''s running fine normally. Now I want to hook up
the backgroundrb server. However whenever I try to do a search, I get
this error:
(druby://localhost:9010) /usr/local/lib/ruby/1.8/drb/drb.rb:1075:in
`method_missing''
(druby://localhost:9010)
./vendor/plugins/acts_as_ferret/lib/remote_index.rb:20:in
`find_id_by_contents''
(druby://localhost:9010)
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
2007 Jun 16
1
BackgrounDRB and Sqlite3 / Autotest / Memory_test_fix Issues
Hello all.
I am using BackgrounDRB with "great happiness and joy", however, I am
running into one problem in that when I am running my tests with
autotest using Sqlite3 3.3.17 I am getting
"ActiveRecord::StatementInvalid" exception inside of the
sqlite_adapter.rb:360 which is checking for an empty structure.
I thought it might be the version of Sqlite, so I upgraded to 3.3.17
2007 Apr 04
2
Please help with Drb server
The Problem:
The application is using the AAF plugin. When I attempt to rebuild the
index on the production server
from the console, I get the following error:
------
DRb::DRbConnError: druby://ferret.mydomain.com:9010 -
#<Errno::ETIMEDOUT: Connection timed out - connect(2)>
from /usr/lib/ruby/1.8/drb/drb.rb:736:in `open''
from /usr/lib/ruby/1.8/drb/drb.rb:729:in
2007 Apr 01
2
strange behavior after switching to DRb server
After switching to the DRb server, I am experiencing strange behavior
when sorting on score. My app was working as expected before the switch.
Both before and after the switch, my app sorts properly on other
fields, such as date.
For sorting on score, I am using the following option
find_by_contents option:
:sort => Ferret::Search::SortField::SCORE
Before switching to DRb, this worked
2007 Aug 30
0
Method missing error after switching to DRB
I am getting these errors after switchign to dRb:
It is trying to call ''add'' on MY SourceListing class, not extended with the
ferret indexing methods.
Any ideas on where to fix this? I''m combing through the code now.
no luck, trying to call class method instead
ferret server error undefined method `add'' for SourceListing:Class
2006 Sep 28
1
upload_progress and DRb.start_service crashes
Whenever I tried to start mongrel_rails with the upload progress
script, it would die with the following error:
/usr/local/lib/ruby/1.8/drb/drb.rb:837:in `getaddrinfo'': getaddrinfo:
No address associated with nodename (SocketError)
from /usr/local/lib/ruby/1.8/drb/drb.rb:837:in
`open_server_inaddr_any''
from /usr/local/lib/ruby/1.8/drb/drb.rb:860:in
2006 Oct 28
0
Problem starting up the drb server
Hi,
I''m rather new to backgrounDRb and DRb itself. I tried to run
backgrounDRb on my shared hosting site at Railsplayground.com using rake
backgroundrb:start and got this error:
/usr/local/lib/ruby/1.8/drb/drb.rb:862:in `initialize'': getaddrinfo:
Name or service not known (SocketError)
from /usr/local/lib/ruby/1.8/drb/drb.rb:862:in `open_server''
from
2011 Jul 26
0
connect to DRb server from rails controller ?
I haven''t done any DRb stuff in awhile, but I used to connect to a DRb
server from
a rails controller. I''ve never tried it in rails 3 and am wondering if
Rails 3 is stricter about something like this or why it hasn''t worked
thus far.
My server/client code and error are shown below:
SERVER:
require ''drb''
class ParserSvc
def initialize
end
2007 May 24
2
Strange Problem with AAF DRB connection
Hi all!
We use the DRB-Server Backend and are getting strange DRb::DRbConnErrors
lately. It started with:
too large packet 687865856
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:573:in `load''
and later only this one:
premature marshal format(can''t read)
(druby:/10.0.0.10:9010) /usr/lib/ruby/1.8/drb/drb.rb:580:in `load''
Do you have any ideas what that
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
2007 Sep 07
4
Ferret DRB - can add/edit index, but can''t search
I''m trying to use the Ferret DRB server to avoid concurrency issues when
using multiple mongrels. I can successfully add and edit data on my
index via the DRB server, however, when I search the index, I get the
following error:
DRb::DRbConnError (DRb::DRbServerNotFound):
/usr/lib/ruby/1.8/drb/drb.rb:1647:in `current_server''
/usr/lib/ruby/1.8/drb/drb.rb:1709:in
2007 Jun 27
2
acts_as_ferret, DRb, and filter_proc
I was just trying to use acts_as_ferret with DRb and filter_proc,
without much success. My guess is that this isn''t possible because
there''s no way to send the proc to the DRb server, correct?
Person.find_by_contents("jonathan", :filter_proc => proc {}) causes an
exception when using DRb (DRb::DRbConnError: DRb::DRbServerNotFound).
I can work around this by
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;