Hello everyone,

������,  ���  ���  ���  ����� � ����� oops-a ���������. ��� �������
����,   ���   ����������   �  ���.  OS:  FreeBSD  4.1.1-RELEASE.  �
/sys/conf/param.c ���� ������� ��������� ���������:

#define NPROC (20 + 16 * MAXUSERS)
#ifndef MAXFILES
#define MAXFILES (NPROC*8)
#endif
int     maxproc = NPROC;
int     maxprocperuid = NPROC-1;
int     maxfiles = NPROC*8;
int     maxfilesperproc = NPROC*4;
int     ncallout = 16 + NPROC + MAXFILES;

-DMAXUSERS=64

Oops  ������  1.5.6 ��� ����� ���������� ���� ���������� � �������.
��� ������� ����������� ��� ����� ��� ������:

RLIMIT_DATA changed to maximum: 268435456
RLIMIT_NOFILE changed to maximum: 8196

� cionfig.h

#define OPEN_FILES_MAXIMUM 8196 � CFLAGS=....-DFD_SETSIZE=2048

������������  oops  ��������� �������� ~6 ����� � ������� �� signal
11 (/kernel: pid 17807 (oops), uid 60: exited on signal 11).  ��������
�������  ���  ������  oops.loop,  ��  ���  �� �����. ��������  �������
���� � ������� ��������� (����� ������ ���� oops ���� �������������),
������ ������ 1.4.22, �� ������ ��� ��. ����� �� ���� ��� ������� �
���,  ���  �  lib.c  �������� setrlimit? � ����� �� ��������? �����
���� ��� ����� ������ seteuid �� ��� userid ��� ������ � �������?

��� ��, ��� ������ top:

CPU states:  1.2% user,  0.0% nice,  1.2% system,  0.4% interrupt, 97.3% idle
Mem: 174M Active, 167M Inact, 61M Wired, 14M Cache, 61M Buf, 84M Free
Swap: 514M Total, 514M Free

./oopsctl stat

## --  General info   --
Version      : 1.5.6
Uptime       : 207sec, (0day(s), 0hour(s), 3min(s))
Last update  : Thu Feb  1 12:59:04 2001
Clients      : 22 (max: 29)
HTTP requests: 1060
ICP  requests: 0
Total hits   : 0
Curr.req.rate: 28.02 req/sec (max: 34.78)
Tot.req.rate : 26.12 req/sec
Curr.hit.rate: 0.00 %
Tot.hit.rate : 0.00 %
Curr.icp.rate: 0.00 req/sec (max: 0.00)
## --       CPU       --
Total usage  : 15673ms
Delta usage  : 5706ms
Delta time   : 61000ms
Curr. CPU    : 9.35 % (0.76s+8.59u)
Aver. CPU    : 7.57 % (0.59s+6.99u)
## --    storages     --
Storage      : /usr/local/oops/cache/storage
Size         : 600.00 MB
Free blks    : 0 blks (0.00Mb) 0.00 %
State        : NOT_READY
Fileno       : 0
## -- end of storages --
## --     modules     --
accel         WWW-accelerator (URL redirector)
berkeley_db   BerkeleyDB API (DB Interface)
CustomLog     Customized access log. (Log recording)
err           Error reporting module (Error reporting)
fastredir     Fast Substring URL Redirector (URL redirector)
gigabase_db   GigaBASE API (DB Interface)
lang          National languages handling module (Output handling)
DummyLog      Dummy logging module (Log recording)
oopsctl       Oops controlling module (Independent port listener)
passwd_file   Auth using passwd file (Authentication)
passwd_mysql  Auth using mysql (Authentication)
passwd_pgsql  Auth using postgresql (Authentication)
redir         Regex URL Redirector (URL redirector)
transparent   Transparent proxy (URL redirector)
vary          Processing 'Vary:' header (Document headers check)
## -- end of modules  --
## --    icp peers    --
## -- end of icp peers--

Oops  ������  ��  ��������  ������ �������� � �������� ������������
(��� ����). ��� ��� ������:

nameserver              x.x.x.x
nameserver              x.x.x.x
nameserver              x.x.x.x
bind                    x.x.x.x
http_port               80
icp_port                3130
userid                  oops
logfile                 /var/log/proxy/proxy.log { 3 1m }
accesslog               /var/log/proxy/access.log { 3 1m }
pidfile                 /var/run/oops.pid
statistics              /var/log/proxy/proxy-stats.log
mem_max                 16m  #����  �������������,  �� ������ �� ��������
lo_mark                 8m   #����  �������������,  �� ������ �� ��������
default-expire-value    7
ftp-expire-value        7
max-expire-value        7
last-modified-factor    2
default-expire-interval 8
icp_timeout             1000
disk-low-free           3
disk-ok-free            5
force_completion        100
maxresident             1m
insert_x_forwarded_for  yes
insert_via              no
acl                     WINUSER         usercharset     windows-1251
acl                     DOSUSER         usercharset     ibm866
acl                     UNIXUSER        usercharset     koi8-r
acl                     ADMINS          src_ip          127.0.0.1
acl                     VIRTUAL         port            [1550:7550]
acl                     PURGE           method          PURGE
acl_deny                PURGE !ADMINS
stop_cache              ?
stop_cache_acl          VIRTUAL
force_http11
group   theworld        {
        networks        0/0;
        badports        [0:79],110,138,139,513,[6000:6010];
        http {
                deny    dstdomain * ;
        }
        icp {
                deny    dstdomain * ;
        }
        redir_mods      accel;
}

storage {
        path /usr/local/oops/cache/storage ;
        size 600m ;
}

module berkeley_db {
       dbhome  /usr/local/oops/db
       dbname  dburl
}

module lang {

        default_charset koi8-r

        CharsetRecodeTable windows-1251 /usr/local/oops/tables/koi-win.tab
        CharsetRecodeTable ISO-8859-5 /usr/local/oops/tables/koi-iso.tab
        CharsetRecodeTable ibm866 /usr/local/oops/tables/koi-alt.tab
        CharsetAgent windows-1251 AIR_Mosaic IWENG/1 MSIE WinMosaic (Windows (WinNT;
        CharsetAgent windows-1251 (Win16; (Win95; (Win98; (16-bit) Opera/3.0
        CharsetAgent koi8-r Arena Ariadna OmniWeb Sextant PRD (X11 Lynx/
        CharsetAgent ibm866 DosLynx Lynx2/OS/2

}

module err {
        template /usr/local/oops/error/template.html
        lang ru
}

module  vary {
        user-agent      by_charset
        accept-charset  ignore
}

module  accel {
        myport          80
        file            /usr/local/oops/accel/maps.txt
}

module  oopsctl {
        socket_path     /usr/local/oops/logs/oopsctl
        html_refresh    300
}

accel/maps.txt

rewrite_host            no
dead_timeout            20
sleep_timeout           60
map_regex               .*domain\.ru/(.*)    srv.domain.ru:[port]/$1
....

���� ����������� �� ����� ������.

Best regards,
Alexei V. Alexandrov


=====================================================================
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/

Дати відповідь електронним листом