Re: Beta 15 works! (but it's broken in a different way :)

From: Oskar Pearson <oskar@dont-contact.us>
Date: Tue, 17 Feb 1998 05:14:03 +0200

--MimeMultipartBoundary
Content-Type: text/plain; charset=us-ascii

Hi

> Laugh, I tell a lie. It's settled down...
> No, it's exited. bugger. where's the log files.
> oh. port is already used. try another.
<GRIN>

> # pstree
> [ ... ]
> | `-sshd---bash---squid-+-dnsserver---squid---16*[squid]
> | |-15*[dnsserver]
> | `-squid---16*[squid]
> This is definately wrong.
...
> aioClose(dup(0));

hmm... I did this on the machine with the libs version problems, but
not on this machine... I put it in 'disk_init' in disk.c though... since
the function was completely empty I guessed that it was supposed to
go there... this is what 'configured_once' is used for, no?

> store_rebuild.c line 461, change to read
Sure this is the right line number?
 
> if (!d->entry && errno == ENOENT)

context :)

Not this?

            if (!d->entry && errno == ENOENT)
                debug(20, 1) ("storeGetNextFile: directory does not exist!.\n");
            debug(20, 3) ("storeGetNextFile: Directory %s\n", d->fullpath);

> Ahh. much better. Now responding to HTTP requests.
Here too!
887684807.641 128 127.0.0.1 TCP_MISS/200 6759 GET http://www.linux.org.za/ - DIRECT/www.linux.org.za text/html
887684816.203 17 127.0.0.1 TCP_MEM_HIT/200 6758 GET http://www.linux.org.za/ - NONE/- text/html

One thing that's interesting:

1998/02/17 04:56:56| comm_select: 0 sockets ready at 887684216
1998/02/17 04:56:56| comm_select: time out: 887684216.
1998/02/17 04:56:56| eventRun: Running 'storeCleanup'
1998/02/17 04:56:56| eventAdd: Adding 'storeCleanup', in 0 seconds
1998/02/17 04:56:56| comm_select: 0 sockets ready at 887684216
1998/02/17 04:56:56| comm_select: time out: 887684216.
1998/02/17 04:56:56| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 04:56:56| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 04:56:56| comm_select: 0 sockets ready at 887684216
1998/02/17 04:56:56| comm_select: time out: 887684216.
1998/02/17 04:56:56| eventRun: Running 'storeCleanup'
1998/02/17 04:56:56| eventAdd: Adding 'storeCleanup', in 0 seconds
1998/02/17 04:56:56| comm_select: 0 sockets ready at 887684216
1998/02/17 04:56:56| comm_select: time out: 887684216.
1998/02/17 04:56:56| eventRun: Running 'storeCleanup'
1998/02/17 04:56:56| eventAdd: Adding 'storeCleanup', in 0 seconds
1998/02/17 04:56:56| comm_select: 0 sockets ready at 887684216
1998/02/17 04:56:56| comm_select: time out: 887684216.
1998/02/17 04:56:56| eventRun: Running 'storeCleanup'
1998/02/17 04:56:56| eventAdd: Adding 'storeCleanup', in 0 seconds
1998/02/17 04:56:56| comm_select: 0 sockets ready at 887684216
1998/02/17 04:56:56| comm_select: time out: 887684216.
1998/02/17 04:56:56| eventRun: Running 'storeCleanup'

and then I get LOTS more repetitions within this second... as soon as
I actually open a web connection things get a lot nicer:

1998/02/17 04:58:42| comm_select: 0 sockets ready at 887684322
1998/02/17 04:58:42| comm_select: time out: 887684322.
1998/02/17 04:58:42| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 04:58:42| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 04:58:43| comm_select: 0 sockets ready at 887684323
1998/02/17 04:58:43| comm_select: time out: 887684323.
1998/02/17 04:58:43| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 04:58:43| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds
1998/02/17 04:58:44| comm_select: 0 sockets ready at 887684324
1998/02/17 04:58:44| comm_select: time out: 887684324.
1998/02/17 04:58:44| eventRun: Running 'storeMaintainSwapSpace'
1998/02/17 04:58:44| eventAdd: Adding 'storeMaintainSwapSpace', in 1 seconds

My machine is still fairly slow though, but I think it's because it's
rebuilding the store log from disk... or does that process stop here?

1998/02/17 04:49:31| storeGetNextFile: Directory /usr/local/squid/cache/0F/FF
1998/02/17 04:49:31| storeGetNextFile: flag=1, 0: /00/00
1998/02/17 04:49:31| storeRebuildFromDirectory: DIR #0 done!

It had better not have, since :(
newt:/usr/local/squid/logs # cat /proc/loadavg
16.44 16.62 14.97 18/130 29754

The machine is useable though.. not nice, but useable.

newt:/usr/local/squid/logs # ps -auxr
    USER PID %CPU %MEM VSZ RSS TT STAT START TIME COMMAND
root 29763 0.0 1.1 868 356 p7 R 05:09 0:00 ps -auxr
squid 29656 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29658 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29661 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29663 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29665 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29667 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29669 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29671 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29673 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29675 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29677 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29679 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29681 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29683 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29685 4.6 1.4 2100 440 q0 R 04:49 0:55 squid
squid 29686 4.6 1.4 2100 440 q0 R 04:49 0:55 squid

The numbers on each thread do increase fast though..
    USER PID %CPU %MEM VSZ RSS TT STAT START TIME COMMAND
root 29769 0.0 1.2 928 388 p7 R 05:11 0:00 ps -auxr
squid 29656 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29658 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29661 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29663 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29665 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29667 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29669 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29671 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29673 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29675 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29677 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29679 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29681 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29683 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29685 4.7 1.4 2100 440 q0 R 04:49 1:02 squid
squid 29686 4.7 1.4 2100 440 q0 R 04:49 1:02 squid

Oskar

---
"Haven't slept at all. I don't see why people insist on sleeping. You feel
so much better if you don't. And how can anyone want to lose a minute -
a single minute of being alive?"				-- Think Twice
--MimeMultipartBoundary--
Received on Tue Jul 29 2003 - 13:15:46 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:11:43 MST