Welcome to Geeklog, Anonymous Thursday, March 28 2024 @ 05:01 am EDT

Geeklog Forums

Daily Digest Sending Multiple Email to Users


Status: offline

muntada

Forum User
Junior
Registered: 02/25/03
Posts: 34
I have had this happen before on another Geeklog site and I can't recall how I finally resolved it. I have a situation that every time a Daily Digest is sent out, it sends out multiple instances of the same email to each user.

In fact, over time, it gets worse. Initially it just sent two out; then three; then four; then five; etc.

Any idea what is going on?
--------------------
MuntadaNet, Inc.
Web Hosting
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It's probably running into a timeout when trying to send the emails to all users. So the server killed the job before it did get to the point where it considered all emails sent. And the next time it's run, it's starting from the beginning ...

There's a timestamp in the gl_vars table for the last successfully sent Daily Digest. You could update that manually or download my Manual Digest plugin (should be in the Downloads area somewhere), which has a handy "reset" button for that purpose.

If you can't increase the time allotment for the Daily Digest script, you should probably disable it. It's not really made for a lot of users ...

bye, Dirk
 Quote

Status: offline

muntada

Forum User
Junior
Registered: 02/25/03
Posts: 34
Thanks Dirk...

I have root access to the server and can make an config changes that is necessary. Having said that, what do I want to target from within the application and on the Apache config files to increase the timeout?
--------------------
MuntadaNet, Inc.
Web Hosting
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Start with max_execution_time in your php.ini. That's for all PHP scripts, though, including those running in the webserver.

Not sure where to increase the max. execution time of a cronjob. That's beyond my somewhat limited knowledge of Unix/Linux ...

bye, Dirk
 Quote

Status: offline

::Ben

Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi muntada,

Maybe it would be a future task for geeklog dev to update the Daily Digest...

One question : How many users do you have in your DB?

Thanks.

::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
 Quote

Status: offline

muntada

Forum User
Junior
Registered: 02/25/03
Posts: 34
269...So not much from my take.

I think it is a great feature. All of my customers use it and love it. If something goes wrong they immediately report it to me.
--------------------
MuntadaNet, Inc.
Web Hosting
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
It is a nice feature - it just doesn't scale very well. I've seen it fail at around 100 subscribers on a shared hosting account.

bye, Dirk
 Quote

All times are EDT. The time is now 05:01 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content