Displaying 20 results from an estimated 10000 matches similar to: "Recommended testing approaches for new Mongrel handlers?"
2006 Oct 04
5
Sites that use Mongrel
It would be an interesting topic. I bet there are quite a few.
I just released one that 1/2 runs on Mongrel. http://direxionfunds.com
It was released before it was _quite_ ready, but the last of the
content is getting inserted today. I am still waffling on how I will
leave it running longterm. Right now it uses a slightly modified
version of the Mongrel http parser with EventMachine to front
2006 Sep 11
8
fckeditor works, but i cant get my buttons back...
I am going to bet this is a mongrel issue,because this doesn''t happen
under webrick. Anyway, I was able to get fckeditor: http://www.fckeditor.net/
to work under rails: http://www.joshuamcharles.com/xhtml/fckrails.php
i even saw the part about adding "1. Adding a YAML configuration file. For example, create
$(RAILS_ROOT)/config/mongrel_mime.yml with the contents:
xml:
2006 Sep 03
18
Recommentation: Sessions and PStore
Morning Folks,
As most of you know there were a few people who had the following three
bugs:
* CLOSE_WAIT: Lots of sockets in CLOSE_WAIT state.
* 99% CPU: Mongrel''s getting "stuck" pegged at 99% CPU.
* LEAK: Memory leak.
I''ve successfully fixed these bugs or attributed them to one main cause:
pstore.
First, the memory leak was because of a bug in how the GC in Ruby
2007 May 21
13
swifty fly?
I heard about a new mongrel plugin or version that''s single threaded and
uses non-blocking IO with events. It''s called something like "swifty
fly". Anyone have a link for it?
Thanks.
2006 Sep 07
4
How to setup a sweeper to restart stale or hung mongrel servers
How do I setup a sweeper to restart stale or hung mongrel servers?
--
Jared Brown
jaredbrown at gmail.com
(765) 409-0875
7001 Central Ave
Indianapolis, IN 46220
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/mongrel-users/attachments/20060907/0994017f/attachment.html
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
2006 Nov 09
6
OptimizedMutex for Mongrel
Hey Zed-
I had a user with an app that was leaking memory with mongrel but
not lighty/fcgi. I have been doing anything I can to track it down. I
already did the Mutex patch to use unshitf and pop instead of shift
and push and it didn''t really help much. The mem leak only really
shows up when you use the wsess option to httperf.
The other day I saw a ruby C extension that
2008 Mar 12
12
Mongrel has crashed
Hi,
my mongrel has crashed with following errors in the logfile:
** Starting Rails with development environment...
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no
restart).
** Rails signals registered. HUP => reload (without restart). It might
not work well.
** Mongrel 1.1.3 available at 0.0.0.0:3000
**
2006 Nov 29
3
Mongrel as Win32 service for a camping app?
As subject line, basically...
http://mongrel.rubyforge.org/docs/win32.html describes how to install
Service
support for Mongrel on Win32. But it seems to be focussed on providing a way
of running Rails apps.
If it is possible at all, can you provide hints or refer to documentation
that
explains how to run apps that use other frameworks, like Camping, as
Services
please? Is it written up online,
2006 Aug 25
9
Multi apps in one Mongrel instance
Hi,
It would be nice if Mongrel would do multiapps in one Mongrel instance.
For the moment, I have one Mongrel for each app of my server, each on a
different port.
For example:
http://server:8080/app1
http://server:8080/app2
instead of:
http://server:8080/
http://server:8081/
Is that planned?
Thanks.
-jec
--
JeSC - Software et Consulting
Jean-Eric Cuendet
Ing?nieur HES en
2007 Dec 10
4
Mongrel and http 1.1 OPTIONS keyword
Hello.
I just seen some errors in my mongrel application log:
It seems related to the httpd OPTIONS keyword
Example:
Processing LoginController#login (for .30.5.208 at 2007-12-10 09:00:23)
[OPTIONS]
and our ruby application does not know what to do with it. and finally
send an error
Does mongrel (which is the http server) is supposed to deal with these
kind of request ?
I think these
2006 Oct 31
9
Problems with mongrel dying
Hi
One of the two mongrel processes has died in the middle of the night
four times in the past 9 days, and I need help debugging this.
Each time the symptoms are the same:
* Each time I can restart the process via cap -a restart_app.
* Before the restart, there is nothing unusual in production.log or
mongrel.log.
* During the restart, about 100 repetitions of an error message are
generated in
2007 Aug 11
3
The Team is In Place
Hello Everyone,
I''d like to just officially announce that the new volunteers are in charge and given control of the project.
I won''t be doing anything more than helping them get ramped up, but they''ll be in charge of doing all the stuff you folks want and are basically the owners from now on.
Everyone in the new volunteer list will probably do a little announce, but
2006 Nov 05
1
Testing custom mongrel handlers?
Hey Folks-
I''m trying to setup a new test/spec harness for testing Merb. I was
wondering if there is a way to mock the Mongrel request, response
objects easily to test my handler without actually running a server?
I can easily do the env hash but I''m not entirely sure what needs to
go in the request StringIO object that gets passed into my mongrel
handler''s
2006 Oct 31
5
mongrel parser for server response
I''m taking a stab at creating a parser to parse the server response
using the mongrel parser as a base. Never having used a parser like
Ragel before in my life, I''d like some input on the following for
parsing an http server response. This is part of my modified version
of http11_parser.rl. In particular what would be better than using
''any'' to match the
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
2006 Sep 07
9
Mass virtual hosting with mongrel
Ok, a refinement of the question I asked yesterday (If there were any
replies from yesterday I don''t have access to them here .. sorry if
I''m duplicating anybody''s words here).
How can one host multiple domains with mongrel? Assuming you are mass
vhosting and you also want the performance benefits of using mongrel ...
As far as I can tell, one could set up a
2007 Feb 27
15
Deployement options
After reading the digital shortcut and the
documentation on the web site I''m confused.
Which one should I use? pen, balance or nginx ?
I don''t want to use a behemoth like appache and ssl is
not needed so it reduces my choice to those three
only....
What are the pros and cons of each? I don''t have much
money, so the less ressources I use the better it is
for me....
As
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
2006 Jul 28
1
escape/unescape attribution
Not filing this as a bug, but simply as confusion.
In the mongrel.rb, you have a comment that says this about the
self.escape method:
# Performs URI escaping so that you can construct proper
# query strings faster. Use this rather than the cgi.rb
# version since it''s faster. (Stolen from Camping).
def self.escape(s)
s.to_s.gsub(/([^ a-zA-Z0-9_.-]+)/n) {