[tor-relays] Number of Connections Open
Teun Nijssen
teun.nijssen at uvt.nl
Sun Jul 31 09:08:18 UTC 2011
Hi,
on 2011-07-30 21:56 Tim Sally wrote the following:
> Hi!
>
> I'm working on a model to estimate the number of connections an OR has
> open as a function of the OR's bandwidth. I could really use some help
> confirming that my model is reasonable. Would any relay operators be
> willing to share the results of some variant of netstat | wc -l and
> the bandwidth of the relay?
TORy0,1,2,3 exit:
Old dual quadcore CPU 8 GB running 4 exits on 2 IP's
1 Gb/s into router; then 10Gb/s unsaturated into AMS-IX
echo '' ; echo 'tor'; echo '==='
ps -ef|grep /usr/sbin/tor|grep -v 'grep /usr/sbin/tor'
echo "tcp connects"
netstat -an|grep '137.56.163.64'|grep tcp|wc -l
netstat -an|grep '137.56.163.46'|grep tcp|wc -l
tor
===
106 2499 1 99 Jun29 ? 107951-18:49:47 /usr/sbin/tor -f /etc/tor/tor2.cfg
106 3432 1 99 Jun29 ? 107952-06:11:55 /usr/sbin/tor -f /etc/tor/tor1.cfg
106 3689 1 99 Jun29 ? 107951-14:01:29 /usr/sbin/tor -f /etc/tor/tor3.cfg
106 30113 1 99 Jun29 ? 107951-19:24:07 /usr/sbin/tor -f /etc/tor/tor0.cfg
tcp connects
18147
17552
but it's a lazy Sunday morning in UTC+2; usually I'd expect ~40000.
top - 11:04:00 up 32 days, 19:49, 1 user, load average: 2.37, 2.04, 1.85
Tasks: 197 total, 5 running, 192 sleeping, 0 stopped, 0 zombie
Cpu0 : 3.0%us, 0.3%sy, 0.0%ni, 93.7%id, 0.0%wa, 0.0%hi, 3.0%si, 0.0%st
Cpu1 : 47.4%us, 39.1%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 13.6%si, 0.0%st
Cpu2 : 3.6%us, 0.0%sy, 0.0%ni, 93.4%id, 0.0%wa, 0.0%hi, 3.0%si, 0.0%st
Cpu3 : 53.3%us, 33.4%sy, 0.0%ni, 3.0%id, 0.0%wa, 0.0%hi, 10.3%si, 0.0%st
Cpu4 : 51.5%us, 36.5%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 12.0%si, 0.0%st
Cpu5 : 2.3%us, 0.3%sy, 0.0%ni, 93.8%id, 0.0%wa, 0.0%hi, 3.6%si, 0.0%st
Cpu6 : 58.5%us, 31.2%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 10.3%si, 0.0%st
Cpu7 : 2.0%us, 0.3%sy, 0.0%ni, 94.0%id, 0.0%wa, 0.0%hi, 3.6%si, 0.0%st
Mem: 8196296k total, 4398000k used, 3798296k free, 464k buffers
Swap: 1048568k total, 0k used, 1048568k free, 461000k cached
cheers,
teun
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4399 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20110731/dc921d86/attachment-0001.bin>
More information about the tor-relays
mailing list