LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 07-22-2010, 02:03 PM   #1
gaurav.rai1984@gmail.com
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, 09:15 PM   #2
sean_hurly
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, 03:27 AM   #3
gaurav.rai1984@gmail.com
LQ Newbie
 
Registered: Jul 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks
 
  


Reply



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 01:46 AM
memory leak: Parent killing child process wkhoo Programming 12 06-04-2008 05:39 PM
How to rebuild the parent-child relationship of processes? whererush Programming 2 05-19-2006 02:17 PM
Parent child processes signal sharing iftiuk Programming 8 06-24-2004 01:32 PM
parent and child processes skora Programming 5 11-02-2003 10:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

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