similar to: Scheduling in backgroundrb not working

Displaying 20 results from an estimated 100 matches similar to: "Scheduling in backgroundrb not working"

2006 Nov 08
3
0.2.0 worker/slave creation
We ran into some problems accessing a freshly created worker, and had to insert a sleep of 1 second to get it to work. It looks like Ezra and skaar already know this: from middleman.rb: # HACK: there is a race in the worker/slave creation, we # currently need to sleep between create. sleep 0.1 You might want to increase it to 1 second for those of us on slowly mac books.
2006 Dec 08
2
trouble using ActiveRecord classes
I''ve been trying unsuccessfully for the better part of today to write a worker that can use by ActiveRecord model classes. The bizarre thing is that worker just stops at the point accessing the database connection. An exception isn''t raising, it just dies. My worker class is below, I''ve interspersed log messages throughout to try to determine where it is dying. =====
2017 Nov 03
1
Maria 10 breaks unixodbc mysql connector
I think the solution may exist. The compatibility of mysql-connector-odbc with maria may just means the driver can access the mariadb - but my experience suggests not live on the same host. maria has its own connector: https://downloads.mariadb.org/connector-odbc/ it does not look like this is in the sig, so I'll have to turn to the maria repo. I'll try replacing the driver first, then
2007 Mar 13
5
worker starting twice
Hi gang, Thanks to other help I''ve gotten on this list, I''ve got backgroundrb up and running using postgres alongside my rails app. I''ve designed the system to have several eternally-running workers that periodically poll the database to see if there''s any work for them to do, and set things up in the config file to make them restart quickly if any of them
2017 Oct 31
4
Maria 10 breaks unixodbc mysql connector
Thanks for each of your inputs. It was not a configuration issue as odbcinst.ini does not reference the mysql subdirectory. Rather than use Alexander's url, I ran: yum -y install centos-release-openstack-ocata yum -y install mariadb-server ...the cloud repository provides the properly pathed file. # repoquery -l mariadb-server mariadb-libs | grep lib64 | grep libmysqlclient
2017 Nov 03
0
Maria 10 breaks unixodbc mysql connector
What I have found is that the only new shared objects between the different versions of the running isqls is: < lrwxrwxrwx. 1 root root 24 Oct 31 21:25 /usr/lib64/mysql/libmysqlclient.so.18 -> libmysqlclient.so.18.0.0 > lrwxrwxrwx. 1 root root 24 Nov 2 12:13 /usr/lib64/mysql/libmysqlclient.so.18 -> libmysqlclient.so.18.0.0 ... also this is the only shared object with a different
2007 Nov 12
0
Workers calling Workers
Hello, We are working on a centralized report generating project, which calls for data processing on different servers and then centralizes the reports into a single project. What we would like to do is have a Monitor BackgrounDRb worker call another BackgrounDRb worker to process data on a different server, and then have our Monitor Worker collect the data and then store it according to our
2007 Feb 13
2
[PATCH] Eternal flush, memory leaks
Using tincd 1.0.7, if I send a SIGALRM to tincd when a host is unresolvable, it gets stuck in a nasty loop: Feb 12 19:33:02 rosalyn tinc.slamb.org[2925]: Got ALRM signal Feb 12 19:33:02 rosalyn tinc.slamb.org[2925]: Trying to connect to calvin (216.136.66.56 port 655) Feb 12 19:33:02 rosalyn tinc.slamb.org[2925]: Error looking up slamb- linux.dyn.slamb.org port 4500: Name or service not
2006 Jun 19
10
Lighttpd works fine in development. Production not happening
Hello, I''ve checked out my rails tree from svn into the location I intend to run in production mode. However, I am unclear on what exactly needs to change for it to work in production mode. Yes I have: "bin-environment" => ("RAILS_ENV" => "production") When I switch to the externally routed IP address instead of 0.0.0.0:3000 and try running: %
2006 Sep 22
1
setMethod
Hello R-help: I was hoping someone could help me understand a particular function i came across in a package: "$.myClass" <- function( x, name ) { sym = paste( "foo", name, sep = "_" ) if( is.loaded(sym) ) .Call(sym,x) } I understand the paste, and .Call part, but I'm not sure how this function would get called? What exactly is
2007 Feb 13
1
AGI "GET DATA" and "WAIT FOR DIGIT" don't work
Hi. I'm trying to get digits form the user via agi something like this: this only should print result=asciicode but none of the functions even wait until timeout .. they just pass .. (after a nanosecond) the las print is always timeout. Any clue ..? my $callerid = $AGI{'callerid'} ; if($callerid !~ /[0-9]{7,20}/){ #way numbre one print "EXEC PLAYBACK
2007 Feb 13
1
How can I use "Asterisk Manager API" to hold and retrive an active call?
These are common functions. Why "Asterisk Manager" doesn't provide commands to hold and retrive an active channel? If it must be implemented by AGI, could anyone give a direction or steps? Thanks in advance, James -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Feb 13
1
pop3 via tls
hi guys, i want to try pop3 using tls, just like smtp. is it possible ? i want to first create a secure tunnel before donwloading the mails. tnx -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Feb 13
2
Mongrel Stops Responding
We have a development environment that every morning requires a restart because Mongrel just stops responding. I noticed this older thread...but I still experience the problem http://rubyforge.org/pipermail/mongrel-users/2006-August/000950.html We are running nginx..but I also have the mongrel ports open to our IPs..both going through nginx proxy and directly through mongrel fails...then
2007 Feb 13
1
Upgrading from CentOS 4.3 to 4.4 offline
How can I upgrade to CentOS 4.4 from 4.3 if I have no internet connection? Are there upgrade files I can download and use on the offline comp? --------------------------------- What kind of emailer are you? Find out today - get a free analysis of your email personality. Take the quiz at the Yahoo! Mail Championship. -------------- next part -------------- An HTML attachment was scrubbed...
2007 Jun 06
2
struggling with stability
Greetings all, Unit tests are passing, but I''m having mucho problems getting brb to run without exceptions for more than 6 hours. I''m seeing a mixture of the following 2 exceptions: 20070605-11:26:56 (21497) failed to find slave socket - (RuntimeError) 20070605-11:26:56 (21497) /usr/local/lib/ruby/gems/1.8/gems/ slave-1.2.1/lib/slave.rb:435:in `initialize''
2007 Jun 21
0
config file questions
example: :host: 192.168.1.101 :protocol: druby :worker_dir: lib/workers :rails_env: production :pool_size: 15 :load_rails: true :timer_sleep: 60 :acl: :deny: all :allow: localhost 192.168.1.* :order: deny allow I have this config file on 2 app servers running rails. The 2 servers are running behind a load balancer. I''m starting the backgroundrb server on the one server with the
2006 Nov 20
2
schedule support on latest svn, a question
I''m running the latest backgroundrb mainly for scheduled tasks support. As per the documentation I created the backgroundrb_schedules.yml with the following: simple_label: :class: :document_sorter_worker :worker_method: :do_work :job: :bleh :trigger_args: :start: <%= Time.now + 5.seconds %> :end: <%= Time.now + 10.minutes :repeat_interval: 1.minute Under
2006 May 31
7
How do you create a controller & view to create a list of objects?
I''m trying to figure out how to design a view and controller to work with a simple collection. I have a Foo that has many Bars, so here''s what I did: $ ruby script/generate model Foo $ ruby script/generate model Bar (Uncomment t.column, :name: :string in foo and bar migrations) (Edit Foo.rb and Bar.rb, add has_many :bars to Foo, belongs_to :foo to Bar) $ rake db:migrate $ ruby
2007 Feb 13
6
Recomended POE Phones
Hi all, I am looking for phones witch support POE, with a good relation between quality and price to work with asterisk. I just see the Thompson st2030 and the Linksys SPA 922 an SPA 942. Witch of this phones or another ones gave you the best results in a productivity enviroment? Thanks in advance. VoipCrazy. -------------- next part -------------- An HTML attachment was scrubbed... URL: