Van

You might be able to run 'lsof -p <pid of nifi>' periodically and figure
out who/what is placing that file there.

Thanks
Joe



On Fri, Sep 1, 2023 at 12:53 PM Williams, Van <[email protected]>
wrote:

> Here are the uncommented parts of that file:
>
>
>
>     <local-provider>
>
>         <id>local-provider</id>
>
>
> <class>org.apache.nifi.controller.state.providers.local.WriteAheadLocalStateProvider</class>
>
>         <property name="Directory">./state/local</property>
>
>         <property name="Always Sync">false</property>
>
>         <property name="Partitions">16</property>
>
>         <property name="Checkpoint Interval">2 mins</property>
>
>     </local-provider>
>
>
>
>    <cluster-provider>
>
>         <id>zk-provider</id>
>
>
> <class>org.apache.nifi.controller.state.providers.zookeeper.ZooKeeperStateProvider</class>
>
>         <property name="Connect String">(intentionally omitted for this
> thread)</property>
>
>         <property name="Root Node">/nificluster</property>
>
>         <property name="Session Timeout">10 seconds</property>
>
>         <property name="Access Control">Open</property>
>
>     </cluster-provider>
>
>
>
>     <cluster-provider>
>
>             <id>redis-provider</id>
>
>             <class>org.apache.nifi.redis.state.RedisStateProvider</class>
>
>             <property name="Redis Mode">Standalone</property>
>
>             <property name="Connection String">localhost:6379</property>
>
>     </cluster-provider>
>
>
>
> *Van Williams*
>
> <http://www.mastercard.com>
>
> *From:* Matt Burgess <[email protected]>
> *Sent:* Thursday, August 31, 2023 11:48 PM
> *To:* [email protected]
> *Subject:* {EXTERNAL} Re: Files in /tmp folder
>
>
>
> Can you share your conf/state-management. xml contents? On Mon, Aug 28,
> 2023 at 8: 33 AM Williams, Van <Van. Williams@ mastercard. com> wrote:
> There are files that are appearing in the /tmp folder on some of our NiFi
> Linux hosts. The files
>
> Can you share your conf/state-management.xml contents?
>
>
>
> On Mon, Aug 28, 2023 at 8:33 AM Williams, Van <[email protected]>
> wrote:
>
> There are files that are appearing in the /tmp folder on some of our NiFi
> Linux hosts. The files all begin with 'file', and they somewhat quickly
> fill up that folder (we have an automated job to keep that clear while we
> investigate the issue). This started happening within the last 2-3 months.
> I'm guessing that there may have been a .conf or a .properties files
> change, but cannot tell for sure.
>
> We have tried stopping/disabling all processes in NiFi, but the files are
> still appearing. We have also stopped NiFi entirely, and that did stop the
> files from being generated, but the files began to be generated again when
> NiFi was restarted.
>
> The content of the files are all the same, and have some text from SQLite
> within them:
>
> tablekeyskeys^DCREATE TABLE keys (label_id INTEGER primary key
> AUTOINCREMENT,label TEXT unique,value TEXT,type INTEGER,lcrypto
> INTEGER,vcrypto INTEGER)'^D^F^W;^U^A^@indexsqlite_autoindex_keys_1keys
>
> Any ideas?
>
>
>
>
>
> *Van Williams*
>
> Lead BizOps Engineer
>
>
>
> Mastercard | mobile 314-691-3047
>
> <http://www.mastercard.com/>
>
>
>
> CONFIDENTIALITY NOTICE This e-mail message and any attachments are only
> for the use of the intended recipient and may contain information that is
> privileged, confidential or exempt from disclosure under applicable law. If
> you are not the intended recipient, any disclosure, distribution or other
> use of this e-mail message or attachments is prohibited. If you have
> received this e-mail message in error, please delete and notify the sender
> immediately. Thank you.
>
>

Reply via email to