<?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>nrfjprog filling /dev/shm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/120048/nrfjprog-filling-dev-shm</link><description>I am using &amp;quot;nrfjprog -p&amp;quot; to reset our nordic devices in our test rigs. We recently migrated the setup to RHEL 9 and now we are seeing regular failures in nrfjprog due to /dev/shm being totally full. It is not clear why but in some cases, the memory is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Mar 2025 16:33:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/120048/nrfjprog-filling-dev-shm" /><item><title>RE: nrfjprog filling /dev/shm</title><link>https://devzone.nordicsemi.com/thread/528688?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 16:33:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b5e7d25-654a-46b3-953c-b9031fbe70ae</guid><dc:creator>ble-rox</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1742833648979v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;this is the output of ps -ef showing that hash that you can see in the filenames corresponds to jlinkarm_nrf_worker_linux&lt;/p&gt;
&lt;p&gt;However, lsof points to just jlinkarm_&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1742833786023v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I am guessing these two programs are using the shared memory as IPC.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It takes about 1 hour before &amp;#39;nrfjprog -p&amp;#39; starts failing after I clear the directory. At that time, all of the files are still open according to lsof. Eventually, these programs exit although I am not sure how long that takes. At that point, some of the files are cleaned up, but the &amp;quot;args&amp;quot; files remain.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog filling /dev/shm</title><link>https://devzone.nordicsemi.com/thread/528528?ContentTypeID=1</link><pubDate>Mon, 24 Mar 2025 06:32:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:066763a0-cca9-49a9-aa00-d8600df8723f</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Steve,&lt;/p&gt;
&lt;p&gt;The version you are using is the latest one available, I think I need to pass this to the tools teams but before I do that, can you please clarify me if those leftover files are created from nrfjprog? probably an easiest solution is to run a script that monitors and cleans this directory once in a while. How long does it take for that directory to get to that 8 GB size?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>