Caro Colega
Bom dia

Adote sistemas operacionais especializados em prover/servir acesso à
aplicações e dados, use Linux seja feliz e durma em paz.

Não sei qual é o tamanho do seu banco de dados e tão pouco o número de
acessos e transações simultâneos,  no entanto, é recomendável que você
utilize um hardware descente para a sua operação.

As minhas dicas podem não lhe ajudar diretamente no problema, mas sem
dúvida servem de base para evitar esse tipo de problema.
Em 08/04/2016 06:33, "[email protected]" <[email protected]>
escreveu:

>
> >  > Minha solução foi utilizar uma máquina exclusivamente para acesso do
> >  > Internet Banking. Se isso não for uma opção no seu cenário, talvez
> > instalar
> >  > o Postgres em uma VM resolveria.
> >  > Não faria mais sentido isolar o culpado?
> > Já fizemos isso em um cliente, mas nem todos aceitam de boa.
> > Então, o sistema operacional na verdade também são várias versões
> > (windows), nos clientes.
> > O caso que estou analisando primeiro é no meu próprio computador
> > (desenvolvedor), e eu uso o sistema de bancos - banco do brasil.
> > Meu computador tem o windows 10 64bits
> > E Já tentei o postgres 9.1, 9.3 e agora o 9.5.1
> > Acabei de ligar o computador, não verifiquei se o postgres estava com o
> > serviço rodando, acessei os bancos e vou trabalhar, e,,, não está
> rodando.
> > O log que eu peguei era da pasta data, desculpe a ignorância, mas onde
> > mais acho os logs necessários para análise do problema?
> > E não há regra, mesmo não acessando o banco no dia, pode dar problema, e
> > a qualquer momento. Pode não ser a causa, a única correlação é que só dá
> > o problema em computadores que acessam internet banking.
> > Grato,
> > Erlon
> > em pg_log agora..
> > 2016-04-07 15:54:16 BRT STATEMENT:  create view ...  (último comando que
> > fiz ontem e deixei o computador ligado até desligar depois das 22 hrs)
> e...
> > 2016-04-07 22:02:52 BRT LOG:  could not receive data from client:
> > unrecognized winsock error 10061
> > 2016-04-07 22:02:52 BRT LOG:  could not receive data from client:
> > unrecognized winsock error 10061
> > 2016-04-07 22:02:53 BRT LOG:  could not receive data from client:
> > unrecognized winsock error 10061
> > 2016-04-08 05:30:17 BRT WARNING:  worker took too long to start;
> > canceled   (hoje ao ligar, não inicia o serviço)
> > 2016-04-08 05:31:18 BRT WARNING:  worker took too long to start; canceled
>
> Olá Erlon
>
> Tentando decifrar o seu problema, pode ser uma infinidade de coisas.
> A mensagem de erro que você está vendo significa que o PostgreSQL está
> funcionando, mas não consegue fazer o que chamamos de "fork" - criar um
> novo processo para atender às novas conexões.
>
> Verifique as seguintes coisas na sua máquina, por favor:
> 1) Ela está sobrecarregada? Tipo, o uso de CPU está em 100%? Tente ver
> isso no painel de controle do Windows, na seção "Sistema" (não sei no
> Windows 10, era assim até o Windows 7, talvez você tenha que dar uma
> Googlada pra achar).
>
> 2) Tente desabilitar temporariamente seu antivírus - essa peça arcaica
> de software que se faz necessária nos sistemas da Microsoft pode estar
> barrando a abertura de novos processos. Veja também se desabilitando o
> tal do Windows Defender não resolve o problema.
>
> 3) Firewall Microsoft - Ele é baseado na permissão de executáveis de
> abrir sockets de rede - verifique se desabilitando temporariamente o
> problema se resolve.
>
> Uma vez identificada a causa, aí você fala pra gente se os testes aí de
> cima surtiram algum resultado e a gente tenta uma solução definitiva.
>
> PS.: Instale o PostgreSQL 9.5.2 que foi liberado semana passada, porque
> o 9.5.1 tem um bug crítico (não relacionado ao seu problema, porém).
>
> --------------
> *Vou tentar esses procedimentos na próxima vez que travar, muito
> obrigado...*
>
>
> segue o log depois que reiniciei e aí volta a funcionar (só reiniciando,
> desligar e ligar geralmente não funciona)
>
> 2016-04-08 06:00:58 BRT FATAL:  the database system is starting up
> 2016-04-08 06:00:58 BRT LOG:  could not receive data from client:
> unrecognized winsock error 10061
> 2016-04-08 06:00:58 BRT LOG:  could not receive data from client:
> unrecognized winsock error 10061
> 2016-04-08 06:00:58 BRT LOG:  could not receive data from client:
> unrecognized winsock error 10061
> 2016-04-08 06:00:58 BRT LOG:  database system was interrupted; last known
> up at 2016-04-07 17:21:22 BRT
> 2016-04-08 06:00:58 BRT LOG:  could not receive data from client:
> unrecognized winsock error 10061
> 2016-04-08 06:00:59 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:00 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:01 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:03 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:05 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:06 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:07 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:08 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:09 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:10 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:11 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:12 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:14 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:15 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:16 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:17 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:18 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:20 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:21 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:22 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:23 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:24 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:25 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:26 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:27 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:29 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:30 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:31 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:32 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:36 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:37 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:38 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:39 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:40 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:41 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:43 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:44 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:45 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:46 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:47 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:48 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:49 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:50 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:51 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:52 BRT FATAL:  the database system is starting up
> 2016-04-08 06:01:54 BRT FATAL:  the database system is starting up
> 2016-04-08 06:22:30 BRT LOG:  database system was not properly shut down;
> automatic recovery in progress
> 2016-04-08 06:22:30 BRT LOG:  invalid record length at 0/D9350FB8
> 2016-04-08 06:22:30 BRT LOG:  redo is not required
> 2016-04-08 06:22:30 BRT LOG:  MultiXact member wraparound protections are
> now enabled
> 2016-04-08 06:22:31 BRT LOG:  autovacuum launcher started
> 2016-04-08 06:22:31 BRT LOG:  sistema de banco de dados está pronto para
> aceitar conexões
>
>
> _______________________________________________
> pgbr-geral mailing list
> [email protected]
> https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral
>
_______________________________________________
pgbr-geral mailing list
[email protected]
https://listas.postgresql.org.br/cgi-bin/mailman/listinfo/pgbr-geral

Responder a