Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110861
interpreted = N
texte = OR .... It could not send an email to info@domaina.com because it does not = exist. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 12 Nov 2013, at 1:17 pm, WJ Starck, DDS wrote: > OK, getting somewhere I hope ;) >=20 > I replaced the webdna.ini with a fresh copy. Now the emails are ending = up in > the EMailProblem folder. Here is what the log shows >=20 > 11/11/201319:26:32Sending Message Using Auth To: > info@domaina.com0=09 > 11/11/201319:26:34General email error-1 > 138421958223TTdone > 11/11/201319:26:44Sending Message Using Auth To: > wjs@domainb.net0=09 > 11/11/201319:26:46General email error-1 > 138421958226TTdone >=20 > Any ideas/suggestions greatly appreciated! >=20 > Will >=20 > -----Original Message----- > From: William J. Starck, DDS [mailto:wjs@bigideasoft.com]=20 > Sent: Monday, November 11, 2013 5:14 PM > To: talk@webdna.us > Subject: RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >=20 > Hmmm can't tell from the logs because at the moment WebDNA is not = sending > the emails at all (nothing appears in the EMailFolder). >=20 > But the server is 64 bit Linux Mint (Ubuntu based); CommuniGate Pro is = the > mail server and I'm using the FastCGI. >=20 > :P >=20 > Will >=20 > -----Original Message----- > From: Stuart Tremain [mailto:webdna@idfk.com.au] > Sent: Monday, November 11, 2013 2:41 PM > To: WebDNA Talk List > Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >=20 > What is in the email log ? >=20 > If you have multiple entries it is definitely a WebDNA problem. If you = have > one entry and multiple sends you may have a SMTP problem. >=20 > There was a problem similar to this a few years back with a linux SMTP > server, I can't be sure but it may have been squirrel mail. >=20 > I had a similar problem on a windows server that I never got to the = bottom > of after years of trying, in fact it prompted me to move to Linux = hosting. >=20 > Stuart >=20 >=20 >=20 >=20 > On 12 Nov 2013, at 6:40 am, William J. Starck, DDS = > wrote: >=20 >> Chris- >>=20 >> This website's folder was a virtual domain on the other server. On=20 >> this server it is the only domain running. >>=20 >> So I have: >>=20 >> /home/wjs/lighttpd/mydomain.com with uid:gid www-data:www-data=20 >> permissions >> 755 >>=20 >> WebDNA is at >>=20 >> /home/wjs/lighttpd/mydomain.com/WebDNA with the same uid:gid and=20 >> permissions >>=20 >> I edited the paths for document root and WebDNA.fcgi in lighttpd.conf=20= >> to reflect this. >>=20 >> All the pages are being served by WebDNA properly, and I haven't = moved=20 >> any of the folders inside of the WebDNA folder. >>=20 >> The ticks were set to 10, I tried bumping them to 30. Don't know if=20= >> that solves the multiple email problem, because as I said nothing is=20= >> showing up in the EMailFolder. >>=20 >> Will >>=20 >> -----Original Message----- >> From: christophe.billiottet@webdna.us >> [mailto:christophe.billiottet@webdna.us] >> Sent: Monday, November 11, 2013 1:08 PM >> To: >> Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >>=20 >> The first behavior you mentionned "a real customer tried to use the=20= >> form, and I got about a hundred emails from her one submission", my=20= >> guess is your ticks delay is too small. The second behavior "emails=20= >> aren't being sent at all" sounds like webdna.fcgi cannot write to=20 >> /EMailFolder, either because it is not in the place it expects, or=20 >> because of permissions or UID:GID. Did you move a folder? or the = fastCGI? > does it run with www-data:www-data? etc. >>=20 >> - chris >>=20 >>=20 >>=20 >> On Nov 11, 2013, at 9:41 PM, William J. Starck, DDS=20 >> >> wrote: >>=20 >>> Thanks for the reply Chris- >>>=20 >>> So, if nothing is showing up at all in the EMailFolder, is it a >> permissions >>> problem? >>>=20 >>> Owner and Group for that folder is www-data:www-data and permissions=20= >>> are >> 755 >>>=20 >>> ??? >>>=20 >>> Will >>>=20 >>>=20 >>> -----Original Message----- >>> From: christophe.billiottet@webdna.us=20 >>> [mailto:christophe.billiottet@webdna.us] >>> Sent: Monday, November 11, 2013 12:33 PM >>> To: >>> Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >>>=20 >>> Hi Will! >>>=20 >>> Here is how WebDNA works to send email: WebDNA writes the mail to be=20= >>> sent >> in >>> /EMailFolder. There is only 1 thread sending email unless someone = has=20 >>> sandboxing turned on (version 6.2). The email thread sleeps for X=20 >>> ticks, then wakes up, runs through the EMailFolder, processes one=20 >>> single >> acceptable >>> mail by forwarding it to a SMTP server, adds a log entry in = /EMailLog=20 >>> and moves the mail to /EMailCompleted, then sleeps for X ticks, and > repeats. >>>=20 >>> Acceptable means that the filename ends in the word "done". >>>=20 >>> Processing the mail means the mail is sent through port 25 to either=20= >>> a localhost SMTP server or an external one. >>>=20 >>> It will only process one email file for each sleep/wake cycle. So if=20= >>> the main thread starts to write a new email file while the email=20 >>> thread is in the middle of a waking cycle, it does not matter. It=20 >>> will be ignored until the main thread renames it to end in "done", = at=20 >>> which point the email >> thread >>> will consider it during the next wake cycle. >>>=20 >>>=20 >>>=20 >>> - chris >>>=20 >>>=20 >>> On Nov 11, 2013, at 9:20 PM, William J. Starck, DDS=20 >>> >>> wrote: >>>=20 >>>> I recently moved a FastCGI install over to Linux Mint 15. >>>>=20 >>>> Starting about 2 months ago, I started noticing that one of my=20 >>>> templates >>> with a [sendmail] that was previously working fine under Ubuntu was >> sending >>> multiple (hundreds) of emails when the form is submitted. I was=20 >>> getting >> hit >>> by a spambot, so I thought that the template was just getting hit=20 >>> rapidly multiple times. Then on Friday a real customer tried to use=20= >>> the form, and >> I >>> got about a hundred emails from her one submission. >>>>=20 >>>> Now emails aren't being sent at all, and nothing is showing up in >>> EMailFolder, EMailCompleted or EMailProblem folders. I'm stumped. >>>>=20 >>>> Here is EmailerPrefs: >>>>=20 >>>> mail.myserver.com >>>> EMailFolder/ >>>> EMailCompleted/ >>>> EMailLog/ >>>> 10 >>>>=20 >>>> Any suggestions? Chris, could you ssh in and have a look? >>>>=20 >>>> Thanks, >>>>=20 >>>> Will >>>>=20 >>>> -- >>>> William J. Starck, DDS >>>> Big Idea Software, LLC >>>> 1850 Keller Parkway Suite 102 >>>> Keller, TX 76248 >>>> 817-431-9566 >>>> http://www.bigideasoft.com >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>> --------------------------------------------------------- This=20 >>>> message is >>> sent to you because you are subscribed to the mailing list . To >> unsubscribe, >>> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug >>> Reporting: support@webdna.us >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to the = mailing=20 >>> list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing=20= >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing = list > . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing = list > . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
  2. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  3. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
  4. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  5. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("WJ Starck, DDS" 2013)
  6. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  7. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("WJ Starck, DDS" 2013)
  8. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  9. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (WebDNA 2013)
  10. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("WJ Starck, DDS" 2013)
  11. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  12. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (Stuart Tremain 2013)
  13. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  14. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
  15. RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
  16. Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI (christophe.billiottet@webdna.us 2013)
  17. [WebDNA] Suddenly, lots of WebDNA problems with FastCGI ("William J. Starck, DDS" 2013)
