Re: SYN floods?

From: Dancer <dancer@dont-contact.us>
Date: Fri, 25 Jun 1999 12:49:00 +1000

Jon Drukman wrote:
>
> At 04:31 PM 6/24/99 , Henrik Nordstrom wrote:
> >Squid probaby does not know that it have that many filedescriptors
> >available. See the output in cache.log when Squid starts.
> >
> >If you have changed the upper limit supported by your machine after you
> >build your squid, then you need to rebuild Squid to make the change
> >effective.
>
> ah, i thought it picked it up dynamically when it started. well, i rebuilt
> squid as root so as to get the maximum amount of descriptors and now it
> core dumps when it starts:
>
> Program terminated with signal 11, Segmentation fault.
> Cannot access memory at address 0x10078080.
> #0 storeDirConfigure () at store_dir.c:844
> 844 Config.Swap.maxSize += SD->max_size;
> (gdb) bt
> #0 storeDirConfigure () at store_dir.c:844
> #1 0x7eb7 in configDoConfigure () at cache_cf.c:223
> #2 0x7b00 in parseConfigFile (
> file_name=0x17a040 "/usr/local/squid/etc/realconf") at cache_cf.c:204
> #3 0x3635a in main (argc=3, argv=0xefbfdc90) at main.c:564
>

Well, we've learned something. Looks like a heap overrun.

D
Received on Thu Jun 24 1999 - 20:43:05 MDT

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