agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: R: Re: [Pljava-dev] crash due to huge load?
Date: Sat, 29 Oct 2005 08:45:48 +0200
Message-ID: <43621A50000027BB@mail-5.mail.tiscali.sys> (raw)

Thomas,

thanks for your reply. Sorry but I would disagree with your hipotesys 
about Log4J: I have used it without any problem (in PLJava Trigger). 

The evidence is the fact that if I use my PLJ/Trigger a lot of time (the
same .SQL
script execute, via PSQL, 20 times), without complex-thread behaviour, the

Log4J logs are correctly produced.

But if I enable complex-thread behaviour the pgsrv crash at the
second psql-session execution.

TIA
Roberto Colmegna

---- Messaggio originale ----
Data: Fri Oct 28 20:38:07 CEST 2005
Da: Thomas Hallgren<thomas at tada.se>
A: rcolmegna at tiscali.it
Cc: pljava-dev at gborg.postgresql.org
Ccn: 
Ogg.: Re: [Pljava-dev] crash due to huge load?

Roberto,
You have to supply the backend log. This doesn't tell me anything. And 
I'm not sure its such a good idea to use log4j with PL/Java. The 
standard Java logger (java.util.logging) is configured to use the 
backend logging utilities. Use that.

Regards,
Thomas Hallgren

rcolmegna at tiscali.it wrote:
> Hi,
>
> I'm using a recompiled last CVS-checkout of PLJAVA on PG8.0.3 and JDK1.5.0.
>
> I build a thread-oriented trigger (make a thread which build a connection
> to another
> PG).
>
> I obtain frequently this error msg:
>
>  server closed the connection unexpectedly
>         This probably means the server terminated abnormally
>         before or while processing the request.
>
> But I haven't any exception on thread-handled logs (LOG4J).
>
> TIA
> Roberto Colmegna
>
>
> __________________________________________________________________
> TISCALI ADSL
> Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone 
> Telecom a partire da 19,95 Euro/mese.
> Attivala subito, I PRIMI DUE MESI SONO GRATIS! CLICCA QUI:
> http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/
>
>
>
> _______________________________________________
> Pljava-dev mailing list
> Pljava-dev at gborg.postgresql.org
> http://gborg.postgresql.org/mailman/listinfo/pljava-dev
>   




__________________________________________________________________
TISCALI ADSL
Solo con Tiscali Adsl navighi senza limiti e telefoni senza canone 
Telecom a partire da 19,95 Euro/mese.
Attivala subito, I PRIMI DUE MESI SONO GRATIS! CLICCA QUI:
http://abbonati.tiscali.it/adsl/sa/1e25flat_tc/







view thread (7+ messages)  latest in thread

Message-ID: <43621A50000027BB@mail-5.mail.tiscali.sys>
Permalink:  ../43621A50000027BB@mail-5.mail.tiscali.sys/
Also on:    postgresql.org/message-id/43621A50000027BB@mail-5.mail.tiscali.sys

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: R: Re: [Pljava-dev] crash due to huge load?
  In-Reply-To: <43621A50000027BB@mail-5.mail.tiscali.sys>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox