[Users] Bug? ovirt-guest-agent / Ubuntu
Meital Bourvine
mbourvin at redhat.com
Mon Jan 6 15:51:58 UTC 2014
run:
ulimit -a
And see what's the current value for "open files".
Then increase it with:
ulimit -n <new_number>
If it solved the problem, you need to edit /etc/sysctl.conf so it'll persist after reboot. add:
fs.file-max = <new_number>
----- Original Message -----
> From: "Sven Kieske" <S.Kieske at mittwald.de>
> To: users at ovirt.org
> Sent: Monday, January 6, 2014 5:11:10 PM
> Subject: [Users] Bug? ovirt-guest-agent / Ubuntu
>
> Hi,
>
> I just stumbled upon the following in my guest-agent log on
> ubuntu 12.04.3 lts server:
>
> MainThread::INFO::2014-01-06
> 14:29:29,106::ovirt-guest-agent::37::root::Starting oVirt guest agent
> MainThread::ERROR::2014-01-06
> 14:29:29,107::ovirt-guest-agent::117::root::Unhandled exception in oVirt
> guest agent!
> Traceback (most recent call last):
> File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 111, in
> <module>
> agent.run(daemon, pidfile)
> File "/usr/share/ovirt-guest-agent/ovirt-guest-agent.py", line 42, in run
> self.agent = LinuxVdsAgent(config)
> File "/usr/share/ovirt-guest-agent/GuestAgentLinux2.py", line 324, in
> __init__
> AgentLogicBase.__init__(self, config)
> File "/usr/share/ovirt-guest-agent/OVirtAgentLogic.py", line 90, in
> __init__
> self.vio = VirtIoChannel(config.get("virtio", "device"))
> File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 150, in
> __init__
> self._stream = VirtIoStream(vport_name)
> File "/usr/share/ovirt-guest-agent/VirtIoChannel.py", line 131, in
> __init__
> self._vport = os.open(vport_name, os.O_RDWR)
> OSError: [Errno 24] Too many open files:
> '/dev/virtio-ports/com.redhat.rhevm.vdsm'
>
>
> Guest agent version is:
>
> 1.0.8.201309301944.gitb7f8f2-1p
>
> Another question: How to disable the logging from the agent?
>
> I just tried to set the following in /etc/ovirt-guest-agent.conf:
>
> [handler_logfile]
> class=handlers.RotatingFileHandler
> #args=('/var/log/ovirt-guest-agent/ovirt-guest-agent.log', 'a', 100*1024, 5)
> args=('/dev/null', 'a', 100*1024, 5)
>
> and then restarted the service
> --
> Mit freundlichen Grüßen / Regards
>
> Sven Kieske
>
> Systemadministrator
> Mittwald CM Service GmbH & Co. KG
> Königsberger Straße 6
> 32339 Espelkamp
> T: +49-5772-293-100
> F: +49-5772-293-333
> https://www.mittwald.de
> Geschäftsführer: Robert Meyer
> St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
> Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
More information about the Users
mailing list