Subject | Re: [ib-support] ibase crash (error on main_port, shuttingdow) |
---|---|
Author | Frank Schlottmann-Goedde |
Post date | 2001-06-18T09:57:49Z |
Sorry, my post went to Ann directly,
so here it is again
"Ann W. Harrison" wrote:
Linux that caused connection timeouts.
You may try to use the debug version to get some more log entries.
ftp://firebird.sourceforge.net/pub/firebird/fb-Win32-Snapshot-Dbg-0.9.5.156.zip
Frank
--
"Fascinating creatures, phoenixes. They can carry immensely heavy loads,
their tears have healing powers and they make highly faithful pets."
- J.K. Rowling
http://firebird.sourceforge.net
so here it is again
"Ann W. Harrison" wrote:
>You must have a very old version of the interbase source.
> At 09:02 PM 6/15/2001 +0200, H. Th. van der Meer wrote:
>
> >I took a look at inet.c. The files from firebird and interbase differ. On
> >line 36 FD_SETSIZE is defined as 256 in one and 1024 in the other.
>From the interbase ChangeLog:No, Brad Pepers changes affected a select anomality (or normality) on
>
> 2000-09-20 02:15 bsriram
>
> * InterBase/remote/inet.c:
>
>
> Problem: _______ If the user count went about 256+, some of the
> connections were not being serviced. i.e. the request from those
> connections were not being handled at all.
>
> Analysis: ________ We took Microsoft's advice 5 years ago and pound
> defined FD_SETSIZE to 256 in remote/inet.c. The InterBase server
> traverses the port list and calls the FD_SET macro to prepare for
> the select() call. The macro performs the appropriate bounds
> checking and silently tosses extra ports when the array is full. So
> we will never listen to more than 256 server ports with select()
> even though we are happy to accept() them.
>
> It has nothing to do with Microsoft or the size of datatypes. We
> need to keep up with our customers' usage patterns.
>
> Solution: ________ Raising the pound define of FD_SETSIZE to 1024
> in remote/inet.c solves the connectivity problems on Windows NT.
> >
> >I would like to know who made this change? and why?
>
> Almost certainly Frank Schlottmann-Goedde on behalf of Brad Pepers.
Linux that caused connection timeouts.
You may try to use the debug version to get some more log entries.
ftp://firebird.sourceforge.net/pub/firebird/fb-Win32-Snapshot-Dbg-0.9.5.156.zip
Frank
--
"Fascinating creatures, phoenixes. They can carry immensely heavy loads,
their tears have healing powers and they make highly faithful pets."
- J.K. Rowling
http://firebird.sourceforge.net