Skip to content

Commit 84e18b2

Browse files
committed
Revert "fix: Remove shared memory key from the error response (#403)"
This reverts commit 87f6f2a.
1 parent 3980de1 commit 84e18b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/shm_manager.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Copyright 2021-2025, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
1+
// Copyright 2021-2023, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
22
//
33
// Redistribution and use in source and binary forms, with or without
44
// modification, are permitted provided that the following conditions
@@ -188,8 +188,8 @@ SharedMemoryManager::GrowIfNeeded(uint64_t byte_size)
188188
}
189189
catch (bi::interprocess_exception& ex) {
190190
std::string error_message =
191-
("Failed to increase the shared memory pool size to " +
192-
std::to_string(*total_size_) +
191+
("Failed to increase the shared memory pool size for key '" +
192+
shm_region_name_ + "' to " + std::to_string(*total_size_) +
193193
" bytes. If you are running Triton inside docker, use '--shm-size' "
194194
"flag to control the shared memory region size. Error: " +
195195
ex.what());

0 commit comments

Comments
 (0)