OR .... It could not send an email to info@domaina.com because it does not = exist. Regards Stuart Tremain IDFK Web Developments AUSTRALIA webdna@idfk.com.au On 12 Nov 2013, at 1:17 pm, WJ Starck, DDS wrote: > OK, getting somewhere I hope ;) >=20 > I replaced the webdna.ini with a fresh copy. Now the emails are ending = up in > the EMailProblem folder. Here is what the log shows >=20 > 11/11/201319:26:32Sending Message Using Auth To: > info@domaina.com0=09 > 11/11/201319:26:34General email error-1 > 138421958223TTdone > 11/11/201319:26:44Sending Message Using Auth To: > wjs@domainb.net0=09 > 11/11/201319:26:46General email error-1 > 138421958226TTdone >=20 > Any ideas/suggestions greatly appreciated! >=20 > Will >=20 > -----Original Message----- > From: William J. Starck, DDS [mailto:wjs@bigideasoft.com]=20 > Sent: Monday, November 11, 2013 5:14 PM > To: talk@webdna.us > Subject: RE: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >=20 > Hmmm can't tell from the logs because at the moment WebDNA is not = sending > the emails at all (nothing appears in the EMailFolder). >=20 > But the server is 64 bit Linux Mint (Ubuntu based); CommuniGate Pro is = the > mail server and I'm using the FastCGI. >=20 > :P >=20 > Will >=20 > -----Original Message----- > From: Stuart Tremain [mailto:webdna@idfk.com.au] > Sent: Monday, November 11, 2013 2:41 PM > To: WebDNA Talk List > Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >=20 > What is in the email log ? >=20 > If you have multiple entries it is definitely a WebDNA problem. If you = have > one entry and multiple sends you may have a SMTP problem. >=20 > There was a problem similar to this a few years back with a linux SMTP > server, I can't be sure but it may have been squirrel mail. >=20 > I had a similar problem on a windows server that I never got to the = bottom > of after years of trying, in fact it prompted me to move to Linux = hosting. >=20 > Stuart >=20 >=20 >=20 >=20 > On 12 Nov 2013, at 6:40 am, William J. Starck, DDS = > wrote: >=20 >> Chris- >>=20 >> This website's folder was a virtual domain on the other server. On=20 >> this server it is the only domain running. >>=20 >> So I have: >>=20 >> /home/wjs/lighttpd/mydomain.com with uid:gid www-data:www-data=20 >> permissions >> 755 >>=20 >> WebDNA is at >>=20 >> /home/wjs/lighttpd/mydomain.com/WebDNA with the same uid:gid and=20 >> permissions >>=20 >> I edited the paths for document root and WebDNA.fcgi in lighttpd.conf=20= >> to reflect this. >>=20 >> All the pages are being served by WebDNA properly, and I haven't = moved=20 >> any of the folders inside of the WebDNA folder. >>=20 >> The ticks were set to 10, I tried bumping them to 30. Don't know if=20= >> that solves the multiple email problem, because as I said nothing is=20= >> showing up in the EMailFolder. >>=20 >> Will >>=20 >> -----Original Message----- >> From: christophe.billiottet@webdna.us >> [mailto:christophe.billiottet@webdna.us] >> Sent: Monday, November 11, 2013 1:08 PM >> To: >> Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >>=20 >> The first behavior you mentionned "a real customer tried to use the=20= >> form, and I got about a hundred emails from her one submission", my=20= >> guess is your ticks delay is too small. The second behavior "emails=20= >> aren't being sent at all" sounds like webdna.fcgi cannot write to=20 >> /EMailFolder, either because it is not in the place it expects, or=20 >> because of permissions or UID:GID. Did you move a folder? or the = fastCGI? > does it run with www-data:www-data? etc. >>=20 >> - chris >>=20 >>=20 >>=20 >> On Nov 11, 2013, at 9:41 PM, William J. Starck, DDS=20 >> >> wrote: >>=20 >>> Thanks for the reply Chris- >>>=20 >>> So, if nothing is showing up at all in the EMailFolder, is it a >> permissions >>> problem? >>>=20 >>> Owner and Group for that folder is www-data:www-data and permissions=20= >>> are >> 755 >>>=20 >>> ??? >>>=20 >>> Will >>>=20 >>>=20 >>> -----Original Message----- >>> From: christophe.billiottet@webdna.us=20 >>> [mailto:christophe.billiottet@webdna.us] >>> Sent: Monday, November 11, 2013 12:33 PM >>> To: >>> Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI >>>=20 >>> Hi Will! >>>=20 >>> Here is how WebDNA works to send email: WebDNA writes the mail to be=20= >>> sent >> in >>> /EMailFolder. There is only 1 thread sending email unless someone = has=20 >>> sandboxing turned on (version 6.2). The email thread sleeps for X=20 >>> ticks, then wakes up, runs through the EMailFolder, processes one=20 >>> single >> acceptable >>> mail by forwarding it to a SMTP server, adds a log entry in = /EMailLog=20 >>> and moves the mail to /EMailCompleted, then sleeps for X ticks, and > repeats. >>>=20 >>> Acceptable means that the filename ends in the word "done". >>>=20 >>> Processing the mail means the mail is sent through port 25 to either=20= >>> a localhost SMTP server or an external one. >>>=20 >>> It will only process one email file for each sleep/wake cycle. So if=20= >>> the main thread starts to write a new email file while the email=20 >>> thread is in the middle of a waking cycle, it does not matter. It=20 >>> will be ignored until the main thread renames it to end in "done", = at=20 >>> which point the email >> thread >>> will consider it during the next wake cycle. >>>=20 >>>=20 >>>=20 >>> - chris >>>=20 >>>=20 >>> On Nov 11, 2013, at 9:20 PM, William J. Starck, DDS=20 >>> >>> wrote: >>>=20 >>>> I recently moved a FastCGI install over to Linux Mint 15. >>>>=20 >>>> Starting about 2 months ago, I started noticing that one of my=20 >>>> templates >>> with a [sendmail] that was previously working fine under Ubuntu was >> sending >>> multiple (hundreds) of emails when the form is submitted. I was=20 >>> getting >> hit >>> by a spambot, so I thought that the template was just getting hit=20 >>> rapidly multiple times. Then on Friday a real customer tried to use=20= >>> the form, and >> I >>> got about a hundred emails from her one submission. >>>>=20 >>>> Now emails aren't being sent at all, and nothing is showing up in >>> EMailFolder, EMailCompleted or EMailProblem folders. I'm stumped. >>>>=20 >>>> Here is EmailerPrefs: >>>>=20 >>>> mail.myserver.com >>>> EMailFolder/ >>>> EMailCompleted/ >>>> EMailLog/ >>>> 10 >>>>=20 >>>> Any suggestions? Chris, could you ssh in and have a look? >>>>=20 >>>> Thanks, >>>>=20 >>>> Will >>>>=20 >>>> -- >>>> William J. Starck, DDS >>>> Big Idea Software, LLC >>>> 1850 Keller Parkway Suite 102 >>>> Keller, TX 76248 >>>> 817-431-9566 >>>> http://www.bigideasoft.com >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>> --------------------------------------------------------- This=20 >>>> message is >>> sent to you because you are subscribed to the mailing list . To >> unsubscribe, >>> E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug >>> Reporting: support@webdna.us >>>=20 >>>=20 >>> --------------------------------------------------------- >>> This message is sent to you because you are subscribed to the = mailing=20 >>> list . >>> To unsubscribe, E-mail to: >>> archives: http://mail.webdna.us/list/talk@webdna.us >>> Bug Reporting: support@webdna.us >>=20 >>=20 >> --------------------------------------------------------- >> This message is sent to you because you are subscribed to the mailing=20= >> list . >> To unsubscribe, E-mail to: >> archives: http://mail.webdna.us/list/talk@webdna.us >> Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing = list > . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to the mailing = list > . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us WebDNA

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Keep away (1997) WC2.0 Memory Requirements (1997) Sorting by date (1997) math on date? (1997) Help! (2000) Slightly off-topic hits to purchase ratio? (1999) Hiding Brands (2004) Online reference (1997) apostrophe in search item (1997) Question re: FlushDatabases (1997) Hiding HTML and breaking the page (1997) list cookies and list http headers (1997) OT: IP addres checking (2003) Price Hacking (1998) Version f1 status (1997) Bug Report, maybe (1997) WebCat2: Items xx to xx shown, etc. (1997) Interesting speed comparison .. (2003) WC2b15 File Corruption (1997) Maximum variable size? (2006)