Home | Members Center | Contact us

-iBHacks and Support
--Forum: Features documentation
---Topic: Adding a server load limit started by Sly

Sly
[move]63% of all statistics are made up... including this one.[/move]



Top Dog
4751
June 2002
June 28 2002,09:48

IF your host is warning you about things like:
Quote

From our records, one of your customer\'s site, XXXXXX.com, ikonboard forums is using up a lot of server cpu resources.

Please look into it as we may suspend the account if this contunues.

Then:

1) get your board runing on SQL databases if you are using DBM now

2) To add a load limit go to

AdminCP->Edit Board options->Server Load Limit

Quote

You may enter a limit for the server load before a user gets a "server busy" message. 1.0 is 100% for single processor machines, 2.0 is 100% for dual processor machines. Leave blank if you do not want to set a limit. If a limit is set, the current load will be displayed with the admin stats
[ iB Supported home ]

I love smilies!
Back to top
       
Mondoshiwan




Pirate
8
Oct. 2002
Oct. 14 2002,21:39

Hi Sly,

is this only for mod_perl ?
I have entered some values, but the Server load shows only "--".
I think mod_perl is the only way to get a real Server load index.

bye,
Maik
Back to top
   
Camil




Top Dog
355
July 2002
Oct. 14 2002,22:46

If you dont have a server load it's because your on a Windows server. mod_perl does not help you at all to get a server load. The future is in your mind...  Well...  maybe.
Back to top
  
Mondoshiwan




Pirate
8
Oct. 2002
Oct. 15 2002,15:59

Hi Camil,

the system that is running my board seems to be Linux.
Here is a small output from ibtest.pl:

The absolute path to this script is: blabla, on a Linux based platform.
$ENV{SERVER_SOFTWARE}:Apache/1.3.26 (Unix)

How does IB gets the server load from the system?
Maybe the provider has disabled some function?

bye,
Maik
Back to top
   
Andy




Pirate
101
Sep. 2002
Oct. 16 2002,01:23

I'm not on a windows server either and don't get the server load listed just -- ???
Back to top
  
Mondoshiwan




Pirate
8
Oct. 2002
Oct. 21 2002,14:39

Hi Andy,

IB is reading the actual server load with /sources/lib/func.pm
from /proc/loadavg  (open LOAD, '/proc/loadavg' or return;)

This file has to be set from Apache. On my webspace there is no directory proc and no loadavg file.
That`s the problem why server load is not working on our installations.

It seems that this functionality is not available on all webspaces.

bye,
Maik
Back to top
   
Andy




Pirate
101
Sep. 2002
Oct. 21 2002,15:08

oh i see, thank you Maik.
Back to top
  



Content © 2002-2003 slys.co.uk
Page Converter by iBSupported.com
Copyright © 2002 iBSupported - Legal Policy