| From: | Erdinc Akkaya <hz(dot)root(at)gmail(dot)com> |
|---|---|
| To: | Sinan Duman <sinanduman(at)gmail(dot)com> |
| Cc: | Gülümser Köroglu <gulumser(dot)koroglu(at)nanodems(dot)com>, "pgsql-tr-genel(at)postgresql(dot)org" <pgsql-tr-genel(at)postgresql(dot)org> |
| Subject: | Re: DB'den kopma |
| Date: | 2012-08-06 11:13:57 |
| Message-ID: | CANrGAiNvTzo1QaE6THRe29j0irnpW-90bcWXkeGxYswJP5tLtg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-tr-genel |
Ah birde postgresql.conf dosyası içinde authentication_timeout
parametresini kontrol edin,
3-5 saniye den az bir değer verildiyse aşağıdakilerin sebebi bu olabilir
due to
timeout
2012-08-03 17:50:13 AST [9516]: [1-1] FATAL: canceling authentication due to
timeout
2012-08-03 17:50:14 AST [5364]: [1-1] FATAL: canceling authentication due to
timeout
2012-08-03 17:50:15 AST [6060]: [1-1] FATAL: canceling authentication due to
timeout
6 Ağustos 2012 14:11 tarihinde Erdinç Akkaya <hz(dot)root(at)gmail(dot)com> yazdı:
>
>> Veritabanına bağlantı kuran programın postgresql için kullanıdığı
>> library'lerinde sorun var.
>> Burada Tom Lane'in benzer bir durum için açıklaması var:
>>
>>
> Katılıyorum. Veritabanınız durmuş değil ona bağlantı yapan client'ta
> problem var. Aksi takdirde (postgresql durmuş olsa) loglamaya devam
> edemezdi-ki zaten ona göre bir hata atardı. Kullandığınız programı kontrol
> edin, hangi porttan postgresql'i
> dinliyorsa wireshark, tcpdump vs.. gibi programlarla paketleri inceleyip
> sıkıntının kaynağını bulaiblirsiniz.
> hazır bulunmuş sonuçlar için Sinan 'ın belirttiği yazılara bakabilirsiniz.
>
>
>
> 2012/8/6 Sinan Duman <sinanduman(at)gmail(dot)com>
>
>> Selamlar,
>>
>> Veritabanına bağlantı kuran programın postgresql için kullanıdığı
>> library'lerinde sorun var.
>> Burada Tom Lane'in benzer bir durum için açıklaması var:
>>
>> http://archives.postgresql.org/pgsql-sql/2009-08/msg00020.php
>>
>> Kullanılan program c# ise, postgresql için kullandığı library'lerinde
>> yapılan güncellemeyle sorun çözülecektir.
>> Burada c# için npgsql'i geliştirenin konuyla ilgili açıklaması var:
>>
>> http://fxjr.blogspot.com/2011/12/fixed-log-unexpected-eof-on-client.html
>>
>> İyi çalışmalar.
>>
>>
>> 2012/8/6 Gülümser Köroglu <gulumser(dot)koroglu(at)nanodems(dot)com>
>>
>>> Merhabalar,
>>>
>>> internette bayağı arattım ama somut bir sonuça varamadım.
>>>
>>> Aşağıdaki log'dan da anlşılacağı üzere birden bir hata oluşmuş ve DB'ye
>>> bağlantı kopmuş. Bunun sebebi ne olabilir?
>>>
>>> 2012-08-03 17:47:54 AST [3048]: [1702865-1] LOG: duration: 0.000 ms
>>> 2012-08-03 17:47:54 AST [3048]: [1702866-1] LOG: duration: 0.000 ms
>>> 2012-08-03 17:47:54 AST [3048]: [1702867-1] LOG: duration: 0.000 ms
>>> 2012-08-03 17:47:54 AST [3048]: [1702868-1] LOG: duration: 0.000 ms
>>> 2012-08-03 17:47:55 AST [3048]: [1702869-1] LOG: duration: 0.000 ms
>>> 2012-08-03 17:47:55 AST [3048]: [1702870-1] LOG: duration: 0.000 ms
>>> 2012-08-03 17:47:55 AST [3048]: [1702871-1] LOG: could not receive data from
>>> client: No connection could be made because the target machine actively refused
>>> it.
>>>
>>>
>>> 2012-08-03 17:47:55 AST [3048]: [1702872-1] LOG: unexpected EOF on client
>>> connection
>>> 2012-08-03 17:47:55 AST [2588]: [7-1] LOG: could not receive data from client:
>>> No connection could be made because the target machine actively refused it.
>>>
>>>
>>> 2012-08-03 17:47:55 AST [2588]: [8-1] LOG: unexpected EOF on client connection
>>> 2012-08-03 17:50:09 AST [8152]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:10 AST [9688]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:11 AST [8092]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:12 AST [7144]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:13 AST [9516]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:14 AST [5364]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:15 AST [6060]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:16 AST [9148]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:17 AST [9300]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>> 2012-08-03 17:50:18 AST [8608]: [1-1] FATAL: canceling authentication due to
>>> timeout
>>>
>>>
>>> Yardımcı olabilir misiniz?
>>> *
>>>
>>> Gülümser Köroğlu
>>> Junior Software Engineer
>>>
>>> *
>>> ------------------------------
>>> ------------------------------
>>> *nanodems* Ltd.
>>> *Because Integration Matters*
>>> ------------------------------
>>> ------------------------------
>>>
>>> Gazi Teknopark
>>> Golbasi
>>> 06830
>>> Ankara / Turkey
>>>
>>> Tel: +90 312 485 06 78 Fax: +90 312 485 06 78
>>> ------------------------------
>>> This e-mail and the files attached to it (if any) have been sent by the
>>> sender under his/her own individual discretion; they can not be copied,
>>> disclosed or sold for any purpose.
>>> If you are not the intended recipient (or have received this e-mail in
>>> error)please notify the sender immediately and destroy this e-mail.
>>> Any unauthorised copying, disclosure or distribution of the material in
>>> this e-mail is strictly forbidden.
>>> Nanodems ltd. sti. accepts no responsibility on the accuracy, integrity
>>> and currency of the information transmitted with this message.
>>>
>>
>>
>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Gülümser Köroglu | 2012-08-06 12:01:02 | Re: DB'den kopma |
| Previous Message | Erdinc Akkaya | 2012-08-06 11:11:41 | Re: DB'den kopma |