Re: [WebDNA] Some code inside a large loops fail ... but why?

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 104446
interpreted = N
texte = > > I really don't understand why webdna failed to write > > to the db when I set the number of iterations to > > 10,000 and I cannot explain why the network activity > > continued (which means data was being received) > > but the database writing failed. This is the the > > mystery that bothers me more than anything else > > because it suggests a bigger underlying problem > > that may be unusually difficult to diagnose. > > It's very possible you're trying to open too many sockets. > You should probably try to code defensively, and first > check the incoming data before trying to write the data > to your database. I think it is impossible that I was trying to open too many sockets ... My code was opening one connection at a time, then sending the request, then receiving the request, then closing the connection -- all before the next connection was opened. How could this possibly try to open too many sockets? I observed the sequential character of the connections in my network monitor. But even though the data was being requested and received one connection at a time, the replace context was NOT writing the received data to the db like it should have been. Sincerely, Kenneth Grome www.KenGrome.com > > Best, > Christer > > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  2. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  3. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  4. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  5. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  6. Re: [WebDNA] Some code inside a large loops fail ... but why? (Christer Olsson 2010)
  7. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  8. Re: [WebDNA] Some code inside a large loops fail ... but why? (christophe.billiottet@webdna.us 2010)
  9. Re: [WebDNA] Some code inside a large loops fail ... but why? ("Psi Prime Inc, Matthew A Perosi " 2010)
  10. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  11. Re: [WebDNA] Some code inside a large loops fail ... but why? (Brian Fries 2010)
  12. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  13. Re: [WebDNA] Some code inside a large loops fail ... but why? (Govinda 2010)
  14. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  15. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  16. Re: [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  17. Re: [WebDNA] Some code inside a large loops fail ... but why? (Stuart Tremain 2010)
  18. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
  19. [WebDNA] Some code inside a large loops fail ... but why? (Kenneth Grome 2010)
> > I really don't understand why webdna failed to write > > to the db when I set the number of iterations to > > 10,000 and I cannot explain why the network activity > > continued (which means data was being received) > > but the database writing failed. This is the the > > mystery that bothers me more than anything else > > because it suggests a bigger underlying problem > > that may be unusually difficult to diagnose. > > It's very possible you're trying to open too many sockets. > You should probably try to code defensively, and first > check the incoming data before trying to write the data > to your database. I think it is impossible that I was trying to open too many sockets ... My code was opening one connection at a time, then sending the request, then receiving the request, then closing the connection -- all before the next connection was opened. How could this possibly try to open too many sockets? I observed the sequential character of the connections in my network monitor. But even though the data was being requested and received one connection at a time, the replace context was NOT writing the received data to the db like it should have been. Sincerely, Kenneth Grome www.KenGrome.com > > Best, > Christer > > --------------------------------------------------------- > 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 > old archives: http://dev.webdna.us/TalkListArchive/ > Bug Reporting: http://forum.webdna.us/eucabb.html?page=topics&category=288 > Kenneth Grome

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:

Out of the woodwork (2007) Shop till you drop dead on the avenue ... (1997) Search design (1997) problems with 2 tags (1997) more [sendmail] woes.. (2000) Forms Search Questions (1997) WebCat for Site Search? (1997) [WebDNA] WebDNA on HostGator? (2011) [ModDate] & [ModTime] ? (1997) Email encryption (1998) [OT] Friday Time Waster (2003) Re:One more time (1997) Remove from list server (1997) tab deliminated txt file (2001) Trigger Validation Text Broken (2003) WebCat2.0 [format thousands .0f] no go (1997) Max Record length (1997) [WebDNA]