Displaying 20 results from an estimated 3000 matches similar to: "swifty fly?"
2007 Nov 05
29
Mongrel and memory usage
Hello,
I''m running a Rails application which must sort and manipulate a lot of data
which are loaded in memory.
The Rails app runs on 2 mongrel processes.
When I first load the app, both are 32Mb in memory.
After some days, both are between 200Mb and 300Mb.
My question is : is there some kind of garbage collector in Mongrel?
I never see the two Mongrel processes memory footprint
2007 Sep 07
35
multi threaded theoretically useful?
So here''s a random question: if a (Ruby) multi-threaded rails server could
exist (bug free), would it be faster than using a mongrel cluster?
(I.e. 10 mongrel processes versus 10 Ruby threads). I''m not sure if
it would. RAM it
might save, though. Any thoughts?
-Roger
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2007 Jun 04
8
Bug in Configurator.change_privilege?
Hello.
I have discovered that mongrel does not correctly take on all the
groups of the requested user/group combination. It seems that while
the specified user and group is correctly activated, all the other
groups that are associated with this user are not enabled and the
group permissions remain the same as the caller (i.e. root).
This problem (and solution) is discussed in the Ruby Forum:
2007 Oct 31
3
Mongrel breaking Merb?
Has anyone had troubles from Mongrel > 1.0.1? Just curious, because
the last time I tried to run Merb it gave me some Mongrel error about
the wrong number of arguments, or something like that.
I can post the exact message tonight when I get home.
--
Cheers,
Kevin Williams
http://kevwil.com/
http://www.almostserio.us/
http://kevwil.jaiku.com/
2007 Nov 06
0
ANN: Swiftiply 0.6.1.1 (Mongrel > 1.0.1 compatibility)
Just a quick announcement that an update to swiftiplied_mongrel and
evented_mongrel which fixes the incompatibility with Mongrels > 1.0.1
has been released.
http://swiftiply.swiftcore.org
Let me know if you have any problems.
Kirk Haines
2007 Oct 29
1
evented mongrel dies on USR2
Sorry if this is the wrong place to ask, but when I run mongrel
evented using swiftiply and then send it the USR2 signal to restart
it, it dies. Without eventing, USR2 restarts mongrel as expected.
Anyone else seen this?
Here''s a dump:
$ EVENT=1 mongrel_rails start -d -P /tmp/m.pid -p 4321
Using Evented Mongrel
** Ruby version is up-to-date; cgi_multipart_eof_fix was not loaded
$ kill
2007 Sep 15
2
http keep-alive?
I read this in a previous post (
http://rubyforge.org/pipermail/mongrel-users/2006-December/002354.html)
....
First, Mongrel accepts remote clients and creates one Thread for each
request. Mongrel also enforces a single request/response using
Connect:close headers because Ruby only supports 1024 files (so far). If
Mongrel doesn''t do this then people like yourself can write a simple
2007 May 22
4
Process safe log files with multiple mongrels
I have a rails application that runs on multiple mongrels and I would
like to make the log files non-interlacing. Are there any logging
modifications/other loggers out there that I could use to create
process safe logging?
Thank you,
Matt Margolis
2007 Nov 14
8
Best practice Ruby on Rails on Windows configuration
Hi,
I have read many articles on the net today about configuring Ruby on Rails
on a Windows server. But there doesn''t seem to a one solution for all on how
to configure a new Ruby on Rails server. So I can use some advise with this.
I am using a Windows 2003 server and don''t get many request a day. But most
of the request are quite heavy. The main focus is on optimizing the
2007 Nov 07
4
[noob] simpletest.rb, mongrel 1.1, ruby 1.8.4, mac os x 10.3.9 hangs
Hello,
I''m trying to run the latest/greatest mongrel version:
% sudo gem install mongrel
...
Successfully installed mongrel-1.1
% gem list mongrel
mongrel (1.1)
% ruby -v
ruby 1.8.4 (2005-12-24) [powerpc-darwin7.9.0]
% uname -a
Darwin NewYork.local 7.9.0 Darwin Kernel Version 7.9.0: Wed Mar 30
20:11:17 PST 2005; root:xnu/xnu-517.12.7.obj~1/RELEASE_PPC Power
Macintosh powerpc
2007 Dec 29
6
Regarding the 1.1.3 security release
* Apologies for starting a new thread; I just subscribed.
Has anyone been able to make this exploit happen if requests are being
proxied to Mongrel through Apache? I''ve been trying variations on the
double-encoding thing and can''t trigger the exploit through Apache.
Hitting Mongrel directly does expose the problem.
I''ll still upgrade my servers, of course, but I
2007 May 10
3
Camping and Threads!
Hey Everybody!
I was wondering if/how Camping can process more than one request at
once (i.e. not what Rails does). I''m fairly new to threads, and I
bought a book, and read some of it, and dived into the Camping source...
I found some thread stuff but I''m not... entirely sure. So I thought
I would ask!
RYan.
http://yeahnah.org/
2006 Aug 23
12
mod_ruby and rails
Can rails run under apache and mod_ruby? How?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
2007 Jun 28
7
You Will All Die In 1 Week (Mongrel To Require 1.8.6)
Hopefully that gets everyone''s attention.
Evan Weaver has whined enough to make me do a release to change the requirements on the Mongrel gem so that it doesn''t need the cgi_multipart_eof_fix anymore.
***************************
THIS ALSO MEANS THAT MONGREL WILL HAVE TO REQUIRE RUBY 1.8.6 OR GREATER! NO EXCEPTIONS!
***************************
I know Debian guys like to hack
2009 Jan 29
1
a large file available?
I need to deal with a large file (about more than 2G [byte]) with
eventmachine.
I wrote a simple program with using "stream_file_data" as send a large file
from client to server. But It didn''t work.
Applying below a quick fix patch, I think it works well.
Could you go over this patch?
Regards,
--
Kuroishi Mitsuo
diff -rup
2007 Oct 15
24
Design flaw? - num_processors, accept/close
Rails instances themselves are almost always single-threaded, whereas
Mongrel, and it''s acceptor, are multithreaded.
In a situation with long-running Rails pages this presents a problem for
mod_proxy_balancer.
If num_processors is greater than 1 ( default: 950 ), then Mongrel will
gladly accept incoming requests and queue them if its rails instance is
currently busy. So even
2007 Dec 14
21
Some silly benchs (was: 1.9)
Guys,
Just for fun, I tried to see (I know, a silly way to test it) how much
overhead we have calling the C functions of the extensions.
the benchmark script and the results:
http://pastie.caboo.se/128646
The naive C extension:
http://pastie.caboo.se/128647
I compared 1.8.6 (VC6 and mingw builds) against a fresh checkout of ruby trunk.
What I understand from that is 1.9 is slower than 1.8
2011 Nov 30
1
Best VoIP conferencing phone ?
Hi ,
I know it's might not the right way to asking such stupid question. But I
want to take help from experts into VoIP fields so I have to decided to
post here.
Please help me which will be the best VoIP conferencing phone which will
cover 10 Persians into conferencing with best audio support ?
--
Thanks and regards
Virendra Bhati
+91-8885268942
Software Engineer
-------------- next
2011 Aug 19
5
Outbound Dial
Hi,
I have 8 E1 PRI Lines and i have 200 phone numbers and 200 channels
(25 channels per PRI). is there a utility available in Asterisk to
dial out 200 numbers and run a campaign for 200 numbers concurrently
and play a mp3 file ?
Please suggest/guide
Regards
Kaushal
2007 Dec 12
10
sendfile and mongrel
forgive me if this has been resolved already...
I have an app that is using sendfile to return large files to customers.
We can''t use regular Apache to handle this static content since the
files are what the customers are paying for - so it wouldn''t be cool for
anyone else to get access to them.
The issue is that the mongrel mem footprint gets bloated when the files
are