moved servers - code not behaving the same
Posted: Sat Oct 29, 2005 9:53 am
please forgive me if this isn't the correct forum...
i am fairly new to PHP and have been enhancing a web application for the past 3 months
the original developer decided to move everything to a newer server last month & now i have some issues that i can't seem to resolve
i will attempt to describe my problem as best i can
i have code to upload files into a MYSQL DB, if they are small & complete in a short time they are OK
If they are larger then the page stops responding i.e. an 8000 record file seems to die between 500 & 750 records
on the old server i started outputting a msg every 1000 records as a sort of heartbeat msg and this seemed to fix it
on the new server my msgs never get sent until the task finishes - this is new behaviour
if i send a msg every record (instead of every 100 or 1000) my task will complete, but my msgs come in bursts, not continually like the old server
is there a setting that is controlling this behaiour?
i have set the time limit to 240, but this is the only parameter i have played with
it seems that if i don't generate enough text from the server to generate a burst of text the process stops communicating with the server
mark
PS the server is Apache
i am fairly new to PHP and have been enhancing a web application for the past 3 months
the original developer decided to move everything to a newer server last month & now i have some issues that i can't seem to resolve
i will attempt to describe my problem as best i can
i have code to upload files into a MYSQL DB, if they are small & complete in a short time they are OK
If they are larger then the page stops responding i.e. an 8000 record file seems to die between 500 & 750 records
on the old server i started outputting a msg every 1000 records as a sort of heartbeat msg and this seemed to fix it
on the new server my msgs never get sent until the task finishes - this is new behaviour
if i send a msg every record (instead of every 100 or 1000) my task will complete, but my msgs come in bursts, not continually like the old server
is there a setting that is controlling this behaiour?
i have set the time limit to 240, but this is the only parameter i have played with
it seems that if i don't generate enough text from the server to generate a burst of text the process stops communicating with the server
mark
PS the server is Apache