wangfulin / ratproxy

Automatically exported from code.google.com/p/ratproxy
0 stars 0 forks source link

Defunct processes build up. #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. On debian 4.0, install libssl-dev
2. compile with command: "make". 
3. run with ./ratproxy -w logfile 
4. Open slashdot, click the first link. 

What is the expected output? What do you see instead?

Ratproxy leaves defunct processes around: 

wolff    25401  0.0  0.1   3308   852 pts/68   S+   10:13   0:00 ./ratproxy
-w logfile
wolff    25736  0.0  0.0      0     0 pts/68   Z+   10:25   0:00 [ratproxy]
<defunct>
wolff    25737  0.0  0.0      0     0 pts/68   Z+   10:25   0:00 [ratproxy]
<defunct>
wolff    25738  0.0  0.0      0     0 pts/68   Z+   10:25   0:00 [ratproxy]
<defunct>
wolff    25739  0.0  0.0      0     0 pts/68   Z+   10:25   0:00 [ratproxy]
<defunct>

What version of the product are you using? On what operating system?

1.51, debian 4.0. 

Please provide any additional information below.

I haven't checked further beyond clicking a single link. 

Original issue reported on code.google.com by rew-goog...@bitwizard.nl on 4 Jul 2008 at 8:31

GoogleCodeExporter commented 8 years ago
The processes seem to go away eventually, possibly five at a time. So 
apparently they
don't really build up. 

I just checked a site I have become responsible for and, as expected, I get 
several
RED flags. 

Original comment by rew-goog...@bitwizard.nl on 4 Jul 2008 at 8:52

GoogleCodeExporter commented 8 years ago
There should be no buildup, old processes are just lazily cleaned up in the 
main list
(but their number should be in check regardless of how long the session takes 
place).

If you encounter any problems with a growing number of processes during normal 
use,
please let me know.

Original comment by lcam...@gmail.com on 4 Jul 2008 at 11:52