[libvirt] Re: Libvirt PHP binding

Daniel Veillard veillard at redhat.com
Tue Apr 14 15:08:42 UTC 2009

On Tue, Apr 14, 2009 at 04:00:18PM +0100, Daniel P. Berrange wrote:
> On Tue, Apr 14, 2009 at 03:56:28PM +0200, Radek Hladik wrote:
> > It works but httpd processes open a lot pipes and after a few hours with 
> > page refreshing every 10 sec I even ran into error:
> > [Mon Apr 13 02:40:26 2009] [error] [client] PHP Warning: 
> > libvirt_connect()  unable to make pipe: Too many open files
> This is interesting. It suggests that the virConnectPtr  object you
> have created is not being relased. Each object will require at least
> 2 file descriptors, so if they're not released, then either the 
> libvirtd daemon, or the PHP client, or the OS as a whole will run
> out of file descriptors and start showing this error message.

  0.6.0 has file descriptors leaks on, so yes this may be solved by
an update too.


Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel at veillard.com  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

More information about the libvir-list mailing list