Re: 6.1.4 running on a Performa 450 / LCIII

David Brownlee <[email protected]>
Newsgroups gmane.os.netbsd.ports.mac68k
Message-ID <CAGN_6pY72yNSSO0hjt9muzM0EBdZyYiHihMo04NDzyYh+04SYQ@mail.gmail.com>
On 19 May 2014 02:01, Bjarne Bäckström <[email protected]> wrote:

> Thanks for replying!
>
> 18 maj 2014 kl. 21:49 skrev David Brownlee <[email protected]>:
>
> Once makemandb has completed a run it shouldn't really use any more time
> next boot unless your manpages have changed. What size is your
> /var/db/man.db?
>
>
>    That’s what I thought too. The size doesn’t seem to have changed since
> May 16, and makemandb has run at least 10 times during that time. The size
> is close to 19 MB:
>
>    -rw-r--r--   1 root     wheel    18826240 May 16 17:41 man.db
>
> That seems about the right size.

After taking a quick look at makemandb it will work through that sqlite db
file and stat(2) every manpage on the system to see if they need updated.

I think small machines should not be running makemandb by default - see
other email to port-mac68k@ for that thread :)

> When its running is your machine paging? - run 'vmstat 5' and se if the
> 'po' column has consistent non zero numbers.
>
>    There are no pageouts (’vmstat’ is showing a row of zeros) before
> 'Building temporary file cache’ has finished, and then, according to ’top’,
> it will page out 6+ MB:
>
> 26 processes: 1 runnable, 23 sleeping, 1 zombie, 1 on CPU
> CPU states: 92.4% user,  0.0% nice,  7.6% system,  0.0% interrupt,  0.0%
> idle
> Memory: 13M Act, 5284K Inact, 5032K Wired, 5004K Exec, 9040K File, 1652K
> Free
> Swap: 39M Total, 6252K Used, 33M Free
>
>   PID USERNAME PRI NICE   SIZE   RES STATE      TIME   WCPU    CPU
> COMMAND
>   134 root               29    0        4132K 2304K RUN       3:08
>  94.29%   94.29% makemandb
>   473 bjarne           43    0        3364K 1144K CPU        1:40
>  0.00%     0.00% top
>       0 root             126    0              0K   32M pgdaemon   1:09
>  0.00%      0.00% [system]
>
> When its finished running you might want to try as root running 'makemandb
> -v' and see if it completes
>
>  Now, that seems to be the place where all the fun is happening:
>
> makemandb -v
> Building temporary file cache
> Performing index update
> Parsing: /usr/X11R6/man/man1/rman.1
> makemandb: Error in indexing /usr/X11R6/man/man1/rman.1
> Parsing: /usr/X11R6/man/man3/Xv.3
> makemandb: Error in indexing /usr/X11R6/man/man3/Xv.3
> Parsing: /usr/X11R6/man/man3/XvPutVideo.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvPutVideo.3
> Parsing: /usr/X11R6/man/man3/XvSelectVideoNotify.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvSelectVideoNotify.3
> Parsing: /usr/X11R6/man/man3/XvFreeAdaptorInfo.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvFreeAdaptorInfo.3
> Parsing: /usr/X11R6/man/man3/XvFreeEncodingInfo.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvFreeEncodingInfo.3
> Parsing: /usr/X11R6/man/man3/XvGetPortAttribute.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvGetPortAttribute.3
> Parsing: /usr/X11R6/man/man3/XvGetStill.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvGetStill.3
> Parsing: /usr/X11R6/man/man3/XvGetVideo.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvGetVideo.3
> Parsing: /usr/X11R6/man/man3/XvGrabPort.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvGrabPort.3
> Parsing: /usr/X11R6/man/man3/XvPortNotify.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvPortNotify.3
> Parsing: /usr/X11R6/man/man3/XvPutStill.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvPutStill.3
> Parsing: /usr/X11R6/man/man3/XvQueryAdaptors.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvQueryAdaptors.3
> Parsing: /usr/X11R6/man/man3/XvQueryBestSize.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvQueryBestSize.3
> Parsing: /usr/X11R6/man/man3/XvQueryEncodings.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvQueryEncodings.3
> Parsing: /usr/X11R6/man/man3/XvQueryExtension.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvQueryExtension.3
> Parsing: /usr/X11R6/man/man3/XvSelectPortNotify.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvSelectPortNotify.3
> Parsing: /usr/X11R6/man/man3/XvSetPortAttribute.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvSetPortAttribute.3
> Parsing: /usr/X11R6/man/man3/XvStopVideo.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvStopVideo.3
> Parsing: /usr/X11R6/man/man3/XvUngrabPort.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvUngrabPort.3
> Parsing: /usr/X11R6/man/man3/XvVideoNotify.3
> makemandb: Error in indexing /usr/X11R6/man/man3/XvVideoNotify.3
> Total Number of new or updated pages encountered = 21
> Total number of (hard or symbolic) links found = 3
> Total number of pages that were successfully indexed/updated = 0
> Total number of pages that could not be indexed due to errors = 21
> Deleting stale index entries
>
>    Alas, I wouldn’t know what to look for in those files…
>

A netbsd-6 box should have X11R7 - is this an upgrade and do you have a set
of X files in both X11R6 and X11R7?

>
>    X forwarding works fine with the ’standard’ installation, though it
>> would be nice to have color X. Would the ole, trusted color X server from
>> 1.6.2 still run on this system?
>>
>
> It would be nice to get the colo(u)r code merged into the current tree -
> does anyone have the source to hand?
>
> Thanks again!
>

Hoping someone speaks up on the colo(u)r X server... anyone? Beuller? :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.