# Fix PTS not strictly increasing

**URL:** <https://openvidu.discourse.group/t/fix-pts-not-strictly-increasing/4867>\
**Category:** Issues developing apps\
**Tags:** v2\
**Created:** [November 25, 2023, 11:31pm UTC](https://openvidu.discourse.group/t/fix-pts-not-strictly-increasing/4867 "2023-11-25T23:31:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![doug](https://yyz2.discourse-cdn.com/free1/user_avatar/openvidu.discourse.group/doug/32/260_2.png) [@doug](https://openvidu.discourse.group/u/doug)\
**Post date:** [November 25, 2023, 11:31pm UTC](https://openvidu.discourse.group/t/fix-pts-not-strictly-increasing/4867/1 "2023-11-25T23:31:17Z")

</div>

Hi, folks!  
Checking the openvidu report, i can see a lot of messages of warning in the log:

> 2023-11-25T13:59:56,206384 1 0x00007f88c3237700 warning kmsutils kmsutils.c:1456 kms\_utils\_depayloader\_adjust\_pts\_out() Fix PTS not strictly increasing, last: 0:45:51.591139556, current: 0:45:46.302236556, fixed = last + 1: 0:45:51.592139556  
> 2023-11-25T13:59:56,213154 1 0x00007f87cb848700 warning rtpjitterbuffer rtpjitterbuffer.c:734 rtp\_jitter\_buffer\_calculate\_pts() rtp delta too big, reset skew  
> 2023-11-25T14:00:02,796937 1 0x00007f89b4419700 warning rtpsession rtpsession.c:3679 session\_nack() Removing 7 expired NACKS  
> 2023-11-25T14:01:33,657796 1 0x00007f8ded48a700 warning rtpbasedepayload gstrtpbasedepayload.c:513 gst\_rtp\_base\_depayload\_handle\_buffer() 53 \<= 100, dropping old packet  
> 2023-11-25T14:01:33,657882 1 0x00007f8ded48a700 warning rtpbasedepayload gstrtpbasedepayload.c:513 gst\_rtp\_base\_depayload\_handle\_buffer() 52 \<= 100, dropping old packet

And when this happens, my cpu goes to 100% and the server network goes to high values. I need close one of sessions to stabilize the server.

I don’t know what is causing this. If anyone can contextualize whether these messages could be an indication of this high CPU consumption, I would appreciate the response in advance!

> Server configs:  
> AMD Ryzen 9 3900 12-Core Processor  
> 62GB RAM  
> OV 2.29

This happens with much more frequency if i leave OPENVIDU\_STREAMS\_VIDEO\_MAX\_RECV\_BANDWIDTH with 0 now i keep the default value: 1000.  
Sent to server: 1000 max - 700 min  
Sent to client: 900 max - 700min

> Scenario:  
> 1 - N  
> Subscribers: 600~800  
> Sessions: 4~6

Thks!  
Doug
