Skip to Content.
Sympa Menu

devel - Re: [sympa-dev] help with spawning of digest process

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: David Verdin <address@concealed>
  • To: Adam Bernstein <address@concealed>
  • Cc: address@concealed
  • Subject: Re: [sympa-dev] help with spawning of digest process
  • Date: Mon, 16 Feb 2009 11:33:23 +0100

Hi Adam,

Sympa doesn't create a dedicated process to send digests. The main sympa.pl process creates the digests when needed.
I don't get the reason why it could be hanging , but that sure explains why all other Sympa activity is stopped : if the main sympa loop is stucked in preparing a digest, it can't do anything else.
As for debugging, maybe the content of spool/tmp/*.stderr files could help you understand what Sympa was doing when it hung.

Hope this helps.

David

Adam Bernstein a écrit :
Sympa folks --

I need a quick bit of help understanding something, to try to solve a bug we've been dealing with for > 2 years that must be somehow related to modifications I've made, because apparently no one else sees this bug. The problem is that, occasionally and without any apparent pattern, the sympa.pl process that Sympa spawns to send a digest gets hung after sending and fails to exit. It remains running, and eventually halts all Sympa activity until we manually kill and restart Sympa. I've done everything I can think of to debug where the problem occurs, and that "everything" includes a lot, with no luck.

So I'm hoping you can help me understand one critical part of it: Where in the code does Sympa spawn this extra process for sending a digest, and where in the code is it supposed to exit when it's done? I can't find anything that looks like it would do it, which may be partly because I know nothing about spawning one process from inside another. Any help would be *greatly* appreciated.

Thanks!
adam

--
David Verdin
Comité réseau des universités




Archive powered by MHonArc 2.6.19+.

Top of Page