View Full Version : How much system resources does FQ allow?
DannyK
01-23-2000, 04:38 AM
-no text-
Terra
01-23-2000, 03:22 PM
Apache/CGI resources:
20 seconds CPU runtime
15MB Memory (non-swapped)
If your CGI process were to exceed that, it would be automatically killed by the Linux OS...[nbsp][nbsp]These limits are in place to stop runaway scripts, and also to keep some sort of sane control on memory resources...
These limits are also per-instance/invocation...
--
Terra
sysAdmin
FutureQuest
DannyK
01-24-2000, 04:02 PM
Thanks Terra :)
kickster
01-27-2000, 11:35 PM
If my search engine takes over 20 sec to search for a key word then it would be shut down right?
When I rebuild my search data base it takes 10 sec is this bad? the script says it took 10 sec does that mean it took the CPU 10 sec as well?
Stupid questions but Go to Ask them :)
------------------
Terra
01-28-2000, 02:52 AM
There are 2 time frames...
1) Wall Time
Just like looking at a clock... ;)
2) CPU Time
In a multi-tasking system, everything is time-sliced...
Say there are 10 processes running, and yours is one of them...[nbsp][nbsp]The task schedular is going to divide up the CPU's time between all the processes for that 1 second period...[nbsp][nbsp]Your process (depending on niceness and priority) will only get a part of the Wall second to do it's work...
On a dual PIII-600 server, 20 seconds of CPU time is a lot of time to run...[nbsp][nbsp]Anything over 20 (CPU) seconds, then Linux will kill the process...[nbsp][nbsp]If your script can't complete within that time frame, then there is definitely some optimization work that needs to be done...
When you rebuild, they are probably giving you Wall time, but I'm not 100% for sure unless I saw exactly how they were quantifying time...
In ALL cases:
CPU Time < Wall Time
*The margin of difference just depends on how busy the server is...
--
Terra
--Trying to translate Techno-Babble to English was not easy for this question--
FutureQuest
kickster
01-31-2000, 10:43 PM
The search engine that I am using is Links2
I heard the data base build function is very CPU intensive.
I usualy build it on Sundays where traffic is lighter.
Dan Kaplan
01-31-2000, 11:06 PM
If you build via telnet or cron, it should be ok.[nbsp][nbsp]My Links 2 database is 800k+ and 4,500 links (in 250 categories), and it builds with no problems.[nbsp][nbsp]I'm in the process of upgrading to Links SQL, but I don't believe that will affect things any.
Dan
vBulletin® v3.6.8, Copyright ©2000-2009, Jelsoft Enterprises Ltd.