daemon : increase open fd limit 19/68819/2 accepted/tizen/common/20160511.141831 accepted/tizen/ivi/20160511.080521 accepted/tizen/mobile/20160511.080421 accepted/tizen/tv/20160511.080440 accepted/tizen/wearable/20160511.080457 submit/tizen/20160510.090610
authorJiwoong Im <jiwoong.im@samsung.com>
Tue, 10 May 2016 02:58:55 +0000 (11:58 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Tue, 10 May 2016 06:38:17 +0000 (15:38 +0900)
- vconf api changed to make connection in every set/get operation.
  This can cause that the number of open files exceed the maximum number(1024)
  and accept() returns EMFILE in buxton2 daemon.
  To resolve this, increase the maximum number of open file.

Change-Id: I5c2c213551367f84fb4ddc7d31bb6e915e1d8c0e
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
packaging/buxton2.service

index 8b48fcf..366ee20 100644 (file)
@@ -5,6 +5,7 @@ After=systemd-tmpfiles-setup.service
 [Service]
 ExecStart=/usr/sbin/buxton2d -f
 User=buxton
+LimitNOFILE=16384
 
 [Install]
 WantedBy=multi-user.target