cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
383
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Srikanth Pabbathi on 21-02-2013 08:56:24 AM
Normal
  0
 
 
 
 
  false
  false
  false
 
  EN-US
  X-NONE
  X-NONE
 
  
  
  
  
  
  
  
  
  
  
  
 
  MicrosoftInternetExplorer4
 
  
  
  
  
  
  
  
  
  
  
  
 


 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 



/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}


 
Hi
 
 
 
We are spawning scp command from the tcl script.
 
 
 
scp_client is going to defunct state which means scp_client process has finished everything and exited but still waiting for its parent process (in this case it is the tcl which has started scp_client process) to give signal.
 
 
 
Due to this even though the scp copy is success tcl script is not terminated/exited once copy is finished.
 
 
 
The same tcl  exits fine if it is executed via CLI(Interactive mode) and all processes are terminated properly.
 
 
 
Attached the tcl file we are using.
 
 
 
Please let us know if anyone has solution.
 
 
 
Here is definition of defunct/zombie process.
 
Zombie process, also known as defunct process, is a process which is no longer in effect. A defunct process exists, when the process killed or exited using exit system call, but has yet to receive a wait call from its parent process.
 
Defunct process occurs, if the parent process ignores the SIGCHLD. That's why the zombie process entry will be left in the process table
 

Subject: RE: Tcl not exiting when scp command is spanned
Replied by: Yaw-Ming Chen on 21-02-2013 11:46:02 AM
Hi Srikanth,
The Tcl discussed in this forum is Tcl IVR API, a sepecific API for voice call. Looks like you are doing IOS Tcl.

My suggection is to post it in Cisco Beyond -  https://supportforums.cisco.com/community/netpro/network-infrastructure/eem

And I would just ask the what is reqiured maybe they have other way to fulfill your requirement.

 
Thanks !

 
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links