-
as seen on Server Fault
- Search for 'Server Fault'
We have some daemons executing on a number of hosts.
The daemon executable images are these very large binaries that are hosted on NFS.
When the binaries are updated on the NFS server, the previously running daemons sometimes drop dead with a Bus error. I'm assuming what's happening is the NFS…
>>> More
-
as seen on Super User
- Search for 'Super User'
Hello, All!
I have a strange behavior on Ubuntu 10.4:
few daemons (apache2 and postgresql (8.4SS from enterpriseDB) did not start automatically.
Funny things that time-to-to they do. (If I just restart my computer everything looks ok, but if I turn it off for the night, nothing work..., so I have…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My controller data_files_controller.rb
def upload_balances
DataFile.load_balances(params)
end
My model data_file.rb
def self.load_balances(params)
# Pull the file out of the http request, write it to file system
name = params['Filename']
directory = "public/uploads"
errors_table_name = "snapshot_errors"
upload_file…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi, I've written this ruby daemon, and was wondering if somebody could have a look at it, and tell me if the approach I've taken is correct.
#!/usr/bin/env ruby
require 'logger'
# You might want to change this
ENV["RAILS_ENV"] ||= "production"
require File.dirname(__FILE__) + "/../../config/environment"
$running…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Dear Stackoverflowers,
A simple link would be nice for me to understand how to install my C++ program as a deamon in UNIX, now i know some will say this should be on SERVERFAULT but as far as i understand it i need the init.d shell script to actually create the start and stop for the daemons.
But…
>>> More