The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
3 views

How can I run ssh without required dash options to run in background and open a new terminal

Similar to this question I want to ssh as a different user to a different host and run an interactive command. At the same time the ssh connection should drop to the background. The added difficulty ...
0
votes
1answer
29 views

PHP: how to keep I/O accessible in parent after pcntl_fork()'s child has completed?

I'm using PHP and pcntl_fork(). The idea is that the parent forks and pauses for the child to complete; the child does a task then terminates; the parent can check the return code for the task or the ...
2
votes
1answer
48 views

How to deal with a memory-leaking fork bomb on Linux?

I know that a fork bomb can be prevented by limiting the number of processes of a single user, and memory leaking will not freeze my OS for Linux has OOM killer. But how about a memory-leaking fork ...
0
votes
0answers
21 views

How are network forks by evil bootstrapping prevented in GNUtella?

If a node trying to enter the GNUtella network requests an evil node the list of peers, the evil node can send him the list of peers of a parallel network, therefore redirecting it to a network fork ...
0
votes
0answers
25 views

Why creating a process is a two-step process (fork-exec)?

I'm studying Tanenbaum's "Modern Operating Systems" book and he's explaining that: The reason for this two-step process is to allow the child to manipulate its file descriptors after the fork but ...
-1
votes
1answer
216 views

When a parent uses fork, the child process is created in a continuous memory space?

When forking, the exact environment of the parent process gets copied. Is that space allocated in a random space in RAM or the parent and child processes are getting continuous RAM space (like array ...
1
vote
1answer
132 views

Easiest way to fork a nonGitHub git repo to a GitHub repo?

For example, I'd like to fork a GNU Savannah git repo, and use GitHub's pull request button to signal GNU Savannah that I'd like to submit a patch. Is this possible?
0
votes
1answer
80 views

Github merge PR forked repo into your own repo

I have forked an existing repo into my own repo. Whenever I do a pull request (in my repo), it automatically defaults to the origin repo, and not to the fork I created. How do I get github to default ...
0
votes
1answer
112 views

Fork processes in a script using different colors for each process output

I have a script that operates on 4 folders. Because they are completely independent, I'm passing in the folder path to a function and then forking that function. It works, but the output to the ...
1
vote
1answer
378 views

Neutralize fork-bomb through ssh

I have access to a server through SSH (namely, it's our informatics server :) ) and ran a fork-bomb there (the bash one). Is there a way to neutralize it remotely? Just using ssh name@server does just ...
21
votes
2answers
6k views

How can I Resync a fork from original

I just forked a project in Github. I made modifications and sent a pull request. The owner merged my fork with the main project and after that he made some modifications. So for now my fork is not ...
1
vote
1answer
876 views

git cannot allocate memory - git svn rebase

I cannot run git svn rebase in my repository as I am getting: Can't fork: Cannot allocate memory at /usr/share/perl5/vendor_perl/Git.pm line 1262 The output of free indicates I have plenty of free ...
6
votes
2answers
222 views

Git branch for instances of a website?

I'm working in a couple of websites, both websites needs almost the same code except for some changes in images and css, or settings. I'm just finished to read the chapter of branchs of Pro Git book ...
17
votes
3answers
18k views

How do I fork a process that doesn't die when shell exits?

If I run emacs from the shell: $ emacs foo & and then kill that shell, emacs dies. How can I run a command so that it will not die when the shell dies? I found references to nohup, but that ...
4
votes
1answer
1k views

Linux / Perl - What happens when a process is forked?

I've read about fork and from what I understand, the process is cloned but which process? The script itself or the process that launched the script? For example: I'm running rTorrent on my machine ...
0
votes
1answer
854 views

Any way to simulate Process.fork() on Windows?

I need to use a library that seems to be making the assumption that Process.fork() is available. On Windows it is not. I tried installing Cygwin with the idea that it might simulate this. Didn't ...
9
votes
3answers
3k views

NetBSD, OpenBSD, *BSD and FreeBSD compared

I recall reading a comparison of NetBSD and FreeBSD a few years back, and in 2000 (okay many) it looked like NetBSD forked processes better, while FreeBSD threaded better, and so, for Apache 1 NetBSD ...