This is a discussion on PHP Stops within the PHP Language forums, part of the PHP Programming Forums category; Friends: I have a script that reads in a file incrementally, compares the contents against the contents of a database, ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Friends:
I have a script that reads in a file incrementally, compares the contents against the contents of a database, then writes the adjusted contents to a results file. The size of the results file grows to approximately 500K before the script just stops. The logic is not the problem since I put in some echos that should write to screen if certain processes are exited. The echos do not write. The script just stops, again, at approx. 500K results file size. There does not appear to be a memory issue since memory readings stay fairly constant. Also, I can't find any settings anywhere that would keep the results file from not accepting any additional 'fputs' to take it beyond 500K. Also, PHP's timeout settings have been increased to handle this longer running script, but, again, the file won't grow beyond approx 500K. I also put in some lines to release memory, etc. etc. I checked the MySQL connection timeout settings and adjusted them. It is possible that a timeout is occurring somewhere, but I can't think of where? This may be true because the final file size is not always the same, but is around 500k. I'm looking for timeout settings in Internet Explorer? Can anyone help? Thanks, Scott |
|
|||
|
*** scotty escribió/wrote (8 Dec 2004 13:21:11 -0800):
> The following line solved the problem: > > set_time_limit($value); You normally get a pretty clear warning message when that's the problem. I guess error messages are disabled in your server. -- -+ Álvaro G. Vicario - Burgos, Spain +- http://www.demogracia.com (la web de humor barnizada para la intemperie) ++ Las dudas informáticas recibidas por correo irán directas a la papelera -+ I'm not a free help desk, please don't e-mail me your questions -- |
|
|||
|
On 12 Dec 2004 15:08:03 -0800, "scotty" <scasti1@cox.net> wrote:
Are people who snip everything they're replying to including the attribution of the person who posted as stupid as top posters? >yes -- gburnore@databasix dot com --------------------------------------------------------------------------- How you look depends on where you go. --------------------------------------------------------------------------- Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ DataBasix | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ 3 4 1 4 2 ݳ޳ 6 9 0 6 9 ÝÛ³ Black Helicopter Repair Svcs Division | Official Proof of Purchase ================================================== ========================= Want one? GET one! http://signup.databasix.com ================================================== ========================= |
|
|||
|
Gary, I don't appreciate your comment. The prior user's question was
directed at me after I answered my own question. I had the decency to let you all know what the solution was. I then gave Alvaro a quick brief yes to acknowledge his comment. I certainly think that my posting, all things considered, was far more appropriate than yours. |
|
|||
|
On 12 Dec 2004 18:33:17 -0800, "scotty" <scasti1@cox.net> wrote:
>Gary, I don't appreciate your comment. Then learn how to post. -- gburnore@databasix dot com --------------------------------------------------------------------------- How you look depends on where you go. --------------------------------------------------------------------------- Gary L. Burnore | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ DataBasix | ÝÛ³ºÝ³Þ³ºÝ³³Ýۺݳ޳ºÝ³Ý³Þ³ºÝ³ÝÝÛ³ | ÝÛ³ 3 4 1 4 2 ݳ޳ 6 9 0 6 9 ÝÛ³ Black Helicopter Repair Svcs Division | Official Proof of Purchase ================================================== ========================= Want one? GET one! http://signup.databasix.com ================================================== ========================= |
|
|||
|
I noticed that Message-ID:
<1102905197.114521.292450@c13g2000cwb.googlegroups .com> from scotty contained the following: >Gary, I don't appreciate your comment. The prior user's question was >directed at me after I answered my >own question. I had the decency to let you all know what the solution >was. I then gave Alvaro a quick >brief yes to acknowledge his comment. Gary can be blunt. Deal with it. What he says is correct (mostly...;-) -- Geoff Berrow (put thecat out to email) It's only Usenet, no one dies. My opinions, not the committee's, mine. Simple RFDs http://www.ckdog.co.uk/rfdmaker/ |