EventDispa​tcher::dis​patchPendi​ng: event [PathHasBe​enRefreshe​dEvent] std::exception [foundatio​n::storage​::vfs::Exc​eption]

15 views (last 30 days)
...
EventDispatcher::dispatchPending: event [PathHasBeenRefreshedEvent] std::exception [foundation::storage::vfs::Exception]
EventDispatcher::dispatchPending: event [PathHasBeenRefreshedEvent] std::exception [foundation::storage::vfs::Exception]
IdleTimeout has been reached.
Parallel pool using the 'local' profile is shutting down.
EventDispatcher::dispatchPending: event [PathHasBeenRefreshedEvent] std::exception [foundation::storage::vfs::Exception]
EventDispatcher::dispatchPending: event [PathHasBeenRefreshedEvent] std::exception [foundation::storage::vfs::Exception]
...
I get this error message when I leave my code processing overnight (after work hours) and ALWAYS come back to this. I am utilizing a parfor loop to process many files simultaneously, but I don't believe the error stems from the parfor. I am also running the code in several remote servers (all separate from each other) so I can get more done overnight.
I suspect the problem is one of two things, but I don't know enough about the servers or have access to take a closer look:
1. The storage server is being "refreshed," or restarted. I'm not sure why this would happen every night.
2. The server running is somehow resetting the connection somewhere in the evening or night hours.
Servers are Windows Server 2012 R2 and have a separate NAS in the rack for storing the files.
Any ideas?

Answers (2)

Kautuk Raj
Kautuk Raj on 28 Oct 2024 at 7:51
I can relate to the issue pertaining to the PathHasBeenRefreshedEvent and foundation::storage::vfs::Exception errors in MATLAB R2018a, which you are facing while working with network location workflows.
I faced a similar issue and found that updating MATLAB to R2019b or a later version resolved the problem for me. I suggest trying the same on your end to try resolving this.

埃博拉酱
埃博拉酱 on 28 Oct 2024 at 12:14
I'd recommend that you use try-catch to save more detailed error information first.
Exceptions=cell(YourIndex,1);
parfor P=1:YourIndex
try
%Your job
catch ME
Exceptions{P}=ME;
end
end
save('Exceptions.m','Exceptions');

Categories

Find more on Application Deployment in Help Center and File Exchange

Tags

Products


Release

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!