By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,972 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,972 IT Pros & Developers. It's quick & easy.

PHP Stops

P: n/a
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

Jul 17 '05 #1
Share this Question
Share on Google+
7 Replies


P: n/a
The following line solved the problem:

set_time_limit($value);

Scott

Jul 17 '05 #2

P: n/a
*** 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 informticas recibidas por correo irn directas a la papelera
-+ I'm not a free help desk, please don't e-mail me your questions
--
Jul 17 '05 #3

P: n/a
yes

Jul 17 '05 #4

P: n/a
On 12 Dec 2004 15:08:03 -0800, "scotty" <sc*****@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
================================================== =========================
Jul 17 '05 #5

P: n/a
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.

Jul 17 '05 #6

P: n/a
On 12 Dec 2004 18:33:17 -0800, "scotty" <sc*****@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
================================================== =========================
Jul 17 '05 #7

P: n/a
I noticed that Message-ID:
<11**********************@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/
Jul 17 '05 #8

This discussion thread is closed

Replies have been disabled for this discussion.