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

This WebDNA talk-list message is from

2013


It keeps the original formatting.
numero = 110850
interpreted = N
texte = Chris- This website's folder was a virtual domain on the other server. On this server it is the only domain running. So I have: /home/wjs/lighttpd/mydomain.com with uid:gid www-data:www-data permissions 755 WebDNA is at /home/wjs/lighttpd/mydomain.com/WebDNA with the same uid:gid and permissions I edited the paths for document root and WebDNA.fcgi in lighttpd.conf to reflect this. All the pages are being served by WebDNA properly, and I haven't moved any of the folders inside of the WebDNA folder. The ticks were set to 10, I tried bumping them to 30. Don't know if that solves the multiple email problem, because as I said nothing is showing up in the EMailFolder. Will -----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 The first behavior you mentionned "a real customer tried to use the form, and I got about a hundred emails from her one submission", my guess is your ticks delay is too small. The second behavior "emails aren't being sent at all" sounds like webdna.fcgi cannot write to /EMailFolder, either because it is not in the place it expects, or because of permissions or UID:GID. Did you move a folder? or the fastCGI? does it run with www-data:www-data? etc. - chris On Nov 11, 2013, at 9:41 PM, William J. Starck, DDS wrote: > Thanks for the reply Chris- > > So, if nothing is showing up at all in the EMailFolder, is it a permissions > problem? > > Owner and Group for that folder is www-data:www-data and permissions are 755 > > ??? > > Will > > > -----Original Message----- > From: christophe.billiottet@webdna.us > [mailto:christophe.billiottet@webdna.us] > Sent: Monday, November 11, 2013 12:33 PM > To: > Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI > > Hi Will! > > Here is how WebDNA works to send email: WebDNA writes the mail to be sent in > /EMailFolder. There is only 1 thread sending email unless someone has > sandboxing turned on (version 6.2). The email thread sleeps for X ticks, > then wakes up, runs through the EMailFolder, processes one single acceptable > mail by forwarding it to a SMTP server, adds a log entry in /EMailLog and > moves the mail to /EMailCompleted, then sleeps for X ticks, and repeats. > > Acceptable means that the filename ends in the word "done". > > Processing the mail means the mail is sent through port 25 to either a > localhost SMTP server or an external one. > > It will only process one email file for each sleep/wake cycle. So if the > main thread starts to write a new email file while the email thread is in > the middle of a waking cycle, it does not matter. It will be ignored until > the main thread renames it to end in "done", at which point the email thread > will consider it during the next wake cycle. > > > > - chris > > > On Nov 11, 2013, at 9:20 PM, William J. Starck, DDS > wrote: > >> I recently moved a FastCGI install over to Linux Mint 15. >> >> Starting about 2 months ago, I started noticing that one of my templates > with a [sendmail] that was previously working fine under Ubuntu was sending > multiple (hundreds) of emails when the form is submitted. I was getting hit > by a spambot, so I thought that the template was just getting hit rapidly > multiple times. Then on Friday a real customer tried to use the form, and I > got about a hundred emails from her one submission. >> >> Now emails aren't being sent at all, and nothing is showing up in > EMailFolder, EMailCompleted or EMailProblem folders. I'm stumped. >> >> Here is EmailerPrefs: >> >> mail.myserver.com >> EMailFolder/ >> EMailCompleted/ >> EMailLog/ >> 10 >> >> Any suggestions? Chris, could you ssh in and have a look? >> >> Thanks, >> >> Will >> >> -- >> William J. Starck, DDS >> Big Idea Software, LLC >> 1850 Keller Parkway Suite 102 >> Keller, TX 76248 >> 817-431-9566 >> http://www.bigideasoft.com >> >> >> >> >> >> >> --------------------------------------------------------- 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 > > > --------------------------------------------------------- > 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)
Chris- This website's folder was a virtual domain on the other server. On this server it is the only domain running. So I have: /home/wjs/lighttpd/mydomain.com with uid:gid www-data:www-data permissions 755 WebDNA is at /home/wjs/lighttpd/mydomain.com/WebDNA with the same uid:gid and permissions I edited the paths for document root and WebDNA.fcgi in lighttpd.conf to reflect this. All the pages are being served by WebDNA properly, and I haven't moved any of the folders inside of the WebDNA folder. The ticks were set to 10, I tried bumping them to 30. Don't know if that solves the multiple email problem, because as I said nothing is showing up in the EMailFolder. Will -----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 The first behavior you mentionned "a real customer tried to use the form, and I got about a hundred emails from her one submission", my guess is your ticks delay is too small. The second behavior "emails aren't being sent at all" sounds like webdna.fcgi cannot write to /EMailFolder, either because it is not in the place it expects, or because of permissions or UID:GID. Did you move a folder? or the fastCGI? does it run with www-data:www-data? etc. - chris On Nov 11, 2013, at 9:41 PM, William J. Starck, DDS wrote: > Thanks for the reply Chris- > > So, if nothing is showing up at all in the EMailFolder, is it a permissions > problem? > > Owner and Group for that folder is www-data:www-data and permissions are 755 > > ??? > > Will > > > -----Original Message----- > From: christophe.billiottet@webdna.us > [mailto:christophe.billiottet@webdna.us] > Sent: Monday, November 11, 2013 12:33 PM > To: > Subject: Re: [WebDNA] Suddenly, lots of WebDNA problems with FastCGI > > Hi Will! > > Here is how WebDNA works to send email: WebDNA writes the mail to be sent in > /EMailFolder. There is only 1 thread sending email unless someone has > sandboxing turned on (version 6.2). The email thread sleeps for X ticks, > then wakes up, runs through the EMailFolder, processes one single acceptable > mail by forwarding it to a SMTP server, adds a log entry in /EMailLog and > moves the mail to /EMailCompleted, then sleeps for X ticks, and repeats. > > Acceptable means that the filename ends in the word "done". > > Processing the mail means the mail is sent through port 25 to either a > localhost SMTP server or an external one. > > It will only process one email file for each sleep/wake cycle. So if the > main thread starts to write a new email file while the email thread is in > the middle of a waking cycle, it does not matter. It will be ignored until > the main thread renames it to end in "done", at which point the email thread > will consider it during the next wake cycle. > > > > - chris > > > On Nov 11, 2013, at 9:20 PM, William J. Starck, DDS > wrote: > >> I recently moved a FastCGI install over to Linux Mint 15. >> >> Starting about 2 months ago, I started noticing that one of my templates > with a [sendmail] that was previously working fine under Ubuntu was sending > multiple (hundreds) of emails when the form is submitted. I was getting hit > by a spambot, so I thought that the template was just getting hit rapidly > multiple times. Then on Friday a real customer tried to use the form, and I > got about a hundred emails from her one submission. >> >> Now emails aren't being sent at all, and nothing is showing up in > EMailFolder, EMailCompleted or EMailProblem folders. I'm stumped. >> >> Here is EmailerPrefs: >> >> mail.myserver.com >> EMailFolder/ >> EMailCompleted/ >> EMailLog/ >> 10 >> >> Any suggestions? Chris, could you ssh in and have a look? >> >> Thanks, >> >> Will >> >> -- >> William J. Starck, DDS >> Big Idea Software, LLC >> 1850 Keller Parkway Suite 102 >> Keller, TX 76248 >> 817-431-9566 >> http://www.bigideasoft.com >> >> >> >> >> >> >> --------------------------------------------------------- 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 > > > --------------------------------------------------------- > 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 "William J. Starck, DDS"

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:

boldwords funky (1998) emailer (1997) Date comparison (I think) has bugs ... (1998) Sendmail and attachments? (1998) Re:Variable Math (1998) Solve the Problem, get the code! (2001) Permission denied? (2004) problems with 2 tags shakur (1997) Shopping Cart w/Multiple Databases (1998) Credit Card Number checking (1997) more on prefs not being written (2000) [NT] ie 4.0 required (1997) Bug in WebCat, (2000) Speed Optimization - Mac (1997) Locking up with WebCatalog... (1997) encripted storage (1998) URL for Discussion Archive (1997) Re:quit command on NT (1997) [Q] Novice's question (1997) Null Characters (2005)