Displaying 20 results from an estimated 200 matches similar to: "Still getting "too many open files""
2007 Jul 06
6
Ferret::FileNotFoundError - delete
Hi,
we are using ferret and acts_as_ferret in a single server setup. We have
2 models that use acts_as_ferret.
We are running into problems where a create or update of the models
cause a ferret error
Ferret::FileNotFoundError occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
Where the file that needs to be opened isn''t there.
The error
2007 Sep 03
11
MySQL has gone away
Hi,
in a production environment we are running into "MySQL server has gone
away" errors (see below) when we call rebuild_index in aaf. This happens
sporadically.
Any suggestions for what might be wrong or workarounds? I guess we try a
reconnect before we call rebuild_index?
Matthew
ActiveRecord::StatementInvalid (Mysql::Error: MySQL server has gone
away: SELECT count(*) AS
2008 Feb 24
6
ANNC: qrp - queueing reverse proxy
Hi, I''ve started a new project that uses Mongrel. It basically
lets you defer requests to it until other Mongrels in your (Rails)
pool becomes free.
Rubyforge project page:
http://rubyforge.org/projects/qrp/
gems, tarballs and git repo in case they haven''t hit the mirrors yet:
http://bogomips.org/ruby/
I should also add that nginx 0.6.7 or later is required for the
2007 Apr 14
3
Error on optimize leads to corrupt index?
The following exception occurred while trying optimize a large index:
vendor/gems/rdig-0.3.4/lib/rdig/index.rb:46:in `optimize'': End-of-
File Error occured at <except.c>:93 in xraise (EOFError)
Error occured in store.c:216 - is_refill
current pos = 0, file length = 0
Now, I get the following error any time I try to create a new index
on the directory that I was trying
2007 Feb 04
10
[AAF] remote indexing via DRb with acts_as_ferret
Hi!
Aaf trunk has undergone several major refactorings the last days, with
the result that you can now transparently switch your app from local
to remote indexing and back :-)
If you plan to scale your app to more than one physical machine, or
if you have problems with corrupted indexes and the like under high
load, you really should give this a try.
I wrote some documentation to get you
2007 Jul 03
6
How index works!
Hi, i''ve a project in wich i have 2 different rails apps accessing the
same DB.
The backoffice, as usual, changes data.
The frontoffice has a search capabilities with acts_as_ferret
(paginated) for search.
Maybe this is a newbie question but, when i delete index and restart
front app all the articles are indexed, but the new one''s (via
backoffice) are not searchable.
Does
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 Feb 22
1
drbserver and --color
For whatever reason, running drbserver --color doesn''t seem to be
working. Any reason for this? Has it just not been built in yet?
Best, and thanks for the help on the previous post.
Scott
2007 Jul 22
1
Strange Connection refused error acts_as_ferret server
I am having a strange problem starting the acts_as_ferret Drb server on
a particular Linux machine (Debian Etch). The same setup works fine on
my Mac (OSX).
Without the Rails application running (yes, I''ve checked several times)
I get the following error if I try to start the ferret server and one of
my models contains :remote => true for acts_as_ferret:
>>
script/ferret_start
2007 Sep 17
3
Ferret FileNotFound error
Hi,
I have a model that I''ve been indexing and searching with ferret some
problem.
We get the following error when accessing the model
File Not Found Error occured at <except.c>:117 in xpop_context
Error occured in fs_store.c:329 - fs_open_input
tried to open "/var/www/html/cuproject/index/development/album/_b.cfs"
but it doesn''t exist: <No such file or
2006 Mar 26
4
edge and 1.8.2/1.8.4 issues
I recently upgraded to 1.8.4 to try out mongrel, and so far have been in
a kind of hell where I can''t get my app working!
Currently running (or trying to run):
Ruby version 1.8.4 (i386-mswin32)
RubyGems version 0.8.11
Rails version 1.0.0
Active Record version 1.13.2
Action Pack version 1.11.2
Action Web Service version 1.0.0
Action Mailer version 1.1.5
Active Support version
2008 Mar 27
3
Counter Strike wine problem!!!
Hi everyone! I am using OpenSuse 10.3 with desktop effect compiz-fusion and wine 0.9.57! I have installed counter strike 1.6 with wine and everything went fine. When i run the game with no desktop effect works fine but when i run with desktop effects it doesn`t start and it tells me:
Code:
calin at DarkStar:~/.wine/drive_c/Program Files/Valve> wine hl.exe -game cstrike
2008 Jan 21
14
properly restarting mongrel instances
Hi folks.
Using mongrel_rails and the mongrel_cluster capistrano recipes, I
often encounter a situation where some of the mongrel processes don''t
die in time to be restarted. The output of capistrano will tell me
something like "mongrel on port 8001 is already up", but that''s only
because capistrano/mongrel_rails failed to take it down in the first
place.
The solution
2007 Aug 27
2
Ferret DRb on windows?
i''m running a bunch of proxybalanced mongrels on a windows server.
and since the memory consumption of all those mongrels is getting too
high i wanted to set up the DRb''ed ferret server.
but script/ferret_start doesn''t work and seems to be written for linux
(unix) only.
is there a way to run it on windows?
--
Posted via http://www.ruby-forum.com/.
2007 Mar 31
8
Problem with setting up remote indexing
Hello,
I have been trying to set up the remote indexing for acts_as_ferret and
followed the guide here:
http://projects.jkraemer.net/acts_as_ferret/wiki/DrbServer
I added :remote => true to my models and then specified host and port
for the production environment.
After defining the host/port for production, I tried to run my
development server and received the following error:
2007 May 31
5
complete index rebuild using AAF trunk
I am using AAF trunk, and I want a way to rebuild an index on a
production site with little or no interruption to service. The Drb
Server documentation* states that when an index is rebuilt, it is
done in a separate location and then swapped into place when
finished, and so to do a complete rebuild on a live site, one must
take into consideration objects which have been created or
2007 Mar 31
5
DRb server & aaf gem
I''m having problems getting the DRb server running with the aaf gem.
I tried it with the plugin installed in my application, and it
worked. I suspect the problem has something to do with the startup
scripts expecting certain files to be in certain relative file paths.
Any insights are appreciated, and maybe if you have time you can
update the wiki document :)
Thanks for a great
2007 Apr 19
7
Lock errors and segfaults
Greetings,
I''ve been using ferret with great results now for a while, but in the last week, I''ve
been running into some issues.
I will occasionally see this message:
Exception Message: Lock Error occured at <except.c>:103 in xpop_context
Error occured in index.c:5368 - iw_open
Couldn''t obtain write lock when opening IndexWriter
Which is accompanied by
2007 May 15
12
AAF quirks in production mode
So my ferret behaves nicely in dev mode, but I just deployed and now
he is not happy!
First thing I noticed was that in general my app would not start with
a folder called "development" in my index folder, so I changed it to
"production" and now my app is functioning.
However, when I try to search I get errors, which you can see here:
http://pastie.caboo.se/61767
Im
2007 Mar 27
4
Error in installling gem install acts_as_ferret
Hello everybody!
I try to install ferret gem in my local machine .
It goes like this :
[root at dhcppc2 ~]# gem install ferret
Need to update 1 gems from http://gems.rubyforge.org
.
complete
Select which gem to install for your platform (i686-linux)
1. ferret 0.11.3 (ruby)
2. ferret 0.11.2 (ruby)
3. ferret 0.11.1 (ruby)
>>1
Building native extensions. This could take a while...