Eliezer Croitoru
2015-Sep-09 11:25 UTC
[CentOS-virt] Report on Xen-4.6rc2 from virt7-xen-46-candidate
Hey, What do you mean by doesn't do forking? It allows forking processes if the application can do that. It doesn't fork them by default but ,is it really needed? If xenstored is testing to be run under systemd and not forks itself because of it, that's another thing. Eliezer On 09/09/2015 12:40, George Dunlap wrote:> I think because systemd doesn't do forking, that it doesn't need a > pidfile. In fact, if xenstored detects that it's running under > systemd, it will actually ignore the --pid-file directive. > > -George
George Dunlap
2015-Sep-09 14:02 UTC
[CentOS-virt] Report on Xen-4.6rc2 from virt7-xen-46-candidate
On Wed, Sep 9, 2015 at 12:25 PM, Eliezer Croitoru <eliezer at ngtech.co.il> wrote:> Hey, > > What do you mean by doesn't do forking? > It allows forking processes if the application can do that. > It doesn't fork them by default but ,is it really needed? > If xenstored is testing to be run under systemd and not forks itself because > of it, that's another thing.Sorry, typing quickly, leaving out important information. :-) I know very little about systemd, but I know that the Xen project comes with systemd files which have been written by people who should know, and that these are tested on a regular basis. The xenstored.service file includes this line: Type=notify where other options for "type" might be "forking". I also know that xenstored is explicitly coded to be able to detect whether it's been run from systemd, and to Do The Right Thing in that situation -- and that actually includes ignoring the pidfile and not forking. So what I meant was, "xenstored is designed not to do its own forking under systemd". -George> > Eliezer > > On 09/09/2015 12:40, George Dunlap wrote: >> >> I think because systemd doesn't do forking, that it doesn't need a >> pidfile. In fact, if xenstored detects that it's running under >> systemd, it will actually ignore the --pid-file directive. >> >> -George > > > _______________________________________________ > CentOS-virt mailing list > CentOS-virt at centos.org > https://lists.centos.org/mailman/listinfo/centos-virt
Eliezer Croitoru
2015-Sep-09 18:00 UTC
[CentOS-virt] Report on Xen-4.6rc2 from virt7-xen-46-candidate
Sounds pretty much like this is the reality. I have not tested xen yet but I wanted to use it in comparison to KVM. I am working with KVM for quite a while and very happy with it. I have seen that couple xen machines with the same specs as mine has better performance. Eliezer On 09/09/2015 17:02, George Dunlap wrote:> So what I meant was, "xenstored is designed not to do its own forking > under systemd". > > -George