with this command i can see about 250 conections of  internet  clients; i can see pound process , always i have 2 process in the machine and pound is processing  very slowly the http GET to the clients

root      9844     1  0 22:28 ?        00:00:00 /opt/pound-2.3.2/sbin/pound -f /opt/pound-2.3.2/etc/pound.conf
root      9845  9844  1 22:28 ?        00:00:14 /opt/pound-2.3.2/sbin/pound -f /opt/pound-2.3.2/etc/pound.conf

I thinked that the correct functionality of pound was run one child process by conection of client, but i am checking the pound process and always I see 2 process, the father and the child :(

is it correct?  I am thinking that the ./configure of the pound binary  didn`t link all the C headers  necesary for the correct functionality

sorry my english and a lot of thanks!


2009/4/24 Jaroslav Lukesh <lukesh@seznam.cz>
To see how many connections you have in your pound, use this:

netstat -an | grep :80 | awk '{print $5}' | cut -f1 -d":" | sort | uniq -c | sort -n

or logging - but this logs open ports, not connections:

#!/bin/sh
date>>/zope/zstatus_`date +%Y%m%d-%H`h.log
while true;  do
  netstat -an | grep :__webserver_port_number_here__ |grep -v 0.0.0.0| awk '{print $5}' | cut -f1 -d":" | sort | uniq -c | sort -n |awk '{print $1}' >>/zope/zstatus_`date +%Y%m%d-%H`h.log
  sleep 10
done



----- Original Message ----- From: "Emilio Campos" <emilio.campos.martin@gmail.com>



I configured pound 2.3.2 and i see that my pound only have 1 child whith
more than 200 conections

ps -ef | grep pound
pound     7846     1  0 12:20 ?        00:00:00 /opt/pound-2.3.2/sbin/pound
-f /opt/pound-2.3.2/etc/pound.conf -p /opt/pound-2.3.2/var/pound.pid
pound     7847  7846  0 12:20 ?        00:00:00 /opt/pound-2.3.2/sbin/pound
-f /opt/pound-2.3.2/etc/pound.conf -p /opt/pound-2.3.2/var/pound.pid
root      8036  2891  0 12:21 pts/0    00:00:00 grep pound

this is with 300 client about.

The client see  the webs that pound send is very slow, i am reading in
google and i can see that pound send a lot of trheads but i can not see this
in my configuration, i am reading the pound man i don´t see any param where
i can put the number of process.
Can you see me why in my pound the number of threads is one? i don´t
explaint it


--
To unsubscribe send an email with subject unsubscribe to pound@apsis.ch.
Please contact roseg@apsis.ch for questions.