Re: [slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-05 Thread Adrian Sevcenco

On 05.12.2021 20:54, Chris Samuel wrote:

On 4/12/21 9:34 am, Adrian Sevcenco wrote:

actually is not ... so, once again, does anyone have an idea about customization of the timeout of init script defined 
in job_container.conf?


Looking at the source it's hard-coded in Slurm 21.08, so you'd need to patch 
and rebuild at present.

https://github.com/SchedMD/slurm/blob/934f3b543b6bc9f3335d1cc6813b8d95cb2c49b4/src/plugins/job_container/tmpfs/job_container_tmpfs.c#L473 


Oh, thanks for info! well, i'm not brave enough to put on cluster my build.. 
but i hope that
maybe https://bugs.schedmd.com/show_bug.cgi?id=12967 will be taken into account 
for others as well..

Thank you!
Adrian





Re: [slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-05 Thread Chris Samuel

On 4/12/21 9:34 am, Adrian Sevcenco wrote:

actually is not ... so, once again, does anyone have an idea about 
customization of the timeout of init script defined in job_container.conf?


Looking at the source it's hard-coded in Slurm 21.08, so you'd need to 
patch and rebuild at present.


https://github.com/SchedMD/slurm/blob/934f3b543b6bc9f3335d1cc6813b8d95cb2c49b4/src/plugins/job_container/tmpfs/job_container_tmpfs.c#L473

All the best,
Chris
--
Chris Samuel  :  http://www.csamuel.org/  :  Berkeley, CA, USA



Re: [slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-04 Thread Adrian Sevcenco



On 03.12.2021 23:50, Adrian Sevcenco wrote:


On 03.12.2021 16:31, Adrian Sevcenco wrote:

Hi! I have a rather long init script in job_container
and while i tried to raise various timeouts i still get:

[2021-12-03T16:22:08.070] error: run_command: initscript poll timeout @ 1 
msec
[2021-12-03T16:22:08.080] error: _create_ns: init script: 
/etc/slurm/cvmfs_makeshared.sh failed

what timeout do i need to raise to fix this?

it seems that it was MessageTimeout


actually is not ... so, once again, does anyone have an idea about 
customization of the timeout
of init script defined in job_container.conf?

Thanks you!!
Adrian



Re: [slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-03 Thread Adrian Sevcenco



On 03.12.2021 16:31, Adrian Sevcenco wrote:

Hi! I have a rather long init script in job_container
and while i tried to raise various timeouts i still get:

[2021-12-03T16:22:08.070] error: run_command: initscript poll timeout @ 1 
msec
[2021-12-03T16:22:08.080] error: _create_ns: init script: 
/etc/slurm/cvmfs_makeshared.sh failed

what timeout do i need to raise to fix this?

it seems that it was MessageTimeout

Adrian



[slurm-users] initscript poll timeout @ 10000 msec :: what slurm conf var?

2021-12-03 Thread Adrian Sevcenco

Hi! I have a rather long init script in job_container
and while i tried to raise various timeouts i still get:

[2021-12-03T16:22:08.070] error: run_command: initscript poll timeout @ 1 
msec
[2021-12-03T16:22:08.080] error: _create_ns: init script: 
/etc/slurm/cvmfs_makeshared.sh failed

what timeout do i need to raise to fix this?

Thank you!
Adrian