Seite 1 von 1

[SOLVED] Performance problem

Verfasst: 18 Aug 2014, 17:04
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

Re: Performance problem

Verfasst: 19 Aug 2014, 10:02
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

[SOLVED] Re: Performance problem

Verfasst: 26 Aug 2014, 09:17
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