Displaying 20 results from an estimated 10000 matches similar to: "Rails, ActionController::Base.allow_concurrency and mongrel"
2006 Jun 05
3
Mongrel Pre-Release 0.3.13 -- Katana Suicide Concurrency
We are *days* away from the official 0.3.13 release, which will be
followed quickly by 0.4 code named Enterprisey Edition 1.2. This latest
pre-release update closes off the last of the annoying bugs, and adds
one very nasty feature people should check out before we release. Read
about Katanas below.
** This release doesn''t have win32 yet. That''ll be uploaded Monday. **
WHAT
2006 Jun 15
4
Mongrel 0.3.13 Pre-Release -- Caulking Release
Hello Everyone,
Francois Simond inadvertently found a way to replicate a rare but deadly
bug right as I was working up the official release of Mongrel 0.3.13.
This bug only happened to a few people, but thanks to the wonderful
fuzzing tool Apache Bench[1] he could replicate the slow select
starvation people were seeing.
TESTING
This bug is now fixed in the current pre-release, and I''d
2006 Dec 23
1
Spawn mongrel on demand
Hello Zed !
Do you knows or plan a way to spawn mongrel processes on demand ?
I''m studying options to build an affordable but solid shared hosting
solution.
You wrote something very promising in your "NEXT STEPS",
A combination of the ''"mostly C version'' and the mongrel_cluster
replacement would be an elegant method to save much RAM on servers
(until
2006 Jun 20
1
Performance tweak when local files are not served by mongrel
Hello Zed !
I''ve experimented a simple but limited performance tweak in the mongrel
rails loader.
With the following apache 2.2 mod proxy loadbalancer setup :
# Redirect all non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://mongrel_cluster%{REQUEST_URI} [P,QSA,L]
We can assume that mongrel is called only when the
2023 Apr 03
2
ntlm_auth and freeradius
Op 03-04-2023 om 16:05 schreef Tim ODriscoll via samba:
> Dear All,
>
> I'm trying to setup FreeRADIUS to authenticate a machine account to grant access to wifi for domain-connected machines. I think I've got the GPO's set up properly and the CA deployed to the clients, as I'm not getting any errors there.
>
> The errors I'm getting are to do with ntlm_auth not
2006 Jun 15
1
Performance leak with concurrent requests on static files (Rails)
Hi,
I just found something weird for mongrel with static files.
Performance endlessly decreases if mongrel serve static files from
simultaneous requests :
Here is the test setup:
Ruby on Rails
Mongrel (tested with 1.3.12.4 and 1.3.13-pre installed today)
Ubuntu dapper, compiled ruby 1.8.4.
http client :
while true; do ab -n 1000 -c 30 http://localhost:3000/ 2>/dev/null |
grep
2006 Apr 19
8
Win32 Gem Dependencies
Yeah I just noticed that the latest mongrel gem for win32 doesn''t have
the proper dependency for ''daemons''. This of course causes the require
to fail. Any chance at getting this fixed for future gems? :)
Thanks
Josh Ferguson
2006 Jul 18
6
backgroundrb - Connection closed
Hello,
maybe someone can help with backgroundrb. I''ve written an application, which
makes use of backgroundrb. Everything works fine on my development machine, but
it crashes on my production server.
Something seems to be wrong with backgroundrb, but I don''t know the cause. All I
get is the error message attached below, which is extracted from the production.log.
I
2006 Apr 28
6
Nightly mongrel issues...
Hi,
I have Apache (2.2) setup to proxy requests through to Mongrel (0.3.12.4)
for a Rails (1.1.2) application (on ruby 1.8.4). The setup is great, but
I''m experiencing some nightly failures. I thought I''d post here before
digging in too deeply, but it looks like Rails is going into lala land and
Mongrel can''t recover...
Seems like everything gets all backed up in
2006 Jun 13
13
Pass infomation between different views and controllers
Hi, I am a rails and ruby nuby :-)
How do you pass data between different controllers and views? I have a
page ( a quote) that I am editing url ....quote/edit/6 6 id the
current id. I then go to a catalog (url....catalog) to add an item to
my quote (I do this via a line_item file that the quote reads) I now
want to go back to the quote. I have tried this
<%= link_to ''Back to
2006 Jun 03
10
Gem versioning and auto installs
Gem drives me daft sometimes.
It gives you this wonderful ability to specify a platform for a gem, but
forgets to provide a command line switch to select the platform. Politely it
asks you, which is all very well when you are installing on one machine
interactively, but no good at all on a cluster of 15 machines from a
Capistrano script.
Is there any way to get gem to automatically select the
2006 Apr 17
5
XML-RPC Webservice API
Hi,
After following the excellent tutorials in the Agile Web Development
with Rails book, I was able to get my webservice working pretty much
perfectly :)
I can access it via SOAP and XML-RPC and look at service.wsdl to find
the API. What I can''t do however is get the API for the XML-RPC call. It
fails with :
Internal protocol error: NilClass is not a valid input stream. It must
2006 Aug 14
4
Mongrel 0.3.13.4 -- PIDs Work, Win32 Gem
Alright, this time a small announce going out to *just* the mongrel list
so I can get some early testing.
There''s a new pre-release of 0.3.13.4 out that includes the win32
version of the gem.
** WIN32 USERS SHOULD INSTALL THIS AND TEST.***
***** BUT NOT ON PRODUCTION SYSTEMS. ******
As usual, you install it with:
sudo gem install mongrel --source=http://mongrel.rubyforge.org/releases/
2006 Jun 10
1
mongrel (0.3.12.4) blows up
Hello, I don''t know if this is really relevant anymore because a new
version is about to be released it seems, however I''ve been trying to
run mongrel 0.3.12.4 on a development server in development mode
(simply with mongrel_rails start). I try to access the server and the
first page (static file) loads, but then the server dies and I get
this in the logs.
I''m
2006 Aug 10
2
Software caused connection abort
Hi Zed or anyone that is also looking at Mongrel,
Just want to report something that, although doesn''t crash mongrel, is
rather annoying.
I am running the latest Mongrel 0.3.13.3 - ruby version on cygwin
(yeah, poor me). When I start mongrel_rails with
ActiveRecord::Base.allow_concurrency = true in environment.rb, I see a
lot of
"Error sending file
2006 Aug 26
0
postgres-pr barfs at ActiveRecord::Base.allow_concurrency = true
Hi List,
first of thank you Ezra for BackgroundRB. Very cool plugin indeed!
This is a public service FYI. In case you are running postgres as
your database backend and you are seeing the following errors in
your backgroundrb.log:
ActiveRecord::StatementInvalid: NoMethodError: undefined method
`async_query'' for #<PGconn:0x22ed648>:
You are using the postgres-pr adapter
2008 Jan 23
0
allow_concurrency
I see that allow_concurrency is set to false by default. What are the risks
and what can I eventually gain by setting it to true in terms of application
speed ?
TIA,
ngw
--~--~---------~--~----~------------~-------~--~----~
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
2006 Aug 18
1
Ezra....allow_concurrency = false?
In a previous email you wrote this:
Glad you''re getting some use out of the plugin ;) ActiveRecord does
have some issues with threading and concurrency that can sometimes
cause that error you are seeing. Open up your script/backgroundrb/
start file and comment out the following line:
ActiveRecord::Base.allow_concurrency = true
Make sure you do that up in your main app script folder
2006 Apr 19
4
Deployment with Capistrano
Hey all,
Has anyone out there got Mongrel deployments working with Capistrano?
I''ve had a crack at setting it up, and I''ve found that after a
deployment (with updated symlinks) that a mongrel restart does not
pick up the new deployed site. It seems to me (in my linkted
experience) that the HUP that is sent to mongrel does not re-evaluate
the ./current symlink that Cap puts in
2006 Apr 06
4
Mongrel Web Server 0.3.12.3 -- Thread Tracking and Debugging
Hello Everyone,
Mongrel is getting closer and closer to being a rock solid release. My goal
is to release 0.4 as "production ready" by Canada on Rails. Please report
any problems or suggestions you have. There won''t be any major features or
improvements just fixes and code reviews to repair any found bugs or
security concerns.
People interested in Mongrel should look at