[sheepdog-users] [sheepdog-0.9.2] Late creation of pid file
Marcin Mirosław
marcin at mejor.pl
Tue Sep 29 11:53:38 CEST 2015
Hi!
I noticed that sheepdog creates pid file very late. E.g.:
Sep 29 11:46:54 INFO [main] md_add_disk(343)
/data/sheepdog_storage/obj, vdisk nr 6280, total disk 1
Sep 29 11:46:55 NOTICE [main] get_local_addr(522) found IPv4 address
Sep 29 11:46:55 INFO [main] send_join_request(1032) IPv4
ip:192.168.1.230 port:7000 going to join the cluster
Sep 29 11:47:06 INFO [main] check_host_env(500) Allowed open files
1000000, suggested 6144000
Sep 29 11:47:06 INFO [main] main(958) sheepdog daemon (version 0.9.2)
started
Sep 29 11:47:06 ERROR [nfs] nfs_init_transport(133) svc_register udp,
failed
Pid was created at:
$ stat -c %y /run/sheepdog/sheepdog
2015-09-29 11:47:06.369753495 +0200
Sheep needed 12 seconds to create pid file, init script wasn't happy
because it couldn't find pid in 5 seconds (I can configure init scripts
to wait longer but how long should it wait? 10, 20 seconds?). Is any
special reason that pidfile can't be created much earlier?
Marcin
More information about the sheepdog-users
mailing list