Displaying 8 results from an estimated 8 matches for "airbladesoftware".
2012 Nov 19
3
Number of worker processes on hyperthreaded processor
Good morning,
The tuning page says worker_processes should be at least the number of CPU cores on a dedicated server. In the case of hyper-threading, should this be the number of cores or the number of threads?
For example the Intel Core i7-2600 Quadcore[1] has 4 cores and 8 threads. Would I start my worker_processes at 4 or 8?
Finally, would the same apply to Nginx worker processes?
Many
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 Jan 24
7
Differences between assert_tag and assert_select
Hi all,
I can't seem to make assert_select work for the more complex cases for me.
Here's a sample:
# View
<%= link_to_remote 'Add new', :url => new_phone_url, :submit => 'phones_head' %>
# Generated code:
<a href="#" onclick="new
Ajax.Request('http://test.host/admin/parties/phone/new',
{asynchronous:true, evalScripts:true,
2012 Dec 07
3
Ubuntu upstart
I cannot find any good example of a unicorn upstart task that works
properly for the following:
* Upstart will restart if unicorn dies
* Can send USR2 signal to unicorn to do a no downtime deploys
* Able to stop upstart job, even after a deploy
I have tried the following:
expect fork
respawn
setuid www-data
chdir /var/www/app/current
exec bundle exec unicorn_rails -E production -c
2007 Nov 03
4
Mongrel Cluster: Rolling restart?
Hi all,
Forgive me if this has been asked before, but is there a reason
mongrel_rails cluster::restart stops all ports and then restarts them
again? Wouldn''t it be better to restart each port one-by-one in
series so that upstream proxy servers can fail over while the restart
is occurring, or am I missing something?
Thanks,
eden
2006 Nov 29
4
Importing Database into Rails App database?
I''m working on an app that uses info from a government database. For a
variety of reasons (not the least of which is that their database is in
MS Access), I can''t simply write a wrapper around the legacy database.
Instead, we''re looking to have an "import" script in the Rails
environment (it''s fine if it''s run from the server and through the
2008 Jan 14
29
Ebb Web Server
Hello Mongrel Users,
I''m writing a web server called Ebb. It''s written in C, makes use of
the Mongrel HTTP parser, and uses libev its event loop. The goal is to
be small, fast, and language independent server that can host web
frameworks. I have written a small Ruby binding which provides a Rack
handler - this will allow Ebb to host Rails, Merb, and other Ruby
frameworks. In the
2006 Dec 07
6
Response To Form Submission Hanging
Hello,
I am using Mechanize to post a form to a website. When I do this by
hand in my browser the response takes about 35s to come back (it''s a
long page full of tables and graphics). When I do this with
Mechanize, the server starts to respond and then appears to hang.
The obvious conclusion is that my code is wrong but I am reasonably
sure that I haven''t altered it