View Full Version : LOAD appliance
chris_2000
06-20-2008, 01:52 PM
Hi!
I tried to setup the LOAD appliance in one of my test applications. When accessing its webinterface, I can enter the requests per second but it does not start with the load test. I tried to reset the appliance, press the pause/play buttons, etc. I entered the URL to test either with it's ip address or like http://out/abc/ as documented in your wiki?
What could be wrong?
Chris
stephen
06-20-2008, 07:00 PM
Hi Chris,
The format for the target must be a complete url, i.e. "http://out/index.php"
If this does not correct the problem, you can verify that you have the necessary access:
1. open a shell on the load appliance and execute "wget http://out/index.php".
If this succeeds, you can next verify that load can be manually generated using the http_load executable:
1 . open a shell on the load appliance and create a file /mnt/config/test using vi. Include a single line "http://out/index.php" (no quotes)
2. execute "/usr/LOAD/http_load -rate 10 -seconds 5 /mnt/config/test"
3. if this command produces an error response rather than typical results indicating the number of fetches, bytes/connection, etc., then that follow up with the indicated error.
If the above all works correctly, then:
1. in a shell on the LOAD appliance "ps aux | grep load_daemon". If the results do not include a process such as "/usr/bin/php /usr/LOAD/load_daemon" then the load generating daemon is not running (a bad thing).
2. in this case, "/usr/LOAD/startd" and check the "ps aux ..." command again. If the daemon is running, attempt to generate load in the appliance GUI.
3. if the daemon is still not running (a very bad thing), then execute "/usr/LOAD/load_daemon" and record any error results and send them to me!
If you are still unable to work it out, please email me and include the version of your AppLogic grid and the version of the LOAD appliance.
[Edited:] Please post here if you got it to work and what the problem was; if not, let's continue (you can also PM me). [End edit]
Thanks,
Stephen
chris_2000
06-23-2008, 02:02 AM
Hi!
We are running AppLogic 2.3.8 beta.
On the shell of the appliance I can use wget http://out/index.php.
Executing http_load on the shell works also and ps aux shows the load_demon is running.
However, when using the webinterface I cannot perform any load tests. All counters show "0" or "0.0 ms".
What else can be wrong?
Thanks,
Chris
stephen
06-23-2008, 09:10 AM
Chris,
I just set up a simple test on AppLogic 2.3.8 with LOAD connected directly to WEB5 and encountered no problems.
Try "comp restart main.load" (using the name you have assigned the LOAD appliance) and test again.
If you like, I would be happy to take a look at your application and see if I cannot find the problem.
Stephen
chris_2000
06-23-2008, 12:57 PM
Stephen,
thanks for your reply.
I restarted the appliance. But the webinterface still does not show any results.
I even tried to reinstall the LOAD appliance; no luck.
Maybe it has something to do with my browser? I tried firefox 3 on win xp, firefox 2 on osx and safari on osx.
Christoph
PeterNic
06-25-2008, 04:37 PM
Christoph,
From what I discussed with Stephen, you may have hit a resource assignment bug in 2.1.1 -- when you give the app a non-default amount of resources (for the app as a whole), it does not properly roll the resources down to individual components, resulting in providing too little memory for LOAD.
However, if you set LOAD's (appliance instance) default resources to the desired values and then start the app with the app's default resources (the default resource values -- in the third column -- should be non-bold and have no 'restore default' button next to the value, indicating the value is the actual default), this will get the required amount of resources.
You can at any time see the actual resource assignment for any component by doing 'comp list <appname>' or 'app info <appname> -v' -- you can see what was really given to each component.
Please try again, let us know if this was the last problem.
Thanks,
- Peter
chris_2000
06-26-2008, 07:32 AM
Peter,
I just followed your advice and reset the applications ressources to default values. The load appliance has a default resource assignment for RAM of 160MB. However, when starting the application the load appliance get's just about 50MB of ram.
I'm using applogic 2.3.8.
Whatever amount of RAM I give to the load appliance (even when assigning the application more ressources) it just does not get more ressources.
Chris
vBulletin® v3.7.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.