Discussion:
execution time
Wolfgang Pichler
2005-09-22 20:05:10 UTC
Permalink
Hi!
Fatal error: Maximum execution time of 30 seconds exceeded in
/srv/www/emilda/lib/MARC.inc on line 625
this has nothing to do with emilda but with your environment
have a look at your php.ini !

max_execution_time = 30 ; Maximum execution time of each script, in
seconds
max_input_time = 60 ; Maximum amount of time each script may spend
parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)

line 625 is a random point in code reached after 30 seconds

regards
w.
I search the time variable into the file MARC.inc and the line 625 but I
did not find anything about it. Can someone help me?
Thanks
Mattias Nordstrom
2005-09-22 21:22:03 UTC
Permalink
Post by Wolfgang Pichler
Hi!
Fatal error: Maximum execution time of 30 seconds exceeded in
/srv/www/emilda/lib/MARC.inc on line 625
this has nothing to do with emilda but with your environment
have a look at your php.ini !
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
max_input_time = 60 ; Maximum amount of time each script may spend
parsing request data
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB)
[snip]
If you want to change the max execution time allowed for Emilda, either
change the value in php.ini or in your Apache config (where you have
configured Emilda) by adding the following line:

php_admin_value max_execution_time 120

This would allow Emilda to run for up to 2 minutes. This may or may not
be enough depending on the speed of your server and the size of your
library.
--
Mattias Nordstrom
CTO
Realnode Oy

***@realnode.com
www.realnode.com
Wolfgang Pichler
2005-09-22 21:27:25 UTC
Permalink
Mattias Nordstrom wrote:

[snip]
Post by Mattias Nordstrom
If you want to change the max execution time allowed for Emilda, either
change the value in php.ini or in your Apache config (where you have
php_admin_value max_execution_time 120
ey - glad to see i am not the only one working "later" :-)

(besides the example to set php-parameters in apach(.htaccess or elsewhere)
is it not a bit hard to wait 2 minutes *g*
i would give the hardware a kick and by something better than 386-sx *g*

regards
wolfgang
Christoffer Landtman
2005-09-23 05:53:58 UTC
Permalink
Post by Wolfgang Pichler
[snip]
Post by Mattias Nordstrom
If you want to change the max execution time allowed for Emilda, either
change the value in php.ini or in your Apache config (where you have
php_admin_value max_execution_time 120
ey - glad to see i am not the only one working "later" :-)
(besides the example to set php-parameters in apach(.htaccess or elsewhere)
is it not a bit hard to wait 2 minutes *g*
i would give the hardware a kick and by something better than 386-sx *g*
Regrettably, Emilda will not even produce the complete output of big
databases on state-of-the-art servers with the current system. The
amount of work performed in the "print all books" scripts is so
overwhelming because of the cross referencing into MySQL, that there is
no server that will produce the output of a 2k+ database in 60 sec. We
are working on imroving this, but we'll have to wait and see what we
might come up with.

Regards,
Post by Wolfgang Pichler
regards
wolfgang
_______________________________________________
Emilda-devel mailing list
http://lists.realnode.com/mailman/listinfo/emilda-devel
--
Christoffer Landtman
CEO
Oy Realnode Ab

***@realnode.com
www.realnode.com
Continue reading on narkive:
Loading...