Displaying 20 results from an estimated 3000 matches similar to: "Ubuntu upstart"
2011 May 19
2
Unicorn preload_app and upstart
?Hi,
I was wondering if anyone has managed to get the preload_app and SIGUSR2
combination working well with upstart?
My issue currently is that when I perform a SIGUSR2 against the master,
check everything''s working and close off the old master, upstart then
attempts to restart it because the original PID/binary are no longer
running.
What is the correct way of handling this? In my
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 May 19
2
unicorn doesn't restart properly after cap deploy (not using Bundler)
Hey guys,
I''m sending USR2 to unicorn after cap deploy, and the old master is
getting replaced by a new master that doesn''t work.
Here are some similar threads I found ...
http://rubyforge.org/pipermail/mongrel-unicorn/2010-October/000733.html
http://rubyforge.org/pipermail/mongrel-unicorn/2010-October/000717.html
I''m not using Bundler, and I have working_directory
2011 Apr 25
6
Unicorn / Daemontools
Hi -
I tried to get Daemontools and Unicorn working together a while back -
there are issues on USR2 restart because of the pid
change - I''m hoping someone in the community will have some
understanding of this issue
I documented my experience and eventual defeat here :
http://log.robotarmyma.de/post/2053448029/daemontools-ubuntu-rvm-bundler-unicorn-install
Any help would be received
2010 Sep 09
4
Unicorn fails to restart gracefully on capistrano deploy
First off thanks very much for all the hard work on unicorn. Alas, we''ve encountered an issue where unicorn fails to spawn new workers that have loaded the incoming revision on a capistrano deploy. I''m not entirely sure the issue is due to unicorn as it appears that bundler was responsible for a similar issue in the past:
2012 Jan 31
12
FreeBSD jail and unicorn
Hello,
I''m using unicorn since a while, but now I try to run it the first time
inside a FreeBSD jail.
The initial start of unicorn works fine and it serves all the requests.
But if I want to restart it using the USR2 signal, it (more or less)
slowly starts using more and more CPU cycles. There is no error message in
the logs and it quite hard to reproduce that error. In 1 of 20 tries,
2009 Nov 04
7
About Unicorn Rack handler
Hi,
A couple days ago, I was trying to run Unicorn for Ramaze,
and found that `Unicorn.run'' didn''t share the same interface
with other Rack handlers, i.e. `options[:Host]'' and `options[:Port]''
Because of this, I can''t just use:
Rack::Handler.register(''unicorn'', ''Unicorn'')
And invoke this:
2013 Dec 09
2
[PATCH] rework master-to-worker signaling to use a pipe
Signaling using normal kill(2) is preserved, but the master now
prefers to signal workers using a pipe rather than kill(2).
Non-graceful signals (:TERM/:KILL) are still sent using kill(2),
as they ask for immediate shutdown.
This change is necessary to avoid triggering the ubf (unblocking
function) for rb_thread_call_without_gvl (and similar) functions
extensions. Most notably, this fixes
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
2008 Jul 18
1
Feedback and help in porting the NUT sysV init script to upstart
hi there,
first, kudos to Scott. You guy rock with this revolutionizing (and so logic)
idea ;-)
next, a personal point of view about the lack of upstream adoption of
upstart:
I wanted to provide an upstart script for NUT for some time, but never found
enough matching example to do so.
the embedded scripts only address inittab, and the replacement-initscripts
are unreachable (see below) and far
2013 May 03
2
rsync not running with upstart
Hi all,
I need some help by solving a strange problem:
Situation:
I wrote a scrip that uses rsync to send backups to another server.
It does something like:
/usr/bin/rsync -azi --numeric-ids --exclude tmp --exclude var/spool/ --delete -e ssh root at 10.0.0.65:/ /storage/volumes/65
The script has a source file that dictates which servers to backup. E.g. several ip address are visited to
2013 Oct 11
2
upstart script for virtlockd
Hi all,
Trying to test libvirt 1.1.3 with virtlockd locking my qcow2 images on a NFS storage between two kvm hosts.
./configure ... --with-init-script=upstart
Libvirtd upstart script is actually well generated but I can't see nothing about virtlockd... or am I blind ? :)
Nevertheless, running virtlockd -d && service libvirtd restart works fine.
Am I wrong thinking that editing
2013 Oct 21
1
Re: upstart script for virtlockd
Hi Eric,
Here is my try to write a quick upstart script for virtlockd.
It should be named /etc/init/virtlockd.conf, then : ln -s /lib/init/upstart-job /etc/init.d/virtlockd
It seems to work for me :
# virtlockd - Locking daemon for libvirt
description "virtlockd"
start on filesystem and runlevel [2345]
stop on starting rc RUNLEVEL=[016]
pre-start script
test -x
2009 Sep 29
1
RHEL 6/Upstart
Has a beta been released and if so can anybody say whether it uses Upstart?
or Has anyone worked with Upstart?
2012 May 30
1
need assist with upstart config problem
I am trying, without success, to create an upstart config file to
automatically start and restart an ssh proxy. The command sting that
I use in the script has been checked and verified from the shell but
it fails in the upstart file.
The file contents are:
. . .
# proxy is used to authenticate smtp submissions
# so start it before the postfix service starts
start on starting postfix
# Take
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 May 14
1
upstart configuration for nut
Hello,
I'm just migrating my boxes to fedora 9 which brings us to the upstart
mechanism instead of SystemV, etc.The distro as it is delivered does not
have configuration which supports powerfail events.
What can I put in /etc/events.d to make nut work again with the rest of
the system fortimely shutdown, etc?
Pointers to example files are very welcome!
Thanks.
Kind regards,
Udo
2012 May 09
5
Unicorn doesn't play nice with Capistrano deployment?
I am having issues when using unicorn with a Capistrano deployment.
>From what I have been able to understand Capistrano uses a scheme in
wich every release is deployed inside the releases directory under a
unique name and if the transaction was successful, creates a symlink
named current that will point to that release.
So I end up with a deployment directory such as:
2017 Jan 07
2
Ubuntu upstart script ad dc
I am running a samba ad on Ubuntu 16.04 configured as told in
https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller
The server is running fine currently, but I have to manually start it
after every reboot. The link to the upstart scripts in the wiki are dead:
https://wiki.samba.org/index.php/Samba_AD_Init_Script_Examples
Does anyone have a functioning init
2011 Jul 11
6
Unicorn vs Apache
Hello all,
I have always deploys rails apps with unicorn and nginx as a reverse
proxy in the past. However, I am working with a new firm and they would
like to use Apache with mod_pagespeed in front of unicorn.
We will be deploying a rails 3.1 app with streaming. To me,
mod_pagespeed does not seem like a magic bullet, as it appears to be a
collection of best practices which have to be rewritten