Skip to Content.
Sympa Menu

devel - [sympa-dev] [Fwd: Re: [sympa-users] Looping on processing a task ... where to try]

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Olivier Berger <address@concealed>
  • To: "address@concealed" <address@concealed>
  • Subject: [sympa-dev] [Fwd: Re: [sympa-users] Looping on processing a task ... where to try]
  • Date: Thu, 17 Apr 2008 15:38:27 +0200

Hi.

I have experienced a couple issues with the task_manager, and no sympa
expert seemed to be available (on -users list) or able to provide any
helpful advices.

Can someone please confirm if I'm experiencing a bug ?

The thread starts here :
http://listes.cru.fr/sympa/arc/sympa-users/2008-04/msg00090.html

Thanks in advance.

Best regards,
-------- Message transféré --------
De: Olivier Berger <address@concealed>
À: address@concealed <address@concealed>
Sujet: Re: [sympa-users] Looping on processing a task ... where to try
Date: Wed, 16 Apr 2008 13:55:54 +0200

Le mercredi 16 avril 2008 à 13:37 +0200, Olivier Berger a écrit :
> Le mercredi 16 avril 2008 à 11:20 +0200, Olivier Berger a écrit :
> > Hi.
> >
> > Task manager seems to be looping on processing of a task.
> >
> > Here's what I can see if I launch task_manager with --debug and syslog
> > level 4 :
> >
> > processing of tasks anterior to the current date
> > procesing /var/spool/sympa/task/1201197563.ERROR.purge_logs_table._global
> > main::execute() Running task
> > /var/spool/sympa/task/1201197563.ERROR.purge_logs_table._global, line 0
> > with vars )
> > procesing /var/spool/sympa/task/1208414664.ACTION.expire_bounce._global
> > mail::reaper() Reaper unwaited pids :
> > Open = 0
> >
> > After re-reading the lists, and lots of flooding of my logs, it will
> > repeat...
> >
> > I cannot find what's failing and where... Any hints on where to search ?
> >
>
> FYI, the task is :
>
> # cat /var/spool/sympa/task/1201197563.ERROR.purge_logs_table._global
> --------------------------------------------------------------
> title.gettext daily delete logs older than 3 months
>
> /ACTION
> purge_logs_table ()
> next (execution_date+1d, ACTION)
> --------------------------------------------------------------
>
> Any idea ?

FYI, I moved it avay, and this time, I get :

Apr 16 13:49:49 picolibre task_manager[6729]: main::create() create date :
1208346589 label : model purge_logs_table : yearly Rdata :HASH(0x8d44534)
Apr 16 13:49:49 picolibre task_manager[6729]: main::create() creation of
/var/spool/sympa/task/1208346589..purge_logs_table._global
Apr 16 13:49:49 picolibre task_manager[6729]: main::create() error : unable
to find purge_logs_table.yearly.task, creation aborted

I guess it's trying to create a new task withouth a model, and indeed :
$ find . -name '*task*' | grep yearly
./src/etc/list_task_models/remind.yearly.task
./src/etc/list_task_models/expire.yearly.task

nothing like "src/etc/global_task_models/purge_logs_table.yearly.task" :(

Bug ?

Best regards,
--
Olivier BERGER <address@concealed> (*NEW ADDRESS*)
http://www-inf.it-sudparis.eu/~olberger/ - OpenPGP-Id: 1024D/6B829EEC
Ingénieur Recherche - Dept INF
Institut TELECOM / TELECOM & Management SudParis
(http://www.it-sudparis.eu/), Evry





  • [sympa-dev] [Fwd: Re: [sympa-users] Looping on processing a task ... where to try], Olivier Berger, 04/17/2008

Archive powered by MHonArc 2.6.19+.

Top of Page