473,406 Members | 2,352 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

PHP script timing out after 90 mins

Just moved site to different web server. Previously no problems. Now, the
script will time out after 90 minutes. I've set set_time_limit(0) but no
effect.

Any ideas?

John
Jul 21 '05 #1
6 1748


Justice wrote:
Just moved site to different web server. Previously no problems. Now, the
script will time out after 90 minutes. I've set set_time_limit(0) but no
effect.


90 MINUTES??? That's an awful long time for a script to run (1.5
hours). Do you mean 90 seconds?

Have you talked to your new hosts?

Ken

Jul 21 '05 #2
The program runs for about 2 hours.
It accesses an XML gateway, data is exchanged, and my site's database is
then updated.
There is a lot of data processing.

Regards
John

"Ken Robinson" <ke******@rbnsn.com> wrote in message
news:11*********************@g47g2000cwa.googlegro ups.com...


Justice wrote:
Just moved site to different web server. Previously no problems. Now, the script will time out after 90 minutes. I've set set_time_limit(0) but no effect.


90 MINUTES??? That's an awful long time for a script to run (1.5
hours). Do you mean 90 seconds?

Have you talked to your new hosts?

Ken

Jul 21 '05 #3
> The program runs for about 2 hours.
It accesses an XML gateway, data is exchanged, and my site's database is
then updated.


Tell us about the server. Windows, Unix, Linux, or Macintosh? What
version of Apache? Or Windows?

At a guess I'm thinking that Apache is enforcing some kind of module
security. But I'm guessing.

Is the script dying? What line does it die on? Maybe it runs out of
memory? I've had arrays that fill up and kill a script by tripping the
memory limit. What memory limit is set in php.ini? Perhaps it is lower
than what was set on your last machine?

Jul 21 '05 #4
Hi,

It's linux
On the previous server it was a shared IP. The new is a dedicated IP and
thus has its own PHP.INI.
I've gone in and changed memory_limit from 8M to 15M and I'll try again
tomorrow.
Thanks
John
<lk******@geocities.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
The program runs for about 2 hours.
It accesses an XML gateway, data is exchanged, and my site's database is
then updated.


Tell us about the server. Windows, Unix, Linux, or Macintosh? What
version of Apache? Or Windows?

At a guess I'm thinking that Apache is enforcing some kind of module
security. But I'm guessing.

Is the script dying? What line does it die on? Maybe it runs out of
memory? I've had arrays that fill up and kill a script by tripping the
memory limit. What memory limit is set in php.ini? Perhaps it is lower
than what was set on your last machine?

Jul 21 '05 #5
Well I increrased the memory from 8M to 15M but there is no difference.

Any ideas?

Regards
John
"Justice" <Ju*********@yahoo.com> wrote in message
news:yq********************@eclipse.net.uk...
Hi,

It's linux
On the previous server it was a shared IP. The new is a dedicated IP and
thus has its own PHP.INI.
I've gone in and changed memory_limit from 8M to 15M and I'll try again
tomorrow.
Thanks
John
<lk******@geocities.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
The program runs for about 2 hours.
It accesses an XML gateway, data is exchanged, and my site's database isthen updated.


Tell us about the server. Windows, Unix, Linux, or Macintosh? What
version of Apache? Or Windows?

At a guess I'm thinking that Apache is enforcing some kind of module
security. But I'm guessing.

Is the script dying? What line does it die on? Maybe it runs out of
memory? I've had arrays that fill up and kill a script by tripping the
memory limit. What memory limit is set in php.ini? Perhaps it is lower
than what was set on your last machine?


Jul 22 '05 #6
Any apache version diffrencessss....

Justice wrote:
Well I increrased the memory from 8M to 15M but there is no difference.

Any ideas?

Regards
John
"Justice" <Ju*********@yahoo.com> wrote in message
news:yq********************@eclipse.net.uk...
Hi,

It's linux
On the previous server it was a shared IP. The new is a dedicated IP and
thus has its own PHP.INI.
I've gone in and changed memory_limit from 8M to 15M and I'll try again
tomorrow.
Thanks
John
<lk******@geocities.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
> The program runs for about 2 hours.
> It accesses an XML gateway, data is exchanged, and my site's database is >then updated.

Tell us about the server. Windows, Unix, Linux, or Macintosh? What
version of Apache? Or Windows?

At a guess I'm thinking that Apache is enforcing some kind of module
security. But I'm guessing.

Is the script dying? What line does it die on? Maybe it runs out of
memory? I've had arrays that fill up and kill a script by tripping the
memory limit. What memory limit is set in php.ini? Perhaps it is lower
than what was set on your last machine?



Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Kenneth | last post by:
Hello, I'm having some serious problems debugging a script that I'm trying to make work. I'm working on a form where a user can type in a time (in the format of HH:MM), and another script...
12
by: Charles Law | last post by:
This is a bit of a vague question, but I am just starting on this, and wonder if anyone has ideas of where to start. I have a program that controls some external equipment. It sends messages in...
9
by: Amir Ghezelbash | last post by:
Hey every body i had a question i am in process of writing an application, where this application needs to check the database on hourly bases to see if they are any information that are needed...
3
by: vbwig(UNSUBSCRIBE) | last post by:
I've got an asp.net site which runs from IIS 5. On 4 customers sites, this site runs ok. On our main customers site, one of the pages takes a little while to process a request & times out - giving...
4
by: Steve W | last post by:
Is it possible to keep some communication going between the browser and web server going while waiting for a long running process to finish ? We have one function on our app (ASP.NET / VB.NET)...
0
by: Paul W | last post by:
Hi - I have an app that does not use sessions: <sessionState mode="Off" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"...
2
by: whatanut | last post by:
Hi, we have a website built using .Net Framework 2 and Visual Studio 2005 Beta 2. It has a session timeout setting of 20 minutes of inactivity, set in the web.config. But some of our users are...
7
by: C.Joseph Drayton | last post by:
I have a problem that I am hoping someone can help me with. First let me describe the problem. I have an HTML form that in one field has an onBlur call to a JavaScript function. When you exit the...
1
by: Dean Richardson | last post by:
Hello, I am having problems with my PHP sessions timing out. I have a system which requires the user to login. Once they login, it then stores their username as a session variable and is checked...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.