Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Sunday, May 19 2013 @ 10:29 AM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 Daily Digest Sending Multiple Email to Users
   
muntada
 07/30/08 10:36AM (Read 1469 times)  
++---
Junior

Status: offline


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
 
Profile Email Website
 Quote
Dirk
 07/30/08 10:51AM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
muntada
 07/30/08 02:33PM  
++---
Junior

Status: offline


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
 
Profile Email Website
 Quote
Dirk
 07/30/08 03:58PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
::Ben
 07/30/08 04:16PM  
+++++
Full Member

Status: offline


Registered: 01/14/05
Posts: 1359
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

We speak french on http://geeklog.fr
 
Profile Email Website
 Quote
muntada
 07/30/08 04:33PM  
++---
Junior

Status: offline


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
 
Profile Email Website
 Quote
Dirk
 07/30/08 04:48PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Content generated in: 1.98 seconds
New Topic Post Reply

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