From joseph.he.2008 at gmail.com Wed Feb 3 08:47:33 2010 From: joseph.he.2008 at gmail.com (Joseph He) Date: Wed, 3 Feb 2010 10:47:33 -0600 Subject: [WindyCity-pm] program terminated before database update is done due to Apache timeout Message-ID: <9c39a2a91002030847r38cc7424ta471f152bc40f21b@mail.gmail.com> All, actually I don't know how to word my issue :) Here is my problem: a cgi script is running and accepts a large file to process, but when the data is big enough, the program terminated before it completes database updating because Apache can timeout. It ends with bad data in my DB. The environment is Windows, Apache, Perl, MS SQL server. I wonder whether there is a way to create a standalone process to work on database? or maybe there is some other way to deal with this kind of problem? Thank you. Joe -------------- next part -------------- An HTML attachment was scrubbed... URL: From joshua.mcadams at gmail.com Wed Feb 3 19:33:31 2010 From: joshua.mcadams at gmail.com (Joshua) Date: Wed, 3 Feb 2010 21:33:31 -0600 Subject: [WindyCity-pm] program terminated before database update is done due to Apache timeout In-Reply-To: <9c39a2a91002030847r38cc7424ta471f152bc40f21b@mail.gmail.com> References: <9c39a2a91002030847r38cc7424ta471f152bc40f21b@mail.gmail.com> Message-ID: <49d805d71002031933i2d1637d9gb8aaecf4954924be@mail.gmail.com> Can you tweak your timeout setting: http://httpd.apache.org/docs/2.2/mod/core.html#timeout 2010/2/3 Joseph He : > All, actually I don't know how to word my issue :) > > Here is my problem: a cgi script is running and accepts a large file to > process, but when the data is big enough, the program terminated before it > completes database updating because Apache can timeout. It ends with bad > data in my DB. > > The environment is Windows, Apache, Perl, MS SQL server. I wonder whether > there is a way to create a standalone process to work on database? or maybe > there is some other way to deal with this kind of problem? > > Thank you. > > Joe > > _______________________________________________ > WindyCity-pm mailing list > WindyCity-pm at pm.org > http://mail.pm.org/mailman/listinfo/windycity-pm > >