Daniel
Had exactly the same error and Lincoln gave me the following changes for
comm.c:
Around about line 702 replace
if (theHttpConnection >= 0 && fdstat_are_n_free_fd(RESERVED_FD))
fds[N++] = theHttpConnection;
for (j=0; j < Config.Port.number_http; j++) {
if (theHttpConnection[j] >= 0 && fdstat_are_n_free_fd(RESERVED_FD))
fds[N++] = theHttpConnection[j];
}
On line 1039 change
if (fd == theHttpConnection)
continue;
to read:
for (j=0; j < Config.Port.number_http; j++) {
if (fd == theHttpConnection[j])
continue;
}
The only remaining thing I found I had forgotten is assign the variables
etc
So add
int j = 0;
at about lines 699 and 940 .... roughly
Good luck
P.S. I had exactly teh same fault as you are reporting and all works OK
now. Our system is RedHat 2.0.18
On Wed, 21 May 1997, Daniel Schneider wrote:
> Hi,
>
> I applied the patch by Lincoln Dale to squid 1.1.10. I am running on a
> Linux 2.0.27. I want to run it
> http_port 80
> http_port 3128
>
> and I loved it if it could also provide an httpd_accel so I could force it
> to do
> httpd_accel www.westfalen.de 81
>
> But my current problem seems to be a step before integrating this. Every
> time I start squid i get the following:
>
> 97/05/21 16:09:11| Starting Squid Cache version 1.1.10 for i586-pc-linux-gnu...
> 97/05/21 16:09:11| With 256 file descriptors available
> 97/05/21 16:09:11| Performing DNS Tests...
> 97/05/21 16:09:11| Successful DNS name lookup tests...
> 97/05/21 16:09:11| Started 5 'dnsserver' processes
> 97/05/21 16:09:11| Unlinkd pipe opened on FD 13
> 97/05/21 16:09:11| file_map_create: creating space for 2097152 files
> 97/05/21 16:09:11| Swap maxSize 1146880, estimated 57344 objects
> 97/05/21 16:09:11| Target number of buckets: 1146
> 97/05/21 16:09:11| Using 7951 Store buckets, maintain 1 bucket every 10 seconds
> 97/05/21 16:09:11| Rebuilding storage from disk image in /var/www/proxycache
> 97/05/21 16:09:11| Accepting HTTP connections for port 3128 on FD 17.
> 97/05/21 16:09:11| Accepting HTTP connections for port 80 on FD 18.
> 97/05/21 16:09:11| Accepting ICP connections on FD 19.
> 97/05/21 16:09:11| Ready to serve requests.
> FATAL: Received Segment Violation...dying.
> 97/05/21 16:09:12| storeWriteCleanLog: Not currently OK to rewrite swap log.
> 97/05/21 16:09:12| storeWriteCleanLog: Operation aborted.
> CPU Usage: user 0 sys 0
> Maximum Resident Size: 0 KB
> Page faults with physical i/o: 213
>
> What can I do to aviod this failure? On hints?
>
> TIA.
>
>
> Daniel Schneider
> http://www.westfalen.de/terrania/
> http://www.westfalen.de/terrania/english.html (English)
>
Received on Wed May 21 1997 - 16:03:57 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:35:14 MST