������ ���� ���������! ���� ��� ������������� ������� glibc ��� Linux ����� oops ������� ��� ������� ���������� ������. ----- Forwarded message from "Alexei A. Pogrebkov" <[EMAIL PROTECTED]> ----- Date: Thu, 21 Jun 2001 14:47:30 +0400 From: "Alexei A. Pogrebkov" <[EMAIL PROTECTED]> X-Mailer: Mozilla 4.51 [en] (X11; I; Linux 2.2.16 sparc64) X-Accept-Language: en To: [EMAIL PROTECTED] Subject: [OOPS] 1000+ clients on Linux. Precedence: bulk Reply-To: [EMAIL PROTECTED] ����� ��������� �� ������� ������, �� � �����, ��� ����� ����������. � "��������� ��������", � ���� ������������ ������� ��� ����: Version : 1.5.18 Uptime : 3361sec, (0day(s), 0hour(s), 56min(s)) Last update : Thu Jun 21 14:14:06 2001 Clients : 1944 (max: 2200) HTTP requests: 1481191 ICP requests: 0 Total hits : 1419718 Thread pool : 2250 ready to serve (out of 4096 max) Curr.req.rate: 413.30 req/sec (max: 592.75) Tot.req.rate : 440.70 req/sec Curr.hit.rate: 99.90 % Tot.hit.rate : 95.85 % ���������/���������������� ��� ��� ����� ����������� � �������� �����. � ������� ��� ���: ����� PII/400/256MB ������ Linux � glibc 2.2 � ����� 2.4. ��� ���� ��������� ��� ASPLinux7.1, ��� � ��������. ������: http://www.mysql.com/doc/L/i/Linux.html � http://www.volano.com/linuxnotes.html ����� ��������� glibc � ���� 2.4.5 � kernel.org ������ glibc: http://download.sourceforge.net/pub/mirrors/mysql/Downloads/Linux/linuxthreads-2.2.2.patch �.�. ���������� ����������� ���������� ������ �� 4096 � ��������� ������ ����� � �����. ������ NR_OPEN, OPEN_MAX, __FD_SETSIZE � ���� � � /usr/include/linux/.... ��������, ���� � glibc. ����������� ����� /proc/sys/fs/files-max ��� � ������ � ������ rlimits � pam'e ��� ��� ��� ��� ���������������. (Opps'� ����������� �� root'a �� rlimits ���������, ������� ������ - �� ������ ������) ����� oops.1.5.18 � Berkley-db � zipper.paco.net. Gigabase �� ����� - � ��� ������ !!! (� ���� ���?) ���������� max_workers � oops.c �� 4096. �������� oops. � ������������ �������� accel � ��������� always_check_freshness mem_max 64 � lo_mark 8m � �� ������. ����� ����������� accel_maps � ���������� � ��� ���� �������� 10Kb ����� httperf. ���������: while : do httperf --server my.server.tld --port 80 --num-conns 100000 --rate 500 --timeout 10 --uri=/test.html >> test.log done ������ ��� �������� ������, ��� ���� Clients: ����� ����� 0, ������ ����� 20. ���������� ��������� ��� ������: while : do httperf --server my.server.tld --port 80 --num-conns 10000 --rate 100 --timeout 10 --uri=/test.html >> test1.log done ����� �������� ��������, ���������� �������� ������ � � ���������� �������� ���������� ����������� � ������ ������. vmstat ���������� �������� ��������: procs memory swap io system cpu r b w swpd free buff cache si so bi bo in cs us sy id 3 0 1 3084 5192 5272 83396 0 0 0 12 984 20210 45 55 0 �������� �������������� httperf � ��������� P100 - P100 �������� ����������� ������ :) �.�. ������ ����������� �� �������. �� �������. ���� ������ ��������: kernel: __alloc_pages: 2-order allocation failed. � kernel: NET: 256 messages suppressed. � ���� ������ �������� ��������, �� ����� �� ������ � ��� ���������� ��������. ��� �������� ���������� httperf'��: �������: Total: connections 76612 requests 69489 replies 67321 test-duration 205.050 s Connection rate: 373.6 conn/s (2.7 ms/conn, <=4094 concurrent connections) Connection time [ms]: min 2.5 avg 8537.3 max 17459.6 median 8158.5 stddev 2179.7 Connection time [ms]: connect 2370.2 Connection length [replies/conn]: 1.000 Request rate: 338.9 req/s (3.0 ms/req) Request size [B]: 75.0 Reply rate [replies/s]: min 0.0 avg 355.5 max 514.6 stddev 143.6 (35 samples) Reply time [ms]: response 4061.2 transfer 2115.5 Reply size [B]: header 373.0 content 10240.0 footer 0.0 (total 10613.0) Reply status: 1xx=0 2xx=67321 3xx=0 4xx=0 5xx=0 CPU time [s]: user 6.38 system 28.89 (user 3.1% system 14.1% total 17.2%) Net I/O: 3427.6 KB/s (28.1*10^6 bps) Errors: total 32679 client-timo 9291 socket-timo 0 connrefused 0 connreset 0 Errors: fd-unavail 23388 addrunavail 0 ftab-full 0 other 0 � �������: Maximum connect burst length: 77 Total: connections 10000 requests 10000 replies 10000 test-duration 100.016 s Connection rate: 100.0 conn/s (10.0 ms/conn, <=163 concurrent connections) Connection time [ms]: min 1.1 avg 79.5 max 3407.6 median 15.5 stddev 304.1 Connection time [ms]: connect 31.3 Connection length [replies/conn]: 1.000 Request rate: 100.0 req/s (10.0 ms/req) Request size [B]: 75.0 Reply rate [replies/s]: min 84.2 avg 100.0 max 116.6 stddev 6.3 (19 samples) Reply time [ms]: response 37.9 transfer 10.3 Reply size [B]: header 373.0 content 10240.0 footer 0.0 (total 10613.0) Reply status: 1xx=0 2xx=10000 3xx=0 4xx=0 5xx=0 CPU time [s]: user 8.24 system 13.34 (user 8.2% system 13.3% total 21.6%) Net I/O: 1043.6 KB/s (8.5*10^6 bps) Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0 Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 ����������, �� ������ ������, �������� � ������������� ��� ��������� �� Linux'e ����� �� �������� � �������. ���� �����, Uptime ��� 1:30 � ������ ������ �� ����������. ������������� � �������� �����, ������, ��������� ����� ������ � ������. (������, ��� �� �� ����������������� ������ ������������? � Linux'e ����� �����-��� ����� �� ������ ����������� ��������....) �� �������� ��� ��� ������, ����� ��� ���� �����, ��� �� ��������� ����� � ����� 100 ������ � 100 �������� � �������, ����� ������???? ����� ������� - ����� ��������. ����, ��� ��� �������� - ��� ���� ���� ����. �������. ===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops" in message body. Archive is accessible on http://www.paco.net/oops/ ----- End forwarded message ----- -- Konstantin N. Bezruchenko BK5536-RIPE ===================================================================== If you would like to unsubscribe from this list send message to [EMAIL PROTECTED] with "unsubscribe oops" in message body. Archive is accessible on http://lists.paco.net/oops-rus/
