You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
o3de/Code/Tools/AssetProcessor
Chris Burel 9f9aa8f2a6
[Linux] Avoid duplicating inotify watches in forked AssetBuilder processes (#5683)
The AssetProcessor on Linux uses `inotify` to monitor for file updates.
The AssetProcessor also uses a `ProcessWatcher` to launch child
AssetBuilder processes. `ProcessWatcher` accomplishes this by calling
`fork()`, which duplicates the current process, then calling `exec()`.
The `fork()` call also appears to duplicate any inotify fds. This
results in the subprocess consuming duplicate inotify watches, which is
a limited system resource (Ubunut 20 defaults
`/proc/sys/fs/inotify/max_user_watches` to 65536). The AssetProcessor
still has issues with this max, but this should free up at least half of
the uses.

Signed-off-by: Chris Burel <burelc@amazon.com>
4 years ago
..
AssetBuilder Squashed commit of Procedural Prefab work (#4481) 4 years ago
AssetBuilderSDK ATOM-13512 Altering IBL ImageProcessor .preset Does Not Force Assets to Rebuild (#5639) 4 years ago
Platform [Linux] Avoid duplicating inotify watches in forked AssetBuilder processes (#5683) 4 years ago
native ATOM-13512 Altering IBL ImageProcessor .preset Does Not Force Assets to Rebuild (#5639) 4 years ago
testdata Add linux equivalents for all the places that enumerate platforms (#3325) 4 years ago
CMakeLists.txt Set enable gem variants feature (#3631) 4 years ago
assetprocessor_batch_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
assetprocessor_gui_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
assetprocessor_static_batch_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
assetprocessor_static_files.cmake Shorten copyright headers by splitting into 2 lines (#2213) 5 years ago
assetprocessor_test_files.cmake {LYN-4996} Asset Processor is not reprocessing STL files after settings are edited/updated (#2095) 5 years ago
deployment.pri Initial commit 5 years ago