<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>DATA LOSS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/125623/data-loss</link><description>Support Ticket Draft: Severe PPP RX Buffer Overflow on nRF5340 Gateway (NCS v2.5.0) 
 
 Subject: Persistent net_ppp: Rx buffer doesn&amp;#39;t have enough space Errors on nRF5340 Gateway (Data Loss) 
 Environment: 
 
 
 SDK/Version: nRF Connect SDK (NCS) v2.5</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Nov 2025 16:56:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/125623/data-loss" /><item><title>RE: DATA LOSS</title><link>https://devzone.nordicsemi.com/thread/554419?ContentTypeID=1</link><pubDate>Fri, 14 Nov 2025 16:56:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a019fd9-c4f2-408b-8380-46a889e71e8d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]&lt;b&gt;Thread Priority:&lt;/b&gt; We believe the &lt;b&gt;PPP RX processing thread&lt;/b&gt; may be running at a priority too low to compete with other Application Core threads (like our BLE observer/Flash workqueue, which uses the system workqueue). What is the recommended priority for the PPP RX thread to prevent starvation?[/quote]
&lt;p&gt;After thread has been started, it is possible to change its initial priority if this is needed. This is described in&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/kernel/services/threads/index.html#thread-priorities"&gt;thread priority&lt;/a&gt;.&lt;/p&gt;
[quote user=""]&lt;b&gt;Core Memory:&lt;/b&gt; Is it possible that the buffers are being depleted on the &lt;b&gt;Network Core&lt;/b&gt; (Net Core) before they even reach the Application Core&amp;#39;s memory management, and are there specific Kconfig options (outside the standard &lt;code&gt;CONFIG_NET_BUF_*&lt;/code&gt; group) to allocate more buffers or memory specifically for the Net Core&amp;#39;s PPP function in NCS v2.5.0?[/quote]
&lt;p&gt;Regarding buffers, please refer to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/connectivity/networking/net_config_guide.html#network_buffer_configuration_options"&gt;network buffer configuration options&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user=""]&lt;b&gt;PPP RX Stack:&lt;/b&gt; Is &lt;code&gt;CONFIG_NET_PPP_RX_STACK_SIZE=8192&lt;/code&gt; an adequate stack size for high-traffic scenarios on the nRF5340, or should this be increased further?[/quote]
&lt;p&gt;It is generally advisable to check if stack sizes are appropriate using&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/services/debugging/thread-analyzer.html"&gt;thread analyzer&lt;/a&gt;.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>