183% CPU

Hello, something interesting happened - actually nice protection to starve system in such way that nothing else (even a virus) could run! No, really, if you want to write fast socket code, do not use threads. :slight_smile: That way the system can be trashed even more. Anyway, I like your product.

Processes: 110 total, 7 running, 1 stuck, 102 sleeping, 644 threads 20:49:50
Load Avg: 199.88, 123.93, 63.72 CPU usage: 60.49% user, 39.50% sys, 0.0% idle
SharedLibs: 3876K resident, 2048K data, 0B linkedit. MemRegions: 22353 total, 1458M resident, 23M private, 3623M shared.
PhysMem: 429M wired, 2306M active, 836M inactive, 3571M used, 524M free.
VM: 257G vsize, 1031M framework vsize, 119687218(0) pageins, 3861923(0) pageouts.
Networks: packets: 190888747/96G in, 134147081/21G out. Disks: 31481800/668G read, 12763159/422G written.

PID COMMAND %CPU TIME #TH #WQ #POR #MREGS RPRVT RSHRD RSIZE VPRVT VSIZE PGRP PPID STATE
25220- com.avast.Ma 183.9 16:56.48 210/206 0 235 711 138M 360K 75M 303M 928M 25178 25178 running
70787- Google Chrom 5.8 03:10:46 34/2 2 409- 3518 301M 144M 316M 624M 1708M 70787 218 running
73289 Terminal 3.4 02:11:54 6/1 1 183 229 9908K 98M 20M 28M 2833M 73289 218 running
0- kernel_task 3.1 24:50:39 63/2 0 2 900- 11M- 0B 298M+ 65M- 1881M- 0 0 running
82 WindowServer 2.5 09:26:52 5 1 408- 1569+ 10M+ 49M+ 80M- 1650M- 2857M+ 82 1 sleeping
31427 top 2.0 00:02.26 1/1 0 117 33 1552K 340K 2132K 17M 2378M 31427 10430 running
79812 top 1.9 06:49:57 1/1 0 122- 45 6860K 340K 7376K 23M 2384M 79812 79769 running

5/15/13 12:42:23 AM com.avast.proxy[51056] SSL_read(): EOF
5/15/13 12:43:23 AM com.avast.proxy[51056] SSL_read(): EOF
5/15/13 12:44:23 AM com.avast.proxy[51056] SSL_read(): EOF
5/15/13 12:44:47 AM com.avast.proxy[51056] Error writing send buffer: write(): Broken pipe
5/15/13 12:45:18 AM com.avast.proxy[51056] SSL_read(): EOF
5/15/13 12:45:20 AM com.avast.proxy[51056] SSL_read(): EOF
5/15/13 12:45:23 AM com.avast.proxy[51056] SSL_read(): EOF
5/15/13 12:45:52 AM com.avast.proxy[51056] Error writing send buffer: write(): Broken pipe
5/15/13 8:35:51 PM com.avast.proxy[51056] SSL_read(): EOF
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:35:59 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:36:00 PM com.avast.proxy[51056] Error connecting to AV daemon: connect(): Connection refused
5/15/13 8:38:42 PM com.avast.proxy[51056] AV daemon connection timeout!
5/15/13 8:39:04 PM com.avast.proxy[51056] AV daemon connection timeout!
5/15/13 8:39:04 PM com.avast.proxy[51056] AV daemon connection timeout!
5/15/13 8:39:04 PM com.avast.proxy[51056] AV daemon connection timeout!