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

조회 수: 15 (최근 30일)
...
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?

답변 (2개)

Kautuk Raj
Kautuk Raj 2024년 10월 28일 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.

埃博拉酱
埃博拉酱 2024년 10월 28일 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');

카테고리

Help CenterFile Exchange에서 Application Deployment에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by