|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
SET OPERATION TIMEOUT
HOW CAN I SET OPERATION TIMEOUT IN APACHE SERVE?
|
|
#2
|
|||
|
|||
|
RE: SET OPERATION TIMEOUT
What operation timeout? what is actually happening and what would you like to be happening?
|
|
#3
|
|||
|
|||
|
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..
|
|
#4
|
|||
|
|||
|
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) |
|
#5
|
|||
|
|||
|
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. |
|
#6
|
|||
|
|||
|
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 |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Coding > SET OPERATION TIMEOUT |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|