Displaying 20 results from an estimated 1000 matches similar to: "ssh and popen-- broken pipe"
2005 Nov 23
8
a question about popen() performance on domU
Dear all,
When I compared the performance of some application on both a Xen domU and a standard linux machine
(where domU runs on a similar physical mahine), I notice the application runs faster on the domU
than on the physical machine. Instrumenting the application code shows the application spends more
time on popen() calls on domU than on the physical machine. I wonder if xenlinux does some
2008 Mar 13
0
popen pipe connection occasionally fails
Hi all,
I am encountering the following crash-causing bug using popen on occasion.
I haven''t been able to narrow it down yet, but I am curious if anyone else
has seen it or may have more information for me:
Workers::DviToPng::PipeProtocol
> terminate called after throwing an instance of ''std::runtime_error''
> what(): unable to reap subprocess
> Abort trap
2012 May 27
0
[RFC PATCH] Decrease Metadata Fragment Using A Caterpillar Band Method
I made an attempt to partly decrease fragment by using a preallocated
area of multiple size of a std blocksize for a tree block when it is COWed.
The basic idea is that if any a tree block need to be created,
we offer, say, 2 or 4 multiples of a std blocksize for it, then use the
first block in the continuous blocks. When this block need a cow in the
future, a new free block in these continuous
2002 Sep 19
1
How to call stored procedure from RODBC?
Hi,
Does anyone know how to call stored procedure from RODBC? Thanks.
Lingyun
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
2002 Sep 04
1
Passing dynamic sql statement to RODBC functions
Hi,
Does anyone know how to pass dynamic sql statement to RODBC function
"odbcQuery()" or "sqlQuery()"?
eg.: under R session, I did:
>library(RODBC)
>channel<-odbcConnect(...)
>data1<-2.5
>data2<-5.0
I want to construct the INSERT sql statement using variables "data1" and
"data2" and pass this statement to odbcQuery() . Can I do this?
2000 Apr 19
0
Problems with Samba 2.0.6 under Solaris 7
We've inadvertently discovered a bug in the client_name function when our
dns was temporarily damaged. We have a "hosts allow" function that has IP
addresses only to contrain mounts to within our network. When clients would
attempt to connect, if their reverse IP lookup failed - in theory just to
log the name of the connecting host, the originating IP address was being
mangled and
2005 Mar 12
1
popen() fread() system()
I''ve got a client who''s recently been moved onto a CentOS4 machine
from a 3.x and is writing:
"It looks like there''s one remaining problem now; at several points in the PHP
part of the dating software, C- binaries are called using popen().
The binaries work correct (tested at the command line with the proper
arguments)
The popen() retrieves the correct command
2006 Jan 05
4
Apache2 and popen
I''m running Apache2 on windows and I have a controller that issues a popen.
class FileController < ApplicationController
def index
f = IO.popen("dir")
@files = f.readlines
end
end
This works using webbrick but on Apache produces...
----------
Errno::ENOENT in File#index
No such file or directory - dir
RAILS_ROOT: C:/www/teensymud/public/../config/..
2006 Jul 13
1
Problems With IO.popen
Howdy.
I am trying to launch an external shell process from my Rails app using
IO.popen.
The process runs just fine when I am logged in as the user from the shell
but when I run it from Rails, the task doesn''t run properly and the output
is too truncated to see any errors.
Anything special I need to worry about when running shell tasks this way?
I have code like the following:
2007 Jan 17
2
Using IO.popen to capture stderr?
Hello,
I''m trying to write a utility to run an external process and capture
it''s stderr. It seems that IO.popen only lets me read the stdout. Any
tips for how to read stderr?
Mike
snippet of code...
def process_file(filename)
@filename = filename
puts "Processing: " + @filename
cmdline = "ffmpeg -i " + @filename
ffmpeg =
2006 Jul 18
0
ffmpeg and IO.popen
i?m fairly new to ruby...
any suggestions getting the below to work...
i?d like to use myfile_field.read within encodeVideo
and then self.data = Student_Interviews.flv
class Myfile < ActiveRecord::Base
.
.
.
def encodeVideo opts #, stream
IO.popen(?ffmpeg #{opts}?, ?w?)#{ |io| io.puts stream}
end
def myfile=(myfile_field)
if myfile_field and myfile_field.length > 0
encodeVideo ?-i
2006 Jul 24
1
Plotting league tables/ caterpillar plots
Dear list,
I was wondering if there is a function to plot league tables, sometimes
also known as "caterpillar plots"?
A league table is conceptually very similar to a box plot. One difference
is that the inter-quartile ranges are not shown. If there isn't such a
function a first attempt for a "selfmade" plot would be to tell boxplot
not to plot boxes (sounds silly
2008 Jan 15
4
popen woes
From: "Michael S. Fischer" <michael at dynamine.net>
>
> I wanted my worker program (which uses EM) to pass the user''s password
> to the Expect script via standard input in order to avoid some
> security hazards associated with alternatives such as storing it in a
> file or in the environment, either of which may be observed by others
> logged into the
2010 Feb 02
3
Generating a PDF using popen and wkhtmltopdf
As described on wkhtmltopdf Google group
(http://code.google.com/p/wkhtmltopdf/issues/detail?id=162), I have a
problem generating a PDF while using popen and wkhtmltopdf.
wkhtmltopdf takes HTML code as input and ouputs a PDF file. Here is what
I''m doing:
command = ''"C:\Program Files\wkhtmltopdf\wkhtmltopdf.exe" - - -q''
IO.popen(command,
2006 Feb 05
1
3-dimensional table
Hi,
Last week my class conducted an experiment by putting out clay
caterpillars to look at the effects of urbanization, color, and location
on caterpillar predation. There were two sites (urban, rural), three
colors (green, yellow, red) and two locations at each site (edge,
interior). The entire data set is below. I've checked out the MASS
book, Dalgaard's book, and the R-help archives
2009 Jul 23
1
help with randomisation test...
Dear R-people,
I hope asking this is not too cheeky, but I do have a R Problem. I hope
that some of you like to play around with R and can help me.
Its like this. I have several plant species (A,B,C) and 10 replicates
per species. 5 plants per species are damaged, 5 not. I let a
caterpillar feed on each plant and measured the growth of the
caterpillars on control plants (CR) and on damaged
2006 Oct 02
1
Omindex.cc BSD bug
Hi guys:
I was trying to index a large set of PDF documents using omindex
and the system started to run out of forks (sh: fork temporarily
unavailable) making the system unusable and probably skipping documents.
I'm using MAC Osx Server 10.4.3 (Darwin/BSD) and GCC 4.0.
The problem: On function stdout_to_string a popen is called, but is not
closed properly (according the popen
2005 Feb 01
1
Process to both write to and read from (pipe/fork)?
Dear all,
I would like to start a process from an R program in such a way that
I can both feed input into the process and read the process's output.
It seems that in R, I can have a pipe for writing into another process's
input or a pipe for reading from another process's output, but not both.
Doing both necessitates forking, such that the child can start the
external process and
2005 Feb 01
1
Process to both write to and read from (pipe/fork)?
Dear all,
I would like to start a process from an R program in such a way that
I can both feed input into the process and read the process's output.
It seems that in R, I can have a pipe for writing into another process's
input or a pipe for reading from another process's output, but not both.
Doing both necessitates forking, such that the child can start the
external process and
2016 Mar 29
0
[PATCH 1/2] rename icat API to download_inode
Signed-off-by: Matteo Cafasso <noxdafox@gmail.com>
---
daemon/sleuthkit.c | 79 ++++++++++++++++++++++++++++------------------------
generator/actions.ml | 6 ++--
2 files changed, 47 insertions(+), 38 deletions(-)
diff --git a/daemon/sleuthkit.c b/daemon/sleuthkit.c
index 0fe1250..536febb 100644
--- a/daemon/sleuthkit.c
+++ b/daemon/sleuthkit.c
@@ -29,55 +29,55 @@
#include