Skip to content

Commit 5662ee3

Browse files
committed
finished cherry-pick CS-1258 log to execd messages file when and why sge_execd rejects pe task requests (qrsh -inherit)
1 parent 5770473 commit 5662ee3

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

source/daemons/execd/msg_execd.h

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,33 @@
22
#define __MSG_EXECD_H
33
/*___INFO__MARK_BEGIN__*/
44
/*************************************************************************
5-
*
5+
*
66
* The Contents of this file are made available subject to the terms of
77
* the Sun Industry Standards Source License Version 1.2
8-
*
8+
*
99
* Sun Microsystems Inc., March, 2001
10-
*
11-
*
10+
*
11+
*
1212
* Sun Industry Standards Source License Version 1.2
1313
* =================================================
1414
* The contents of this file are subject to the Sun Industry Standards
1515
* Source License Version 1.2 (the "License"); You may not use this file
1616
* except in compliance with the License. You may obtain a copy of the
1717
* License at http://gridengine.sunsource.net/Gridengine_SISSL_license.html
18-
*
18+
*
1919
* Software provided under this License is provided on an "AS IS" basis,
2020
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
2121
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
2222
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
2323
* See the License for the specific provisions governing your rights and
2424
* obligations concerning the Software.
25-
*
25+
*
2626
* The Initial Developer of the Original Code is: Sun Microsystems, Inc.
27-
*
27+
*
2828
* Copyright: 2001 by Sun Microsystems, Inc.
29-
*
29+
*
3030
* All Rights Reserved.
31-
*
31+
*
3232
* Portions of this software are Copyright (c) 2023-2024 HPC-Gridware GmbH
3333
*
3434
************************************************************************/
@@ -241,11 +241,11 @@
241241
#define MSG_SGE_DONOTKILLROOTPROCESSXY_PI _MESSAGE(29219, _("do not kill root process " pid_t_fmt "/%d" ))
242242
#define MSG_SGE_PTDISPATCHPROCTOJOBMALLOCFAILED _MESSAGE(29220, _("pt_dispatch_proc_to_job: malloc failed" ))
243243

244-
#define MSG_REJECT_TASK_MASTER_FORKS_UU _MESSAGE(29221, _("rejecting pe task request for job " sge_uu32 "." sge_uu32 ": on master host and master_forks_slaves=TRUE"))
245-
#define MSG_REJECT_TASK_NOT_ENOUGH_SLOTS_UUII _MESSAGE(29222, _("rejecting pe task request for job " sge_uu32 "." sge_uu32 ": we only allow %d slots due to daemon_forks_slaves=TRUE and %d slots are already in use"))
246-
#define MSG_REJECT_TASK_OUT_OF_MEMORY_UU _MESSAGE(29223, _("rejecting pe task request for job " sge_uu32 "." sge_uu32 ": out of memory"))
247-
#define MSG_REJECT_TASK_SLOTS_IN_USE_UUIUS _MESSAGE(29224, _("rejecting pe task request for job " sge_uu32 "." sge_uu32 ": %d out of " sge_uu32 " slots in queue " SFN " are in use"))
248-
#define MSG_REJECT_TASK_NO_FREE_SLOT_FOUND_UU _MESSAGE(29225, _("rejecting pe task request for job " sge_uu32 "." sge_uu32 ": no free slot found"))
244+
#define MSG_REJECT_TASK_MASTER_FORKS_UU _MESSAGE(29221, _("rejecting pe task request for job " sge_u32 "." sge_u32 ": on master host and master_forks_slaves=TRUE"))
245+
#define MSG_REJECT_TASK_NOT_ENOUGH_SLOTS_UUII _MESSAGE(29222, _("rejecting pe task request for job " sge_u32 "." sge_u32 ": we only allow %d slots due to daemon_forks_slaves=TRUE and %d slots are already in use"))
246+
#define MSG_REJECT_TASK_OUT_OF_MEMORY_UU _MESSAGE(29223, _("rejecting pe task request for job " sge_u32 "." sge_u32 ": out of memory"))
247+
#define MSG_REJECT_TASK_SLOTS_IN_USE_UUIUS _MESSAGE(29224, _("rejecting pe task request for job " sge_u32 "." sge_u32 ": %d out of " sge_u32 " slots in queue " SFN " are in use"))
248+
#define MSG_REJECT_TASK_NO_FREE_SLOT_FOUND_UU _MESSAGE(29225, _("rejecting pe task request for job " sge_u32 "." sge_u32 ": no free slot found"))
249249

250250
// clang-format on
251251

0 commit comments

Comments
 (0)