The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
19 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
165 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
101 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
69 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
99 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
320 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 ...
15
votes
2answers
4k 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
740 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
209 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 ...
16
votes
3answers
15k 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
761 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
2k 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 ...