On Mon, 7 Jan 2002, Michael V. Harding wrote:

> I am using the FreeBSD port, which is going to be burned into a
> release in a week or so.  I can't seem to get the oops! to store
> data to the disk.  I am using the gigabase DB, and have included
> my config below.  The problem is that oopsctl stats never shows
> any data being written to the disk.  The 'storages' file is updated,
> but the DB file never is.  Any hints?

this can be because all documents are cached in memory.
try to set lo_mark as low as possible.

Also it is suggested to use current cvs version which soon become release (I
hope week or so).

> 
> - Mike Harding
> 
> Here is the status result...
> 
> ## --  General info   --
> Version      : 1.5.18
> Uptime       : 229260sec, (2day(s), 15hour(s), 41min(s))
> Last update  : Mon Jan  7 11:33:18 2002
> Clients      : 0 (max: 2)
> HTTP requests: 1358
> ICP  requests: 0
> Total hits   : 268
> Curr.req.rate: 0.00 req/sec (max: 2.27)
> Tot.req.rate : 0.01 req/sec
> Curr.hit.rate: 0.00 %
> Tot.hit.rate : 19.73 %
> Curr.icp.rate: 0.00 req/sec (max: 0.00)
> ## --       CPU       --
> Total usage  : 149916ms
> Delta usage  : 41ms
> Delta time   : 61000ms
> Curr. CPU    : 0.07 % (0.01s+0.06u)
> Aver. CPU    : 0.07 % (0.01s+0.06u)
> ## --    storages     --
> Storage      : /usr/local/oops/storages/oops_storage
> Size         : 100.00 MB
> Free blks    : 25598 blks (99.99Mb) 99.99 %
> State        : READY
> Fileno       : 33
> ## -- 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)
> pam           Auth using PAM (Authentication)
> 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)
> wccp2         Web Cache Coordination Protocol V2.0 (Independent port
> listener)
> ## -- end of modules  --
> ## --    icp peers    --
> ## -- end of icp peers--
> 
> and here is the setup file:
> 
> nameserver    10.0.0.2
> http_port     3128
> userid                oops
> 
> logfile       /usr/local/oops/logs/oops.log { 3 1m } unbuffered
> accesslog     /usr/local/oops/logs/access.log
> pidfile               /var/run/oops.pid
> 
> statistics    /var/run/oops_statfile
> 
> mem_max               64m
> lo_mark               8m
> 
> disk-low-free 3
> disk-ok-free  5
> 
> force_http11
> force_completion 75
> maxresident   1m
> insert_x_forwarded_for        yes
> insert_via            yes
> always_check_freshness
> 
> group ns {
>       networks 10.0.0.0/8;
>       miss    allow;
>       http    {
>               allow dstdomain * ;
>       }
> }
> 
> storage {
>       path /usr/local/oops/storages/oops_storage ;
>       size 100m ;
> }
> 
> module oopsctl {
>       # path to oopsctl unix socket
>       socket_path     /tmp/oopsctl
>       # time to auto-refresh page (seconds)
>         html_refresh    300
> }
> 
> module        gigabase_db {
>       dbhome  /usr/local/oops/DB
>       dbname  gdburl
> }
> 
> =====================================================================
> If you would like to unsubscribe from this list send message to
> [EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
> Archive is accessible on http://lists.paco.net/oops-eng/
> 

Igor Khasilev                     |
PACO Links, igor at paco dot net  |

=====================================================================
If you would like to unsubscribe from this list send message to
[EMAIL PROTECTED] with "unsubscribe oops-eng" in message body.
Archive is accessible on http://lists.paco.net/oops-eng/

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