Displaying 20 results from an estimated 5908 matches for "forking".
Did you mean:
working
2017 Nov 09
3
check does not check that package examples remove tempdir()
I was looking at the CRAN package 'bfork-0.1.2', which exposes the Unix
fork() and waitpid() calls at the R code level, and noticed that the help
file example for bfork::fork removes R's temporary directory, the value of
tempdir(). I think it happens because the forked process shares the value
of tempdir() with the parent process and removes it when it exits.
This seems like a
2020 Mar 23
2
Samba still DNS Exit Code 23
Hello Samba Group
Today installing the Samba Version 4.11.7-Debian pkg from Louis, Thanks
Louis !!
The Server will running but watching on the service i have DNS Problmes.
Please can give me any update here : what are runing wrong.
--
samba-ad-dc.service - Samba AD Daemon
Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; vendor
preset: enabled)
Active:
2020 Jan 10
6
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...ault method="libcurl"
> but not for method="curl" or method="wget".
>
> Further documentation is needed and would help but I don't believe
> it's sufficient to solve everyday problems. The argument for
> introducing an option/env var to disable forking is to give the end
> user a quick workaround for newly introduced bugs. Neither the
> develop nor the end user have full control of the R package stack,
> which is always in flux. For instance, above mclapply() code might
> have been in a package on CRAN and then all of a sudden
>...
2019 Apr 11
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
ISSUE:
Using *forks* for parallel processing in R is not always safe. The
`parallel::mclapply()` function uses forked processes to parallelize.
One example where it has been confirmed that forked processing causes
problems is when running R via RStudio. It is recommended to use
PSOCK clusters (`parallel::makeCluster()`) rather than *forked*
processes when running R from RStudio (
2020 Jan 10
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
If I understand the thread correctly this is an RStudio issue and I would suggest that the developers consider using pthread_atfork() so RStudio can handle forking as they deem fit (bail out with an error or make RStudio work). Note that in principle the functionality requested here can be easily implemented in a package so R doesn?t need to be modified.
Cheers,
Simon
Sent from my iPhone
>> On Jan 10, 2020, at 04:34, Tomas Kalibera <tomas.kaliber...
2020 Jan 11
1
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...may be your responsibility to make sure things are handled properly - again, that's what pthread_atfork() is for. Most libraries don't allow duplicated fds or have rules about thread safety, so it is your responsibility in the package to abide by those rules if you want it to function after forking. Some libraries don't allow forking at all, e.g., JVMs cannot be forked (because they are too complex to make them fork-safe). In general, you cannot assume that (non-R) code is fork-safe unless it has been designed to be. That's why mcparallel() should only be used for pure R code (and eve...
2020 Jan 11
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...point and only purpose of mc* functions is to fork. That's what the multicore package was about, so if you don't want to fork, don't use mc* functions - they don't have any other purpose. I really fail to see the point - if you use mc* functions you're very explicitly asking for forking - so your argument is like saying that print() should have an option to not print anything - it just makes no sense. If you have code that is fork-incompatilble, you clearly cannot use it in mcparallel - that's why there is a very explicit warning in the documentation. As I said, if you have so...
2006 Dec 15
2
fork package problem
I have been using the fork package on a cluster to spawn jobs. I have
noticed that I end up with many "R defunct" (zombie) processes following
the use of fork that do not die completely until I close down R.
Initially, I thought it may be my code but I ran the example from the
latest fork package (see code below) on R.2.3.1 and ended up with the
same problem. The code from the
2020 Jan 10
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
I'd like to pick up this thread started on 2019-04-11
(https://hypatia.math.ethz.ch/pipermail/r-devel/2019-April/077632.html).
Modulo all the other suggestions in this thread, would my proposal of
being able to disable forked processing via an option or an
environment variable make sense? I've prototyped a working patch that
works like:
> options(fork.allowed = FALSE)
>
2015 Apr 16
0
SAMBA and CTDB
Getting the following error when trying to add to the domain the username and password are correct because they work on other machines.
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2015.04.16 09:50:06 =~=~=~=~=~=~=~=~=~=~=~=
INFO: Current debug levels:
all: 5
tdb: 5
printdrivers: 5
lanman: 5
smb: 5
rpc_parse: 5
rpc_srv: 5
rpc_cli: 5
passdb: 5
sam: 5
auth: 5
winbind: 5
vfs: 5
2009 Nov 19
11
dtracing a forked process OR dynamic library
Hi,
I am tracking down a problem and would like to know how I can follow a
forked process with my dtrace script, or how I can trace a dynamic library.
Here is the problem. I am tracing dtlogin, and specifically I am trying
to determine what error libpkcs11`<routine> is returning. It turns out
dtlogin forks a lot of processes, and I believe the second forked
process is the one that winds
2016 Jul 12
6
Option configure
On Tue, Jul 12, 2016 at 10:00 AM, mathias dufresne <infractory at gmail.com> wrote:
> Chris, can you check into your unit file what kind of type is used?
Mine use Type=forking, I had some issues with Type=notify but it's
been some time so I can't remember what they were. Although one is
that a "systemctl start samba" command did not return a prompt, had to
Ctrl-C out.
2020 Jan 11
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...t to fork, don't use mc* functions - they don't have any other purpose.
But, with that same argument I'm surprised we have fake
implementations of the mc***() functions for MS Windows.
> I really fail to see the point - if you use mc* functions you're very explicitly asking for forking - so your argument is like saying that print() should have an option to not print anything - it just makes no sense. If you have code that is fork-incompatilble, you clearly cannot use it in mcparallel - that's why there is a very explicit warning in the documentation.
I think you're casti...
2020 Jan 22
5
yum update / kernal update failed - remove or repair
I have a VPS running C7. I ran a 'yum update' which included a kernel update. The yum update wasn't a total success because mariadb updates failed. However everything else appeared to work.
However, when I rebooted the server it did not restart. I have managed to get the ISP's support desk to boot the server by selecting the previous kernel, and I now have access to my box again.
2019 Apr 15
2
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
On Mon, 15 Apr 2019 at 08:44, Tomas Kalibera <tomas.kalibera at gmail.com> wrote:
>
> On 4/13/19 12:05 PM, I?aki Ucar wrote:
> > On Sat, 13 Apr 2019 at 03:51, Kevin Ushey <kevinushey at gmail.com> wrote:
> >> I think it's worth saying that mclapply() works as documented
> > Mostly, yes. But it says nothing about fork's copy-on-write and memory
>
2015 Oct 25
4
Confusion on lpxelinux vs. gpxelinux vs. ipxe vs gpxe.
On Sat, Oct 24, 2015 at 6:15 PM, Michael Brown via Syslinux
<syslinux at zytor.com> wrote:
> Also, not a fork: http://git.ipxe.org/ipxe.git/commitdiff/8406115
A fork is a fork, regardless the reasons behind it (yes, I have some
understanding in this case). iPXE is based off of forking further
development as of a certain gPXE commit with some backporting of gPXE
development to iPXE.
--
-Gene
2018 Jan 24
5
Why R should never move to git
Lately I've been doing some work with the manipulateWidget package,
which lives on Github at
https://github.com/rte-antares-rpackage/manipulateWidget/. Last week I
found a bug, so being a good community member, I put together a patch.
Since the package lives on Github, I followed instructions to put
together a "pull request":
- I forked the main branch to my own Github account
2006 Sep 22
2
Linux Samba to Mac OSX: resource fork lock problems?
I am seeking a better workaround than I currently have for the problem.
Using OS X 10.3.x and 10.4.x (and possibly other versions) as workstations,
and Gentoo Linux (kernel 2.6.16) with Samba 3.0.22, I have the following
sequence of events. The symptom is most prevalent when dealing with multi
MB files:
1. Resource fork (._ file) gets locked
2. File associated with resource fork also gets
2020 Jan 10
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...ing the pipeline, or am I missing something?
I'm trying to argue that this is still a real problem that users and
developers run into on a regular basis. Since parallel::mclapply() is
such a common and readily available solution it is also a low hanging
fruit to make it possible to have those forking functions fall back to
sequential processing. The only(*) way to achieve this fall back
right now is to run the same pipeline on MS Windows - I just think it
would be very useful to have the same fallback option available on
Unix and macOS. Having this in base R could also serve as standard
for o...
2020 Jan 10
0
SUGGESTION: Settings to disable forked processing in R, e.g. parallel::mclapply()
...ail on macOS with the default method="libcurl"
but not for method="curl" or method="wget".
Further documentation is needed and would help but I don't believe
it's sufficient to solve everyday problems. The argument for
introducing an option/env var to disable forking is to give the end
user a quick workaround for newly introduced bugs. Neither the
develop nor the end user have full control of the R package stack,
which is always in flux. For instance, above mclapply() code might
have been in a package on CRAN and then all of a sudden
method="libcurl"...