|Anonymous | Login||2017-10-19 20:10 EDT|
|My View | View Issues | Change Log | Roadmap|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0010283||ParaView||Bug||public||2010-02-12 17:49||2016-08-12 09:58|
|Assigned To||Pat Marion|
|Target Version||Fixed in Version|
|Summary||0010283: client creates orphan/zombie processes|
|Description||ParaView doesn't clean up processes it spawns when it starts a server for the user via its UI. |
On my system it's only an issue if the spawned process doesn't finish. In that case when ParaView exits the process is orphaned. If the spawned process used ssh ports are left open which prevent ParaView from connecting again, if he tries, then a crash soon follows.
This was reported by Sean Ziegeler in the ParaView user's thread:
"[Paraview] paraview - client-server"
steps to reproduce:
1) start the client.
2) connect->Add Server
type: reverse connection
ssh -i /home/burlen/.ssh/id_rsa_G50VT localhost /home/burlen/ext/PV3/bin/pvserver --reverse-connection --client-host=localhost --server-port=33333 && sleep 1d
note: use ssh-keygen to generate a public/private key pair, copy the public key into ~/.ssh/authorized_keys
3) connect using the new server. At this point you can use "pstree -p PV_PID" to view the child process and get its pid.
4) disconnect. At this point you can use pstree again to verify that the child process is still there.
5) connect using the new server again. It fails, crash soon to follow.
6) close paraview (if he didn't crash). View the orphaned ssh process (use its pid from step 3), with ps or pstree.
|Tags||No tags attached.|
|Attached Files||procOrphans.patch [^] (9,329 bytes) 2010-02-12 17:49 [Show Content]|
|The patch adds code to explicitly close the spawned process and clean up the other resources it has used (eg signal/slot connections) when the server is disconnected.|
Utkarsh Ayachit (administrator)
I assigned this to you since you were reporting about the zombie process in an email this morning. One issue with the patch may be when "disconnect and save" animation is used.
|the ssh command should have " ".|
Kitware Robot (administrator)
Resolving issue as `moved`.
This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.
|2010-02-12 17:49||Burlen||New Issue|
|2010-02-12 17:49||Burlen||File Added: procOrphans.patch|
|2010-02-12 17:55||Burlen||Note Added: 0019523|
|2010-02-13 10:48||Utkarsh Ayachit||Priority||normal => immediate|
|2010-02-13 10:48||Utkarsh Ayachit||Target Version||=> 3.8|
|2010-02-25 16:59||Utkarsh Ayachit||Priority||immediate => normal|
|2010-02-25 16:59||Utkarsh Ayachit||Target Version||3.8 => 4.0|
|2010-04-27 16:01||Utkarsh Ayachit||Status||backlog => tabled|
|2010-04-27 16:01||Utkarsh Ayachit||Assigned To||=> Pat Marion|
|2010-04-27 16:03||Utkarsh Ayachit||Note Added: 0020444|
|2010-04-30 17:44||Burlen||Note Added: 0020503|
|2016-08-12 09:58||Kitware Robot||Note Added: 0037787|
|2016-08-12 09:58||Kitware Robot||Status||expired => closed|
|2016-08-12 09:58||Kitware Robot||Resolution||open => moved|
|Copyright © 2000 - 2017 MantisBT Team|