Displaying 20 results from an estimated 600 matches similar to: "Capistrano Hanging on Deployment"
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
I have noticed that occasionally (about 50% of the time) when i
deploy (using capistrano) my app to a production server, i have to
ssh into the box and manually
stop and start backgroundrb to get it to load my workers.
this is my basic setup
i have 2 workers:
lib/workers/mp3_worker.rb => takes a hash of params to downsample an
mp3
lib/workers/flv_worker.rb => takes a has of
2006 Aug 24
5
Unable to start with Capistrano...
I''ve created a couple of tasks in my deploy.rb file for starting and
stopping backgroundrb on the remote server. The stop task runs fine
and kills the process. And the start task *seems* to run successfully,
but backgroundrb is never started on the remote host.
Has anyone had success with this? Here are my deploy tasks:
desc ''Start backgroundrb server (default
2008 Mar 28
5
Upgrading from older version - how?
Hi there,
We''ve been using previous version of bdrb (drb based one) for a while
and it was running relatively OK. We recently attempted to upgrade to
the new version to keep up / use supported version but we ended up
reverting to the older version.
Here are the things that moved us to revert :
1) With the workers we never manage to pass this error:
''''
You have a nil
2008 May 05
2
Deploying to a staging server using Capistrano: how to start up BackgrounDRb?
Hi.
I am using BackgrounDRb to process thumbnails and upload to S3 -
things are hunky-dory in development (thumbs are generated, these are
uploaded to S3, the metadata is saved to trhe DB, and I get a nice
status page updated by periodic calls via ask_status), but when I
tried to deploy to our staging server and stop/start BackgrounDRb via
Capistrano, things blew up - well, not exactly,
2019 Oct 13
4
After upgrading samba 4.5.10 to 4.9.13
Good time!
After upgrading samba 4.5.10 to 4.9.13, name resolution in AD hangs.
# /etc/init.d/samba status
?* status: crashed
But the domain itself works, but hangs when resolving user names.
What can be done?
[2019/10/13 12:24:52.896473, 10, pid=17379, effective(0, 0), real(0, 0),
class=ldb] ../lib/ldb-samba/ldb_wrap.c:77(ldb_wrap_debug)
? ldb: Added timed event
2005 Aug 05
1
starting asterisk with nice -5
Is there any script guru on the list that can help me.
I'm trying to start asterisk with nice -5.
Normally the command would be:
nice -5 asterisk
but asterisk start from the scrip on Gentoo as -U asterisk -G asterisk
Here is the script:
===============
depend() {
need net
use zaptel
}
start() {
local OPTS USER GROUP
if [[ -n "${ASTERISK_NICE}" ]];
2007 Jan 26
2
environment variables required for startup
Using dovecot-1.0-rc19 (quotas are working good, btw) on Gentoo, I have
a strange problem. On boot, dovecot doesn't start, the init script just
times out. From the command line, it starts instantly without problem.
Also, using a program called 'monit' to make sure processes stay
running and restart them if they stop, if I manually stop dovecot, it
is then unable to start it (calling
2004 Dec 03
1
Re: Shorewall-users Digest, Vol 25, Issue 9
> Message: 2
> Date: Fri, 03 Dec 2004 10:10:35 +1300
> From: Paul <lists@loudas.com>
> Subject: [Shorewall-users] another network to add
> To: Shorewall List <shorewall-users@lists.shorewall.net>
> Message-ID: <41AF84CB.5080304@loudas.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi Tom (and others)
> encase you
2006 Dec 07
8
Cluster restart leaving orphaned processes?
First off, a big thank you to Zed and the development team for
mongrel and mongrel cluster. I''ve deployed it for two apps (through
an apache 2.2 proxy) and it''s amazing how much snappier everything
is. Previously we were using lighttpd and lighttpd-fastcgi proxying
through apache 2.0, which was turning into a hassle for lots of
reasons, most notably the ruby fcgi
2005 Oct 13
12
HFSC Advanced Limiting
I am investigating changing our broadband bandwidth control scripts over to HFSC. What I would like to accomplish is this:
{ * DOWNLOAD *
I need a download class for each user (we''ll call it Class 1) that offers a minimum of lets say 384Kbps and a maximum of 1.5Mbps.
The rates between 384Kbps and 1.5Mbps should be shared among all users.
Each user should always be able to get at
2019 Oct 13
0
After upgrading samba 4.5.10 to 4.9.13
On 13/10/2019 15:06, ??????? ??????? wrote:
> #!/sbin/openrc-run
Never used openrc :-(
> # Copyright 1999-2018 Gentoo Foundation
> # Distributed under the terms of the GNU General Public License, v2 or
> later
>
> extra_started_commands="reload"
> [ -z "${piddir}" ] && piddir="/run/samba"
>
> depend() {
> ??????? after slapd
2006 Jan 26
7
Switchtower Port Issues
Hi there,
I''m having some difficulties finding some decent info on getting
Switchtower to function for my needs. I''ve read most of the
Switchtower doc on http://manuals.rubyonrails.com/read/chapter/97,
however it''s not answering some potent questions I have.
1. The doc mentions, as an example, using an SVN repos at
http://svn.switchtower.com/flipper/trunk
What if I
2014 Jan 06
2
inotify max_user instances
Hello,
Timo, last year when you remoted into our server and performed the
migration from courier-imap, we ran into this issue, and you solved it
by doing:
echo 1024 > /proc/sys/fs/inotify/max_user_instances
Then you said you were going to solve this permanently by changing the
init script...
Here is what you said (this is from the skype chat):
[2012-06-04 10:40:43 AM] timosirainen:
2012 Apr 12
7
Run rsync even not connected
I hopethis hope this makes sense. How do you make rsync run even when not physically connected to the server? In other words, I run rsync from the terminal via vnc and when I log out of the connection, rsync stops running. Is there a script or something I can use?
Sent from my iPhone
2008 Dec 30
3
integration of tzinfo with icalendar
My interest in icalendar is more on the ical generation side instead of
the ical parsing side. As such, I did a bit of work on a tzinfo mixin
that will generate the timezone rules based on the tzinfo gem. This
lets you do the following:
estart = DateTime.new(2008, 12, 29, 8, 0, 0)
eend = DateTime.new(2008, 12, 29, 11, 0, 0)
tstring = "America/Chicago"
tz =
2018 May 15
2
Four bitcode generated with plugin-opt=save-temps
Hi
I use the LDFLAGS=" -flto -fuse-ld=gold -Wl,-plugin-opt=save-temps " to
generate the makefile and to make the whole program. However, found four
different kinds of bitcode for each target. For example, I am compiling
coreutils. For the program "nohup", I can get
nohup.0.0.preopt.bc
nohup.0.2.internalize.bc
nohup.0.4.opt.bc
nohup.0.5.precodegen.bc
If I am right, I
2006 Jan 19
12
Switchtower isn''t restarting lighttpd
I''ve got switchtower set up, and it seems to work fine except for one
problem: It doesn''t successfully restart lighttpd. I have the
following task in my deploy.rb file:
desc "Restart the web server"
task :restart, :roles => :app do
sudo "/usr/local/etc/rc.d/lighttpd.sh restart"
end
This is on a FreeBSD system, so it''s using the rc script to
2018 May 15
1
Four bitcode generated with plugin-opt=save-temps
Hi Teresa
Thanks for your very quick and clear explanation. I have one more question.
The emit-llvm option will give you the IR for a single source file when you
compile it with -c. All of those files when combined give the IR in the
preopt.bc temp file.
===========
So if I use "clang -emit-llvm -c" to generate the .ll file. It should be
the same as the one I generated by using
2006 Feb 20
5
RailsCron: error message
Hi,
I''m trying to use RailsCron but keeping getting an error when I try to run
it. I''m a beginner, so please use small words :)
-bash-2.05b$ rake cron_start
(in /home/jake/rails_sites/testsite)
Syntax error: "&" unexpected
The little bit I know about my environment:
- RailsCron installed as a plug in (not gem, cause I''m on a shared host)
- Debian Linux
2018 May 15
0
Four bitcode generated with plugin-opt=save-temps
These are the bitcode at different stages of the LTO portion of the
compile. LTO merges the IR for all files being linked and optimizes them as
a single monolithic module. The preopt.bc is the merged IR just after
merging and before performing any LTO optimizations. internalize.bc is
after performing whole program internalization. opt.bc is after the
optimization pipeline, and .precodegen.bc is