[SOLVED] Performance problem

Antworten
o.ferre
Beiträge: 66
Registriert: 19 Nov 2010, 13:58
Wohnort: LYON - France

[SOLVED] Performance problem

Beitrag von o.ferre »

Hi all,

I actually update the computers classrooms of the school from Windows XP to Windows 7 Pro.
I want to use OPSI to install the computers, but i've got a problem of performance when i try to install 3 or more computers at the same time
On the opsi server, 2 process take all the CPU : /usr/bin/python /usr/bin/opsiconfd -D (I think it's the Audit HArdware) and after /usr/bin/smbd (to copy files)

and I often have this error message : failed to lock file '/var/lib/opsi/config/audi/global.hw' after 2000 millis (error on server)

My question : is there a way to install multiple computers at the same time with OPSI ?

Opsi version : 4.0.4

Thnaks a lot
Olivier
Zuletzt geändert von o.ferre am 26 Aug 2014, 09:18, insgesamt 1-mal geändert.
O.Ferre
ENS de Lyon
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

Re: Performance problem

Beitrag von n.wenselowski »

Hello Olivier,

I am sorry that you are having trouble. It is possible to install multiple computers at once and many opsi users do that.

From what I read I assume you are using the file backend.
Opsi has a dependency on good I/O performance. If you run top on your server, do you often have a value greater than zero for wa (iowait)?
Another thing you can do is to look at the info page of your server. It can be found at: https://fqdn.of.your.server:4447/info
There you should see what calls do take a lot of time.

Another good performance increase is usually to store audit data in a mysql backend because it is much faster than the file-based one.
Storing all data in a mysql-backend is possible too, but this is currently a co-funded extension.


With kind regards

Niko

Code: Alles auswählen

import OPSI
o.ferre
Beiträge: 66
Registriert: 19 Nov 2010, 13:58
Wohnort: LYON - France

[SOLVED] Re: Performance problem

Beitrag von o.ferre »

Hi Niko,

thanks for your reply
So, I have deleted all the files in this 2 folders :
/var/lib/opsi/config/audit
/var/lib/opsi/config/clients

it's not a problem for us because we use OPSI only for OS installation (with our own PXE) ; we don't deploy application with OPSI

Everything is OK now
Thanks
Olivier
O.Ferre
ENS de Lyon
Antworten