I am not sure i am just giving you an opinion, cause i have not skills
enough to look into the code!
I am just saying, when the time out is smaller than the external comand it
becames a defunct process.
Setting the timeout to a higher value, will only fix for a moment, once the
real server get a high load, it will give a slower response, in that case
ldirectord timeout will make an defunct process anyway.
I guess the best solution is to set ldiretord timeout to 0 and let the
external comand see the timeout. Is that right ?
Bytheway, sorry about my english i am from Brazil.
Anyway, i will send the script, so you might know why it is becaming an
> # Autor: Sfrique
> # Nome: Chega-email
> # Descricao: Script em python para testar o servico de email.
> # Data: 06/08/2010
> # Versao: 0.0.2
> # Pre-requisitos: Pyhton2.4 ou superiror
> import sys
> import smtplib
> import logging
> # Configurando as variavies do servico de log
> format='%(asctime)s - %(name)s - %(levelname)s -
> # Criando uma lista com os argumentos passados. O sys.argv e o nome do
> script chamado, por isso nao queremos.
> args = sys.argv[1:]
> server = smtplib.SMTP(args)
> logging.exception("SERVIDOR VIRTUAL: %s SERVIDOR REAL: %s " ,
> args,args )
> sys.exit( 1 )
On Mon, Aug 9, 2010 at 6:16 PM, Simon Horman <horms@xxxxxxxxxxxx> wrote:
> On Mon, Aug 09, 2010 at 05:56:15PM -0300, Henrique Fernandes wrote:
> > But the points is to use the checktimeout toghetter with my script.
> > My script does not consider timeout, or it is to long, i raise the
> > and the problem stop, but with this solution, someother tie it will have
> > checktime higher than checktimeout, then it will became defunct again.
> > But the point is that i wnat to use the timeout of ldirectord, you are
> > saying i can't use togetter with an script ?
> > So i am gonna probally set time out per virtual section and set this
> > especific to 0, an dlet my script hanlde timeout.
> > There is no other solution ? Like ldiretord kill the process properlly so
> > they don't became defunct?
> Sorry, I miss-understood the problem. Yes, I will fix ldirectord
> to kill the process properly. Will that solve the problem you have?
> Please read the documentation before posting - it's available at:
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
Please read the documentation before posting - it's available at:
LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users