Displaying 20 results from an estimated 200000 matches similar to: "child process"
2023 Mar 23
1
[libnbd PATCH v3 14/19] CONNECT_COMMAND.START: plug child process leak on error
A prior patch highlighted the following leak: when any construction step
fails in the parent after fork(), the child process is leaked.
We could plug the leak by inserting a new error handling section for
killing the child process and reaping it with waitpid(). However, it would
raise some new questions (what signal to send, ensure the child not ignore
that signal, hope that whatever process
2017 Jan 25
0
parallel::mc*: Is it possible for a child process to know it is a fork?
On Tue, Jan 24, 2017 at 7:06 PM, Henrik Bengtsson
<henrik.bengtsson at gmail.com> wrote:
> When using multicore-forking of the parallel package, is it possible
> for a child process to know that it is a fork?
R internally uses R_isForkedChild to prevent certain operations within
the fork. However I don't think this is exported anywhere. You could
do something like:
extern
2017 Jan 25
2
parallel::mc*: Is it possible for a child process to know it is a fork?
When using multicore-forking of the parallel package, is it possible
for a child process to know that it is a fork? Something like:
parallel::mclapply(1:10, FUN = function(i) { test_if_running_in_a_fork() })
I'm looking into ways to protect against further parallel processes
(including threads), which not necessarily are created via the
parallel:mc* API, are being spawned off recursively.
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
2007 May 02
2
Deadlock when child process is forking?
I''ve found what I think is a deadlock in the dtrace fork code.
My only Solaris test machine is a single cpu box, where I have been
unable to reproduce in the field so far. I''ve been able to reproduce
on other platforms.
Here is the scenario. You''ve got a target process, which has
static probes. It is calling fork(), which causes it to end up at line
330
in fork.c:
2000 May 16
1
on Solaris, "couldn't wait for child '...' completion: No child processes"
Trying to install the portable OpenSSH on Solaris 2.6. Compiling from
openssh-2.1.0.tar.gz using gcc. Compiles and installs fine. sshd
starts fine. First connection from another system works. Child sshd is
forked, but the parent dies and logs:
May 16 11:40:56 qtrade-dev sshd[6510]: error: Couldn't wait for child '/usr/bin/
ls -alni' completion: No child processes
May 16 11:40:56
2013 Feb 15
20
[Bug 2071] New: sshd closes stderr but not stdout when child process exits
https://bugzilla.mindrot.org/show_bug.cgi?id=2071
Bug ID: 2071
Summary: sshd closes stderr but not stdout when child process
exits
Classification: Unclassified
Product: Portable OpenSSH
Version: 6.1p1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
2006 Jun 05
1
starting a non blocking child process
>From a ruby program I would like to start another process which should
continue to run even after the parent process dies.
Is there any way I could achive this?
>From the child process I want to start an instance of SCGI server which
should continue to run even if the parent process dies.
Thanks in Advance,
Jatinder
-------------- next part --------------
An HTML attachment was
2000 May 19
2
Solved: on Solaris, "couldn't wait for child '...' completion: No child processes"
> John Horne [SMTP:J.Horne at plymouth.ac.uk] wrote:
>
> Emanuel Borsboom <emanuel at heatdeath.org> wrote:
>> Trying to install the portable OpenSSH on Solaris 2.6. Compiling from
>> openssh-2.1.0.tar.gz using gcc. Compiles and installs fine. sshd
>> starts fine. First connection from another system works. Child sshd is
>> forked, but the parent dies
2018 Jun 07
2
XRay TID mismatch when forking
Hello,
There seems to be a bug with the value of the thread ID (TID) that is
generated by XRay when calling fork(). The value of the TID of the child
has the same TID as its parent (this is seen in the “thread: “ field of the
YAML output produced by the llvm-xray tool). This is a problem as the trace
generated contains the same TID for the parent and children processes,
making it difficult to
2004 Feb 20
0
RE: BUG report: win32-process
> -----Original Message-----
> From: Date, Shashank [Non-Employee]
> [mailto:Shashank.Date@mail.sprint.com]
> Sent: Friday, February 20, 2004 11:04 AM
> To: Berger, Daniel
> Cc: phasis@nownuri.net
> Subject: BUG report: win32-process
>
>
> gets does not work in the forked process.
>
> See win32 and cygwin transcripts below:
>
>
2002 May 14
0
[Bug 241] New: When I kill scp, the underlying ssh child process remains alive
http://bugzilla.mindrot.org/show_bug.cgi?id=241
Summary: When I kill scp, the underlying ssh child process
remains alive
Product: Portable OpenSSH
Version: 3.1p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P3
Component: scp
AssignedTo: openssh-unix-dev
2011 Apr 18
2
Problem with resque; parent process doesn't die
I am facing problem in resque process. I have following implementation:
/config/resque_schedule.yml
add_jobs_to_queue:
cron: "15 * * * *"
class: FooJob
description: "Find results from class Bar and put on queue"
/app/jobs/foo_job.rb
class FooJob
@queue = :normal
def self.perform
Bar.add_jobs
end
end
app/models/bar.rb
class Bar
def self.add_jobs
2002 Apr 12
0
Problem with child process exit status.
Initial problem:
When running 'make test' the hands.test fails as indicated in problem #3711
and includes the line
rsync error: unexplained error (code 63) at main.c(537)
The code # changes each time the test is run.
Using HP C-ANSI-C B.11.11.02.
configure line:
CFLAGS="-O" ./configure --prefix=/opt/local
In tracking this down, this is what I found:
In main.c a
2013 Jul 02
3
Ctrl+C in R will terminate the child process which is spawned by using "pipe"
Hi, all,
I pressed Ctrl+C in R process, and found that the child process which was
spawned by using "pipe" is terminated due to this.
Are there any way to work around it, so that the child process can run
happily without being terminated? Or can we block the signal for the child
process?
1. I used pipe to spawn one C++ process, which will running in a loop
without exiting immediately.
2001 Oct 03
1
Environment in child processes
I've recently been trying to run the United Devices THINK agent under wine.
On installation, all was going well until the registration process tried to
connect to the UD server, when it failed to establish contact. Investigation
of the debug messages revealed that it was getting the address to contact vi
a call into msvcrt.getenv() which was returning the value "C:\WINDOWS" for
all
2007 Mar 08
1
cant fully capture child output
I cant seem to get the io from a child process of a worker back to my
client. There most be something academic I''m missing :/. I looked at
examples in Pickaxe and Ruby PLEAC library ... and I believe the following
should work:
# called from within do_work...
def backup(repo)
logger.info(''SvnWorker backup repo ''+repo)
tmp = []
my_project =
2014 Jul 23
0
Samba 4.1.9 - Could not find child error
We are seeing this error in the logs every minute -
[2014/07/23 16:40:59.829260, 2, pid=13355]
../source3/smbd/server.c:437(remove_child_pid)
Could not find child 19021 -- ignoring
I know there is an old bug/fix -
https://bugzilla.samba.org/show_bug.cgi?id=8269
smb.conf entries related to printer and printcap (disabled) -
load printers = no
printcap name = /dev/null
printcap cache time =
2007 Jan 12
2
Forking a process in Rails is messing up mongrel
I''m trying to run an external Ruby script from my Rails app.
To do this i''m using this function
def fork_with_new_connection(config, my_class = ActiveRecord::Base)
pid = fork do
begin
my_class.establish_connection(config)
yield
ensure
my_class.remove_connection
end
end
Process.detach(pid)
end
Then, within my controller I do this: