PDA

View Full Version : CPU Power


Kai
20-Oct-2003, 06:54 AM
Hi my webhost company mail me telling me this:

Your perl scripts takes up almost 50% of the CPU power whenever someone goes to your web pages. It becomes worse if there are multiple viewers on your web site. Normally, scripts, no matter how complicated they are, will only take up less than 3% of the CPU resources. Yours is considered a very extreme case. This is usually the cause of poorly written scripts. Please check the scripts. Thanks.

Why is this so? It is because i uses actinic? Thank

Nadeem
20-Oct-2003, 08:37 AM
Hi Kai

Please check the following KB article to explains the differences between v4 to v6 perlscripts

It advises you how much memory is needed to run perlscripts

Here is the link to the knowledge base (http://knowledge.actinic.com/users/kadmin/cgi-bin/ss000007.pl?PRODREF=CD275&NOLOGIN=1&ACTINIC_REFERRER=http://knowledge.actinic.com/users/kadmin/acatalog/)

I hope this helps you with your webhosting company

I will also forward this message to the developers as well, for them to comment on.

Also if anyone in our forums hosts customers site, please place in your two cents on what Kai has written :)

Kind Regards

Nadeem
20-Oct-2003, 09:20 AM
Hi Kai

Please could you provide more information on what your webhost server specification? How it is set up and also what version of Actinic you are using?

To check out what version of Actinic you are using, you just need to go into "Help | About .."

Many thanks

Kind Regards

garyhay
20-Oct-2003, 09:30 AM
Sounds like a Windows Server

Kai
21-Oct-2003, 10:08 AM
Hi i am using 6.1.2 of actinic. My webhost was saying the perl scipt i generate crushing his server. His server is a unix server. This is a link of their site http://www.axac.com/products.php

They now move me to another server, which make life very hard for me as i have to refigure all the setting. Now i entercounter a problem saying the webhost does not allow post to cgi-bin, why is that so? Is there anything wrong with just change the website address and ftp name in the network setup to upload to a new site.
Thank.

Regards,
Kai

Nadeem
21-Oct-2003, 10:17 AM
Hi Kai

You will need to reconfigure your network settings, if the web server has been set up differently.

I would suggest in going through "Web | Configure Web Site Details", and check the box for Configure new network settings.

Place in your new details when prompted.

Please try this.

Kind Regards

Kai
22-Oct-2003, 06:18 AM
I tried using the one you said. Every thing fine until the prompt for path to perl. My default one is /usr/bin/perl but it keep on pop up saying that it is a incorrect path. Why is this so.