<html><body><p>see inline<br><br><tt>"openbmc" <openbmc-bounces+mkumatag=in.ibm.com@lists.ozlabs.org> wrote on 03/23/2016 02:50:41 AM:<br><br>> From: OpenBMC Patches <openbmc-patches@stwcx.xyz></tt><br><tt>> To: openbmc@lists.ozlabs.org</tt><br><tt>> Date: 03/23/2016 02:51 AM</tt><br><tt>> Subject: [PATCH openbmc] Limit size of event log db</tt><br><tt>> Sent by: "openbmc" <openbmc-bounces+mkumatag=in.ibm.com@lists.ozlabs.org></tt><br><tt>> <br>> From: Adriana Kobylak <anoo@us.ibm.com><br>> <br>> The event log process now supports an argument to specify the max<br>> size of the event log db. Set this size to a default of 200kB.<br>> <br>> Signed-off-by: Adriana Kobylak <anoo@us.ibm.com><br>> ---<br>> .../obmc-phosphor-event/files/obmc-phosphor-event.service | 2 +-<br>> 1 file changed, 1 insertion(+), 1 deletion(-)<br>> <br>> diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-<br>> event/files/obmc-phosphor-event.service b/meta-phosphor/common/<br>> recipes-phosphor/obmc-phosphor-event/files/obmc-phosphor-event.service<br>> index 8e0266b..828cb6a 100644<br>> --- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/<br>> files/obmc-phosphor-event.service<br>> +++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-event/<br>> files/obmc-phosphor-event.service<br>> @@ -2,7 +2,7 @@<br>> Description=Phosphor OpenBMC event management daemon<br>> <br>> [Service]<br>> -ExecStart=/usr/sbin/obmc-phosphor-eventd<br>> +ExecStart=/usr/sbin/obmc-phosphor-eventd -s 200000</tt><br><font size="4">IMO we should use EnvironmentFile entry under the service section and read the option from that file instead of hardcoding the value directly. This option will even help to change the value runtime and test it.</font><p><font size="4">Reference - </font><a href="http://fedoraproject.org/wiki/Packaging:Systemd#EnvironmentFiles_and_support_for_.2Fetc.2Fsysconfig_files"><u><font size="4" color="#0000FF">http://fedoraproject.org/wiki/Packaging:Systemd#EnvironmentFiles_and_support_for_.2Fetc.2Fsysconfig_files</font></u></a><tt><br>> <br>> [Install]<br>> WantedBy=multi-user.target<br>> -- <br>> 2.7.1<br>> <br>> <br>> _______________________________________________<br>> openbmc mailing list<br>> openbmc@lists.ozlabs.org<br>> <a href="https://lists.ozlabs.org/listinfo/openbmc">https://lists.ozlabs.org/listinfo/openbmc</a><br></tt><BR>
</body></html>