473,807 Members | 2,827 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1769


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******** *************@g 47g2000cwa.goog legroups.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******@geoci ties.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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*********@ya hoo.com> wrote in message
news:yq******** ************@ec lipse.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******@geoci ties.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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*********@ya hoo.com> wrote in message
news:yq******** ************@ec lipse.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******@geoci ties.com> wrote in message
news:11******** **************@ f14g2000cwb.goo glegroups.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
2521
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 automatically calculate how much time is inbetween. That part of it is working fine, but what ISN'T working fine is the script that validates whether or not the user has entered the time in proper syntax, and to make sure that the Time In does not...
12
1622
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 various flavours to cause the equipment to turn signals on and off, and change voltages and such like. Attached to this external equipment, is another piece of equipment that responds to these changes in signals and voltages.
9
1758
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 to be processed in the next upcoming hour so my application has to to connect to data base right on (for example) 5:00:00 then check all the jobs that are due on 5:00:00 5:15:00 5:30:00
3
1232
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 the user a "The page cannot be displayed" error message. These are the settings I've put in the web.config file: ---------------------------------------------------------- <authentication mode="Forms"> <forms name=".AFormName"...
4
338
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) that does a long running update to the database (takes upto 10 mins) and the browser will often time out before it completes. Ideally I'd like to send information back to the browser from the process, but anything that stops the browser timing...
0
1003
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" cookieless="true" timeout="600" /> It does use Forms authentication: <authentication mode="Forms" > <forms loginUrl="Login.aspx"
2
1468
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 timing out sooner than 20 minutes (5 minutes even). Any idea why this may be happening to some but not others and what we can do to fix it? thanks,.
7
10984
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 field, it calls the JavaScript routine, which in turn calls a PHP script. The PHP script runs returns the value needed. And returns to the JavaScript. The JavaScript function is then supposed to set alerts depending on the values returned from...
1
3824
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 in each page. If the username is missing, then it makes the user log back in. However, after 5 or 10 mins of not using the system, the user then clicks on an option and it is prompting them to login.
0
9721
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9600
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10628
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10113
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9195
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6880
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5547
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4331
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3011
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.