Displaying 6 results from an estimated 6 matches for "ajsharp".
Did you mean:
ajscarp
2011 Jul 01
5
Timestamp in unicorn logs
I would love to see a timestamp in each line of unicorn stderr and
stdout logs. Has this been considered? Thanks.
Best,
alex sharp
2013 Jan 20
20
ActiveRecord::Persistence.increment! requires a row lock to ensure isolated updates
The method is here:
https://github.com/rails/rails/blob/master/activerecord/lib/active_record/persistence.rb#L288.
The method takes the in-memory attribute value and increments it by the
specified amount. A safer approach (from an isolation standpoint) would be
to let the database determine the value. Instead of telling the database
what value to persist in the database, the SQL can written
2011 Nov 14
3
nginx + unicorn deployment survey
Hello all, I''m wondering if you deploy nginx:
1) on the same machine that runs unicorn (exclusively proxying to that)
2) on a different machine that doesn''t run unicorn
3) both, nginx could forward to either to localhost
or another host on the same LAN
And of course, the reason(s) you chose what you chose. I''m inclined
to believe many folks are on 1) simply
2011 Oct 08
5
How to automate the restarting of Unicorn?
Hi,
I have a question about automating the restarting of Unicorn with the
following steps, and much appreciate your help.
Assumption: (i) "pid" is set to unicorn.pid in the config file; (ii) a
Unicorn process is already running.
(1) kill -USR2 `cat unicorn.pid` (via Capistrano deployment task for example)
(2) Inside the "before_exec" hook in the config file, do: kill -QUIT
2011 Aug 03
2
Question about HUP + USR2 + QUIT
Currently, on deploys we''re sending HUP to the "old" master to reload
the config, and then we send it a USR2 to reload the app code. Is this
redundant -- i.e. does USR2 reload the unicorn config, or just the
application code? I am under the impression that USR2 forks a new
master from the old, and only reloads app code, and not the unicorn
config, but I just wanted to double
2011 Jul 25
2
SIGTERM not actually killing processes
Hi,
Unicorn is saying it''s terminating but it''s not actually. Check out
the gist:?https://gist.github.com/1104930
Using:
- Ruby 1.9.2p180
- unicorn 4.0.1
- kgio 2.6.0
- bundler 1.0.15
- Linux maynard 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:07:17
UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
Please let me know if there''s any other info I can provide.
Thanks,
Jesse