thanks for the support, I've done the following and now it works fast and smooth:
# rpm -e --nodeps libmicrohttpd-0.9.22-1.el6.x86_64 # wget http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/libmicrohttpd-0.9.7-1.el6.art.x86_64.rpm # rpm -Uvh libmicrohttpd-0.9.7-1.el6.art.x86_64.rpm # /etc/init.d/gsad restart and also I've "exclude=libmicrohttpd" from all yum sources "/etc/yum.repos.d/CentOS-Base.repo" as you suggested Thank again! Manel Date: Tue, 16 Apr 2013 12:28:07 +0200 From: [email protected] To: [email protected] CC: [email protected] Subject: Re: [Openvas-discuss] CPU gsad ussage and huge login delay Thanks for this solution, better than mine :) On Tue, Apr 16, 2013 at 12:23 PM, Reindl Harald <[email protected]> wrote: Am 16.04.2013 12:14, schrieb clems: > Use http-only for gsad. > What I've done on my Centos and it is working: > > vi /etc/init.d/gsad > > and add http-only > "start() { echo -n $"Starting greenbone-security-assistant: " daemon > $EXEC $PARAMS --http-only --timeout 50" NO - simply use the "libmicrohttpd" from Atomic and exclude the package in the CentOS repo [root@openvas:~]$ rpm -qa | grep microhttp libmicrohttpd-0.9.7-1.el6.art.x86_64 [root@openvas:~]$ cat /etc/yum.repos.d/CentOS-Base.repo [base] name=CentOS-$releasever - Base mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os #baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/ exclude=libmicrohttpd gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 [updates] name=CentOS-$releasever - Updates mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates #baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/ exclude=libmicrohttpd gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 [extras] name=CentOS-$releasever - Extras mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras #baseurl=http://mirror.centos.org/centos/$releasever/extras/$basearch/ exclude=libmicrohttpd gpgcheck=1 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 [centosplus] name=CentOS-$releasever - Plus mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus #baseurl=http://mirror.centos.org/centos/$releasever/centosplus/$basearch/ exclude=libmicrohttpd gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 [contrib] name=CentOS-$releasever - Contrib mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib #baseurl=http://mirror.centos.org/centos/$releasever/contrib/$basearch/ exclude=libmicrohttpd gpgcheck=1 enabled=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6 _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss _______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
_______________________________________________ Openvas-discuss mailing list [email protected] https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss
