DocCyblade / tkl-odoo

Turnkey Linux - Odoo v8 (Published v14.2)
https://www.turnkeylinux.org/odoo
GNU General Public License v3.0
21 stars 24 forks source link

Kens Shakedown tests part 1 #52

Closed DocCyblade closed 8 years ago

DocCyblade commented 8 years ago

Going to use this to document my shake down testing of RC1

Test will be done with VMWare Fusion with 1 X CPU 1GB RAM 20GB HDD

Test one will install all modules available and test each one using CRUD and every option at least 3 times.

Goal is to test all modules and options with limited resources. Will note any issues here. If issue is with resources will note that and retest in part 2

Keep list of things tested here only. Add comments if any issues only.

Test List:

DocCyblade commented 8 years ago

Half way through the installing of modules the server froze and ran out of memory. 512MB not enough may need to bump it up to 1GB

DocCyblade commented 8 years ago

I found that changing the max memory soft value to 268435456 (256MB) seem to calm the memory usage. This number should not be more than 1/4 of your memory on your system. Seems like if this number if too high the worker processes never quit and release memory, eating it up till it locks up

DocCyblade commented 8 years ago

Should come up with some matrix for memory to workers equation or at least best setting to whatever the final TKL VM will have for memory

DocCyblade commented 8 years ago

Installed all modules, had to tweak the max_memory_soft above

screen shot 2015-10-15 at 11 17 49 pm screen shot 2015-10-15 at 11 18 00 pm screen shot 2015-10-15 at 11 18 13 pm
l-arnold commented 8 years ago

What is your math on the "number" and mb/gb etc? I had tried to calc 1.5 Gig myself earlier but came out with the different number I mentioned earlier. Also this doesn't seem to correlate to bits or kilobits either.

DocCyblade commented 8 years ago

I take 256MB and punch it into here http://www.whatsabyte.com/P1/byteconverter.htm

DocCyblade commented 8 years ago

Been playing around with the tuning of 512MB RAM with all modules installed. System is VERY slow but it does work. If they are using only 2-3 modules this would be "ok" but ideal. I did tweak the max_memory_soft to 128MB and max_memory_hard to 1.3G anything less than 1.3G PDF reports would not work. I tried bumping the workers to 1 but things started timing out. You could put this to one, and bump up soft memory limit or bump up the time outs on cpu/time but i think the below settings are "ok" for 512MB if thats all you had. I am thinking that 1GB really should be the minimum, as you can see it's eating into swap

See below screen shots of config and memory usage.

screen shot 2015-10-16 at 6 03 24 am screen shot 2015-10-16 at 6 14 33 am
DocCyblade commented 8 years ago

Note on above post, i have not rebooted just restarted Odoo. Below shot after reboot. Still high memory usage and we have not done anything yet

screen shot 2015-10-16 at 6 23 36 am
l-arnold commented 8 years ago

Ok, will fire up. What is the command to seebthe memory usage?

DocCyblade commented 8 years ago

top

I then use commands to make that screen. Use h for help

Need to run it at the console

JedMeister commented 8 years ago

top is good; htop is prettier and has cool bar graphs :smile:

DocCyblade commented 8 years ago

Is htop in the build ? Or do you add it?

JedMeister commented 8 years ago

I install it from the repos. It's only a 200kb

BTW you guys are stress testing the shiz outta this thing! :smile:

DocCyblade commented 8 years ago

@JedMeister if anything I have learned is the memory management and the scaling of the app.

Ill have to install htop

DocCyblade commented 8 years ago

@JedMeister dude what are you still doing up? Don't you sleep!

Yeah want to put my stamp of approval on it it's going to be almost perfect

l-arnold commented 8 years ago

Logging into shell: 20 GB hd, 4gb Ram, 2 Processors and after setting Soft Limit to 256mb and Hard Limit to 3GB I see: https://192.168.1.115:12321/ HD usage at 11.7% Memory Usage at 17 % 124 Processes running

Just ran: apt-get install htop htop Jumps. Pretty cool.

DocCyblade commented 8 years ago

@JedMeister - Testing is going very well. Only thing I have found is performance issues with 512MB if you go all crazy town and do what I did and install 20| modules

DocCyblade commented 8 years ago

I am done with part 1

l-arnold commented 8 years ago

Nice work Ken.

Don't do what I did and Get Tired in Crazy town and install 12 Modules all at once :smile: