Re: spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE
George Schlossnagle <[email protected]> Wed, 4 Sep 2002 22:15:55 -0400
| Newsgroups | gmane.comp.apache.mod-log-spread.user |
|---|---|
| Message-ID | <[email protected]> |
do a run -D otherwise it forks and exits (which is your 'exited normally') On Wednesday, September 4, 2002, at 10:03 PM, Mike Parson wrote: > On Wed, Sep 04, 2002 at 09:26:37PM -0400, George Schlossnagle wrote: >> Reading is fundamental! > > Indeed. =) > >> Scratch that part about httpd and replace it with spreadlogd everywhere >> it appears. > > Doesn't seem to be anything... > > 2# gdb /usr/local/bin/spreadlogd > GNU gdb 4.18 (FreeBSD) > Copyright 1998 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and > you are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-unknown-freebsd"... > (gdb) run > Starting program: /usr/local/bin/spreadlogd > > Zeroing vhost hash for usage! > > Zeroing vhost hash for usage! > > Zeroing vhost hash for usage! > > Zeroing vhost hash for usage! > > Program exited normally. > (gdb) bt full > No stack. > >> On Wednesday, September 4, 2002, at 09:23 PM, George Schlossnagle >> wrote: >> >>> I thought it was apache segfaulting, not spread. You need to gdb >>> apache (httpd) not spread. I have one suspicion though - spread uses >>> staticly sized vars for it's hostnames (MAX_PROC_NAME, 19 bytes + a >>> null), and I think yours are too big. There may be some sloppy code >>> in >>> m_l_s allowing that buffer to be overun, I will poke around. That >>> backtrace would be invaluable.... > > Any way I can make this run on just hostnames and not FQDNs? > > -- > Michael Parson > [email protected] > > _______________________________________________ > mls-users mailing list > [email protected] > http://lists.backhand.org/mailman/listinfo/mls-users > > // George Schlossnagle // Principal Consultant // OmniTI, Inc http://www.omniti.com // (c) 240.460.5234 (e) [email protected] // 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0