PHP Coding
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Coding

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old July 12th, 2002, 10:43 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
SET OPERATION TIMEOUT

HOW CAN I SET OPERATION TIMEOUT IN APACHE SERVE?

Reply With Quote
  #2  
Old July 12th, 2002, 12:26 PM
CmdrDats CmdrDats is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: <br><img src='http://www.dats.co.za/icon.gif'>
Posts: 269 CmdrDats User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via ICQ to CmdrDats Send a message via AIM to CmdrDats Send a message via Yahoo to CmdrDats
RE: SET OPERATION TIMEOUT

What operation timeout? what is actually happening and what would you like to be happening?

Reply With Quote
  #3  
Old July 12th, 2002, 06:28 PM
notepad notepad is offline
Codewalkers Loyal (3000 - 3499 posts)
 
Join Date: Apr 2007
Location: Central, IL USA
Posts: 3,214 notepad User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 5
Send a message via AIM to notepad
RE: SET OPERATION TIMEOUT

if you're talking about how long your script should take to execute, look in your php.ini file cause it should be in there..

Reply With Quote
  #4  
Old July 15th, 2002, 03:51 AM
Anonymous Anonymous is offline
Registered User
Codewalkers God 35th Plane (22000 - 22499 posts)
 
Join Date: Apr 2007
Posts: 22,309 Anonymous User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 24
RE: SET OPERATION TIMEOUT

My work is study search fulltext.I want split words from abtracts of books and store them into batabase. Amount of abstracts about 27,000 records(i have 27,000 books), every abstract have from 120 to 200 words. So Database have 2,840,000 to 3,400,000 records.The words stored have not to duplicate, thus need test dupication before store a word.In addition, the abstract have to store on an other table (the content of abstracts already exist on a table that contain books but i want do so )....

When I run the script about 18 hours then appear a message :"...Operation timeout"

I already set "max_execution_time = 0" in php.ini but still this problem, the abstract only stored about 5,000 records , the words stored about 55,000 records and computer not do this work(not run script any more)


Reply With Quote
  #5  
Old July 15th, 2002, 04:05 AM
Matt Matt is offline
Moderator
Codewalkers Specialist (4000 - 4499 posts)
 
Join Date: Apr 2007
Location: Florida
Posts: 4,158 Matt User rank is Private First Class (20 - 50 Reputation Level)Matt User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 4 h 10 m 20 sec
Reputation Power: 6
RE: SET OPERATION TIMEOUT

I hate to say this, but you may be better off not using PHP for this one. I personally would use C. You will most likely cut down your execution time quite a bit. The MysQL API for C is straightforward and very easy to use. You should be able to port your PHP code into C very easily as PHP is based off of C.

PHP was made for web scripting. Yes, it can be used for other things, but that was it's primary goal. I have experimented with scripts that run for extended periods of time and have not had good success.

Reply With Quote
  #6  
Old July 15th, 2002, 04:56 AM
EvilivE EvilivE is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: Milwaukee, WI USA
Posts: 291 EvilivE User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 2
Send a message via Yahoo to EvilivE
RE: SET OPERATION TIMEOUT

Back to the roots, gotta love it!

Here is a link to the C API for My SQL ... http://www.mysql.com/doc/C/C/C.html

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Coding > SET OPERATION TIMEOUT


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway