- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Process spawn multiple process
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2007 08:20 AM
тАО04-15-2007 08:20 AM
Re: Process spawn multiple process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2007 07:12 PM
тАО04-15-2007 07:12 PM
Re: Process spawn multiple process
Thanks for response
will take scenario
while
do
While < infinite>
do
done
done
a) above parent runs and creates infinite process which is sleeping ( may be zombie )
b) parent got killed becaues of some reason and many of the process has ppid 1
c) there is recursive process creation because of some reason
Can we come out of the above with out reboot
Please suggest if above is not clear
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-15-2007 08:30 PM
тАО04-15-2007 08:30 PM
Re: Process spawn multiple process
You kill zombies by killing their evil parent. Of course you have to decide if the parent is worth more than cleaning up the process table.
>parent got killed because of some reason and many of the process has ppid 1
Then these zombies should be killed when their parent is reset to init.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2007 05:23 AM
тАО04-16-2007 05:23 AM
Re: Process spawn multiple process
If suppose user is allowed to run a script
he can run some script which create potentially zombie background process and at the end make the system down
So UNIX can be made down by a normal user
I feel i am not making any sense above
Please let me know if false
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2007 05:35 AM
тАО04-16-2007 05:35 AM
Re: Process spawn multiple process
> ...suppose user is allowed to run a script
he can run some script which create potentially zombie background process and at the end make the system down...So UNIX can be made down by a normal user...
The kernel imposes limits on a variety of resources. These limits are "fences" to prevent one process or one user from consuming an entire resource (memory, open files, etc.)
In the case of processes, the kernel 'maxuprc' parameter limits the maximum number of concurrent user processes per user while the 'nproc' parameter controls the overal, system-wide ceiling.
While 'maxuprc' doesn't limit 'root', one doesn't let the "normal" user run as root anyway!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2007 05:36 AM
тАО04-16-2007 05:36 AM
Re: Process spawn multiple process
The real fix to your problem is educating your users and developers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2007 05:47 AM
тАО04-16-2007 05:47 AM
Re: Process spawn multiple process
James
normal user was not allowed , but accidentaly the process run by the user has ppid as 1
I always felt admin has control all thing if not i dont have words to say that even superdome can be - by single user
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2007 06:02 AM
тАО04-16-2007 06:02 AM
Re: Process spawn multiple process
> normal user was not allowed , but accidentaly the process run by the user has ppid as 1
The fact that a process has a parental pid (ppid) of one (1) simply means that that process is now owned by 'init'. This will be the case seen when the parent of a process dies but its child remains alive --- 'init' inherits the child.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-16-2007 02:50 PM
тАО04-16-2007 02:50 PM
Re: Process spawn multiple process
he can run some script which create potentially zombie background process and at the end make the system down
In general scripts can't create zombies, shells should prevent this. Only applications can. I'm not sure if perl gives the user enough rope to hang himself
- « Previous
-
- 1
- 2
- Next »