The fork tag has no wiki summary.
-3
votes
1answer
36 views
What does fork() mean in Perl? [closed]
I have a block of Perl code. I'm having some trouble understanding the same.
if(my $child = fork()) {
#Do somthing
}
else {
#Run system command
return;
}
Could anyone please make me ...
-2
votes
2answers
96 views
Ignoring fork-bomb in Ubuntu [closed]
I got an homework assignment to write a program that checks how many process a user can create (working in Ubuntu). I wrote the code which seems fine in theory. The problem is that when I run it, the ...
3
votes
3answers
196 views
How do you manage software's local forks?
As a system administrator, I often have to modify programs for my company.
Example:
We're using an web interface to manage our local DNS.
After downloading and extracting the tar.gz file from the ...
1
vote
1answer
130 views
Upstart, no feedback whether starting failed
I have a daemon in /opt/xyz/bin/xyz. Unfortunately it cannot fork itself into background and will not be able to do so within the next half year. My problem is the following: Entering
service xyz ...
1
vote
1answer
522 views
Rsync and “ssh_exchange_identification: Connection closed by remote host”
I have a script which rsync's a local directory to about 10 remote servers. It basically has a list of the servers and for loops through each of them doing the rsync. To speed up the process I have it ...
0
votes
1answer
273 views
Forking and memory allocation question
I have inherited a Perl script that runs on an EC2 instance which basically crawls a bunch of URL's for data (aka scraping). The way this script is invoked is via a shell script that forks multiple ...
0
votes
1answer
229 views
how can i know the maximum allowed number of forks for a process in ubuntu?
I am using PROCESS CONTROL in PHP to create forks. my server's operating system is Ubuntu. How can i know what is the capacity of my server in handling those forks? is there a limit? and if so, can i ...
-1
votes
1answer
76 views
low level step: what unix/linux do when a process call fork() [closed]
this is a question my teacher is asking and no one know what to reply.
Someone can tell me which are the low level step unix makes to make a fork(); (with system call) and returns?
thanks
1
vote
1answer
1k views
fork: Resource temporarily unavailable running JVM
I'm running a Tomcat 6 instance on a 34 GB EC2 instance. I've been struggling to keep the memory down but this thing services a lot of requests and the heap frequently gets up to 13 GB. But the heap ...
14
votes
4answers
1k views
What's the best way to clean up after a fork bomb?
$ ls
bash: no more processes
Uh oh. Looks like someone made a fork bomb. Where I used to work, this pretty much meant that the shared server would need to be power-cycled, since even the sysadmins ...
