Subject | Re: Possible problem with event registration with Win2008 serwer. |
---|---|
Author | b0bik2000 |
Post date | 2011-09-09T14:16:44Z |
More traces:
application hang there:
procedure TIBEventThread.SQueEvents;
begin
try
Parent.Database.Call(isc_que_events(StatusVector, @...,
@EventID, EventBufferLen, EventBuffer, TISC_CALLBACK(@EventCallback),
PVoid(Self)), True); // <<< this call hang application, until the same call is done from another machine
except
on E : Exception do
if Assigned(Parent.OnError) then
if E is EIBError then
Parent.OnError(Parent, EIBError(E).IBErrorCode)
else
Parent.OnError(Parent, 0);
end;
end;
When the same procedure is executed from another machine (or from the same), the first application backs to life. So maybe there is some problem's in isc_que_events ?
b
application hang there:
procedure TIBEventThread.SQueEvents;
begin
try
Parent.Database.Call(isc_que_events(StatusVector, @...,
@EventID, EventBufferLen, EventBuffer, TISC_CALLBACK(@EventCallback),
PVoid(Self)), True); // <<< this call hang application, until the same call is done from another machine
except
on E : Exception do
if Assigned(Parent.OnError) then
if E is EIBError then
Parent.OnError(Parent, EIBError(E).IBErrorCode)
else
Parent.OnError(Parent, 0);
end;
end;
When the same procedure is executed from another machine (or from the same), the first application backs to life. So maybe there is some problem's in isc_que_events ?
b
--- In firebird-support@yahoogroups.com, "b0bik2000" <b0bik@...> wrote:
>
> Today I've observed this problem on our database too. The symptoms are:
>
> - after registering a event application hangs
> - when i run another instance of application, the previous one get live (but without events working)
> - the same happens when i try this on serwer and from client machine
> - i think it is fb serwer problem - firewall are turned off
> - the same happen during registration an event throught flamerobin - first instance hangs but start responding after second instance trying to register
> - it is not about database - when i try to register events to one database - client application can be back to live by trying to register event's to other database on the same server
> - at this moment there are 17 connections to serwer / 3 databases
> - i'm sure that if i restart firebird now, it will back to normal
> - Firebird is 2.0.3.12981, databases are dialect 1, ODS 11.0
> - "serwer" is Windows 7 x86 (but the same happens on other servers (x64 / x86, Win2008 ...)
> - firebird.log - nothing strange today
>
> - "netstat -s" on the server:
>
> Statystyki IPv4
>
> Odebrane pakiety = 41125479
> Odebrane b³êdy nag³ówka = 0
> Odebrane b³êdy adresu = 7653
> Przekazane datagramy = 0
> Odebrane nieznane protoko³y = 0
> Odebrane pakiety nastêpnie odrzucone = 192372
> Odebrane pakiety nastêpnie dostarczone = 227577952
> ¯±dania wyj¶ciowe = 249361479
> Odrzucenia routingu = 0
> Odrzucone pakiety wyj¶ciowe = 742
> Pakiet wyj¶ciowy bez trasy = 0
> Wymagane ponowne asemblowanie = 0
> Pomy¶lne ponowne asemblowanie = 0
> Niepowodzenia ponownego asemblowania = 0
> Datagramy pomy¶lnie pofragmentowane = 0
> Datagramy niepofragmentowane = 0
> Utworzone fragmenty = 0
>
> Statystyki IPv6
>
> Odebrane pakiety = 4027154
> Odebrane b³êdy nag³ówka = 0
> Odebrane b³êdy adresu = 86
> Przekazane datagramy = 0
> Odebrane nieznane protoko³y = 0
> Odebrane pakiety nastêpnie odrzucone = 1260
> Odebrane pakiety nastêpnie dostarczone = 4028653
> ¯±dania wyj¶ciowe = 3604803
> Odrzucenia routingu = 0
> Odrzucone pakiety wyj¶ciowe = 483
> Pakiet wyj¶ciowy bez trasy = 8
> Wymagane ponowne asemblowanie = 0
> Pomy¶lne ponowne asemblowanie = 0
> Niepowodzenia ponownego asemblowania = 0
> Datagramy pomy¶lnie pofragmentowane = 0
> Datagramy niepofragmentowane = 0
> Utworzone fragmenty = 0
>
> Statystyki ICMPv4
>
> Odebrano Wys³ano
> Komunikaty 31880 2185
> B³êdy 0 0
> Miejsce docelowe nieosi±galne 29976 269
> Przekroczono czas 0 0
> Problemy z parametrami 0 0
> Wygaszacze ¼róde³ 0 0
> Przekierowania 0 0
> Odpowiedzi echa 0 1904
> Echa 1904 12
> Sygnatury czasowe 0 0
> Odpowiedzi sygnatur czasowych 0 0
> Maski adresów 0 0
> Odpowiedzi masek adresów 0 0
> ¯±dania routera 0 0
> Anonse routera 0 0
>
> Statystyki ICMPv6
>
> Odebrano Wys³ano
> Komunikaty 6704 3826
> B³êdy 0 0
> Miejsce docelowe nieosi±galne 3487 165
> Pakiet za du¿y 0 0
> Przekroczono czas 0 0
> Problemy z parametrami 0 0
> Echa 2 0
> Odpowiedzi echa 0 2
> Kwerendy MLD 0 0
> Raporty MLD 0 0
> MLD Wykonane 0 0
> ¯±dania routera 0 9
> Anonse routera 0 0
> ¯±dania s±siada 1709 1941
> Anonse s±siada 1506 1709
> Przekierowania 0 0
> Przenumerowania routera 0 0
>
> Statystyki TCP dla IPv4
>
> Aktywne otwarcia = 66691
> Pasywne otwarcia = 72463
> Niepomy¶lne próby po³±czenia = 244
> Resetowane po³±czenia = 8254
> Bie¿±ce po³±czenia = 54
> Odebrane segmenty = 226552650
> Wys³ane segmenty = 248553044
> Retransmitowane segmenty = 120596
>
> Statystyki TCP dla IPv6
>
> Aktywne otwarcia = 7
> Pasywne otwarcia = 302488
> Niepomy¶lne próby po³±czenia = 7
> Resetowane po³±czenia = 260554
> Bie¿±ce po³±czenia = 0
> Odebrane segmenty = 2809631
> Wys³ane segmenty = 2385687
> Retransmitowane segmenty = 475
>
> Statystyki UDP dla IPv4
>
> Odebrane datagramy = 990572
> Brak portów = 192327
> B³êdy odbioru = 0
> Wys³ane datagramy = 685630
>
> Statystyki UDP dla IPv6
>
> Odebrane datagramy = 1209640
> Brak portów = 1229
> B³êdy odbioru = 37
> Wys³ane datagramy = 1214776
>
>
>
> Maybe there are some limits of numer of registered (event listening) clients ? How can I check numer of registered clients ?
>
> Best regards
> b0bik
>
> --- In firebird-support@yahoogroups.com, "b0bik2000" <b0bik@> wrote:
> >
> > Hello
> >
> > I've "strange" problem. I think it can be similar to this one:
> >
> > http://firebird.1100200.n4.nabble.com/Event-Issues-td1107126.html
> >
> > When firebird serwer is installed on Win2008 x64 machine, sometimes our application hang during event registration. In Firebird conf i've set RemoteAuxPort to 53050. Symptoms are exactyly the same when i disable Incoming rule on serwer Windows Firewall. When i start another instance of my application, the first one instance get unhanged, but the second one is hanged : )
> >
> > We're using fb 2.0.3 x86 and 2.1.4 x86.
> >
> > b
> >
>