[tickets] [opensaf:tickets] #3349 ntf: ntfd cannot handle notification when logd overload

2024-04-02 Thread PhanTranQuocDat via Opensaf-tickets
- **status**: review --> fixed



---

**[tickets:#3349] ntf: ntfd cannot handle notification when logd overload**

**Status:** fixed
**Milestone:** 5.24.09
**Created:** Sat Mar 23, 2024 02:45 AM UTC by PhanTranQuocDat
**Last Updated:** Tue Apr 02, 2024 10:50 AM UTC
**Owner:** PhanTranQuocDat


When AMF sends events to NTF but NTF is busy with full buffer, AMF will unable 
to process other jobs. This can happen due to:
1. LOG service is also busy
2. Notification stays  too long in NTF logger buffer

Step to reproduce:
1. Send STOP signal to LOG to stimulate LOG service is busy
2. Use 'ntfsend' command multiple time to create notifications, logger buffer 
will be full after
3. Observe ntfsend failed due to NTF buffer is full

syslog:
~~~
2024-03-22 15:04:54.773 SC-1 osafntfd[272]: WA The logger buffer is full. Check 
if there is issue in writing
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3349 ntf: ntfd cannot handle notification when logd overload

2024-04-02 Thread PhanTranQuocDat via Opensaf-tickets
commit ad744c90e242272fe78ba09694e41de5eb164455 (HEAD -> develop, 
origin/develop, ticket-3349)
Author: dat.tq.phan 
Date:   Mon Apr 1 17:13:53 2024 +0700

amf: move ntf job to the end of queue [#3349]

When AMF sends job to NTF but NTF is busy with full buffer,
AMF will be stuck and unable to process other jobs.

Solution is to move the front NTF job to the end of queue
when NTF is busy and continue to process other jobs.

commit e58044b667bcc6c8b776d30fa04dbbbfdb49ebde
Author: dat.tq.phan 
Date:   Fri Mar 22 11:56:48 2024 +0700

ntf: remove overdue notification from logger buffer [#3349]

When logger buffer on NTF is full, it cannot receive requests.
Sometimes, notifications stay in logger buffer for too long make
NTF always busy.

Solution is to remove overdue notification out of logger buffer
so NTF can continue receive requests.


---

**[tickets:#3349] ntf: ntfd cannot handle notification when logd overload**

**Status:** review
**Milestone:** 5.24.09
**Created:** Sat Mar 23, 2024 02:45 AM UTC by PhanTranQuocDat
**Last Updated:** Tue Apr 02, 2024 10:24 AM UTC
**Owner:** PhanTranQuocDat


When AMF sends events to NTF but NTF is busy with full buffer, AMF will unable 
to process other jobs. This can happen due to:
1. LOG service is also busy
2. Notification stays  too long in NTF logger buffer

Step to reproduce:
1. Send STOP signal to LOG to stimulate LOG service is busy
2. Use 'ntfsend' command multiple time to create notifications, logger buffer 
will be full after
3. Observe ntfsend failed due to NTF buffer is full

syslog:
~~~
2024-03-22 15:04:54.773 SC-1 osafntfd[272]: WA The logger buffer is full. Check 
if there is issue in writing
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3349 ntf: ntfd cannot handle notification when logd overload

2024-04-02 Thread PhanTranQuocDat via Opensaf-tickets
- **status**: assigned --> review



---

**[tickets:#3349] ntf: ntfd cannot handle notification when logd overload**

**Status:** review
**Milestone:** 5.24.09
**Created:** Sat Mar 23, 2024 02:45 AM UTC by PhanTranQuocDat
**Last Updated:** Tue Apr 02, 2024 07:26 AM UTC
**Owner:** PhanTranQuocDat


When AMF sends events to NTF but NTF is busy with full buffer, AMF will unable 
to process other jobs. This can happen due to:
1. LOG service is also busy
2. Notification stays  too long in NTF logger buffer

Step to reproduce:
1. Send STOP signal to LOG to stimulate LOG service is busy
2. Use 'ntfsend' command multiple time to create notifications, logger buffer 
will be full after
3. Observe ntfsend failed due to NTF buffer is full

syslog:
~~~
2024-03-22 15:04:54.773 SC-1 osafntfd[272]: WA The logger buffer is full. Check 
if there is issue in writing
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets


[tickets] [opensaf:tickets] #3349 ntf: ntfd cannot handle notification when logd overload

2024-04-02 Thread PhanTranQuocDat via Opensaf-tickets
- **Type**: enhancement --> defect



---

**[tickets:#3349] ntf: ntfd cannot handle notification when logd overload**

**Status:** assigned
**Milestone:** 5.24.09
**Created:** Sat Mar 23, 2024 02:45 AM UTC by PhanTranQuocDat
**Last Updated:** Sat Mar 23, 2024 02:45 AM UTC
**Owner:** PhanTranQuocDat


When AMF sends events to NTF but NTF is busy with full buffer, AMF will unable 
to process other jobs. This can happen due to:
1. LOG service is also busy
2. Notification stays  too long in NTF logger buffer

Step to reproduce:
1. Send STOP signal to LOG to stimulate LOG service is busy
2. Use 'ntfsend' command multiple time to create notifications, logger buffer 
will be full after
3. Observe ntfsend failed due to NTF buffer is full

syslog:
~~~
2024-03-22 15:04:54.773 SC-1 osafntfd[272]: WA The logger buffer is full. Check 
if there is issue in writing
~~~


---

Sent from sourceforge.net because opensaf-tickets@lists.sourceforge.net is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.___
Opensaf-tickets mailing list
Opensaf-tickets@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets