Gossamer Forum
Home : Products : Links 2.0 : Discussions :

CPU USAGE

Quote Reply
CPU USAGE
Good day everybody,
My server, VERIO wrote me an e.mail in wich said that the script used, "is using a significantly high level of resources on the server" and propose to buy a Virtual Private Server.
My cpu usage for march 2001 is about 3 hours.
I do not understood well, but what you suggest?
Is it necessary for Links2 to have an own server?
Please, excuse me If this is not the approriate forum
Best regards
Gabriel

Gabriel
Quote Reply
Re: CPU USAGE In reply to
What script did they say was using the cpu so much, was it the nph-build.cgi or something like search.cgi. Also, the size of your links directory will cause alot of cpu usage if your directory is rather large.

Later,
Paul

http://www.fullmoonshining.com for Pearl Jam Fans
Quote Reply
Re: CPU USAGE In reply to
 

here the cpu usage for march 2001
CPU Usage


Commands CPUticks * CPU hh:mm:ss Times executed

add.cgi 14953 0:2:29 567

rate.cgi 79814 0:13:18 2052

admin.cg 32870 0:5:28 893

nph-buil 754051 2:5:40 1133

ls 516 0:0:5 382

nph-veri 6075 0:1:0 1

modify.c 202 0:0:2 9

subscrib 262 0:0:2 16

jump.cgi 172789 0:28:47 14632

search.c 209803 0:34:58 2791

hiwayd 1225 0:0:12 907

sendmail 9111 0:1:31 5137

shtml.ex 1642 0:0:16 4

author.e 2542 0:0:25 5

nph-emai 3580 0:0:35 31
Total 1289435 3:34:54 28560
* 100 cputicks = 1 cpu second



Gabriel
Quote Reply
Re: CPU USAGE In reply to
You could remove jump.cgi by using <%URL%> in link.html instead of passing through jump.cgi

Also build from telnet less frequently

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: CPU USAGE In reply to
Why did you rebuild your database 1133 times during one month? I am rebuilding once per day. If I rebuilt my database with 3.700 links more than 30 times a day, I'd run into troubles with my hosting company very soon. Wink

Thomas
http://www.japanreference.com
Quote Reply
Re: CPU USAGE In reply to
Yes and even once per day is more than some.

Every couple of days should be ok.

So you were executing it 30 times per DAY???......EWWWWWWWWWWWWW

Paul Wilson.
Installations:
http://www.wiredon.net/gt/
Quote Reply
Re: CPU USAGE In reply to
Well,
I am a absolute beginner... and I try to add some mod to my copy of links...without any luck..,
Everytime I rebuild I use Built and Auto staggered, are the same things?
Can I use only one of this?

Gabriel