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

From: Michael O'Reilly <michael@dont-contact.us>
Date: Tue, 17 Feb 1998 10:39:51 +0800

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.

Machine freezes while all the DNS servers startup.
32 threads burn CPU....

# pstree
[ ... ]
     | `-sshd---bash---squid-+-dnsserver---squid---16*[squid]
     | |-15*[dnsserver]
     | `-squid---16*[squid]

This is definately wrong.

Hmm. Ok. Add

            aioClose(dup(0));

ad line 439 in main.c (before ipcache_init()). This is required to
initialize the threads library before it hits the fork() to build the
dns servers.

make install

squid -N
freeze...

     | `-sshd---bash---squid-+-16*[dnsserver]
     | `-squid---16*[squid]

better.

1998/02/17 10:33:32| storeGetNextFile: directory does not exist!.
1998/02/17 10:33:32| storeGetNextFile: directory does not exist!.
1998/02/17 10:33:32| storeGetNextFile: directory does not exist!.
1998/02/17 10:33:32| storeGetNextFile: directory does not exist!.
1998/02/17 10:33:32| storeGetNextFile: directory does not exist!.

Bugger.

store_rebuild.c line 461, change to read

            if (!d->entry && errno == ENOENT)

Required, becuase the contents of errno are undefined unless the
previous library call returned an error. Errno is NOT cleared on a
successful library call.

make install

Ahh. much better. Now responding to HTTP requests.

Michael.
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:42 MST