While doing some simple call testing with an "exec" action below
 
  <recv response="200" rtd="true">
    <action>
      <exec command="echo Got 200 OK > foo"/>
    </action>
  </recv>

I noticed that after the SIPp process ran through several iterations, it began to accumulate "defunct" processes in the LINUX process table (both Fedora Core 5 and RH 9.0).  Eventually, after SIPp ran through a few hundred calls, the proc table was full and the SIPp process failed with the error message "cannot fork".  
 
If the "exec" action is pulled, SIPp works fine and the defunct processes go away.  The behavior is the same even if the "action" block is moved inside a "nop" command.
 
Any idea how the "exec" action can be controlled to avoid this nasty accumulation of defunct process?
 
Much tnx,
 
Harry
 
 
[harry@redsea ~]$ ps -al
F S   UID   PID  PPID  C PRI  NI ADDR SZ WCHAN  TTY          TIME CMD
4 S     0  5377  4946  0  77   0 -  1276 -      pts/5    00:00:00 su
4 S     0  5380  5377  0  75   0 -  1072 -      pts/5    00:00:00 bash
4 S     0  6845  5444  0  76   0 -  1203 -      pts/1    00:00:00 su
4 S     0  6848  6845  0  75   0 -  1392 -      pts/1    00:00:00 bash
0 S   502  7589  7385  0  75   0 -  6601 -      pts/6    00:00:00 sipp
0 S   502  7752  7595  0  75   0 -  6548 -      pts/7    00:00:00 sipp
1 Z   502  7755  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7757  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7759  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7761  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7765  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7767  7752  0  77   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7776  7752  0  77   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7778  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7790  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7792  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7809  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7812  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7823  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7826  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7839  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
1 Z   502  7841  7752  0  76   0 -     0 exit   pts/7    00:00:00 sipp <defunct>
0 R   502  7854  7636  0  77   0 -   841 -      pts/8    00:00:00 ps
[harry@redsea ~]$ ps -al
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to