Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-22-2010, 03:03 PM   #1
LQ Newbie
Registered: Jul 2010
Posts: 2

Rep: Reputation: 0
Child processes of a Parent Process occupying socket memory

Dear All,

I am new to this community and this is my first post. I am facing an issue where the process starts hanging. When I closely look at the logs I come to know that some of the child processes that are forked by the parent process are not finished. Regarding this I have a few questions:

1) Is it possible that the child processes that are not finished occupy the socket memory of the parent process and ultimately a point is reached where no socket memory is available to fork new child processes.

2) What is the standard limit of socket memory in linux?

3) What is the fate of such child processes (as I have mentioned above)?

4) How to debug such cases so that the exact problematic area is identified?

Any suggestions on the above would be highly appreciated.

Thanks & Regards
Old 07-22-2010, 10:15 PM   #2
LQ Newbie
Registered: Jun 2010
Location: South Africa
Distribution: Ubuntu
Posts: 18

Rep: Reputation: 0
Hi, I would try and open another file. You may have too many files open. If the file fails to open I would study errno.See <errno.h> or use perror to print the message. The book, Understanding Unix/Linux Programming by Bruce Molay is excellent and also Linux System Programming by Robert Love. Hope this helps.
Old 08-03-2010, 04:27 AM   #3
LQ Newbie
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
stopping both parent child processes in perl matt007 Programming 1 09-30-2009 02:46 AM
memory leak: Parent killing child process wkhoo Programming 12 06-04-2008 06:39 PM
How to rebuild the parent-child relationship of processes? whererush Programming 2 05-19-2006 03:17 PM
Parent child processes signal sharing iftiuk Programming 8 06-24-2004 02:32 PM
parent and child processes skora Programming 5 11-02-2003 11:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:06 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration