Re: [gridengine users] Problems with quotas

2018-04-05 Thread William Hay
On Wed, Mar 28, 2018 at 01:52:59PM +0200, Sms Backup wrote: >Thanks for reply ! >You are rigght, this is systemd unit file. So for filtering I just >use ExecStart=/bin/sh -c /opt/sge/bin/sge_qmaster |&grep -v '^RUE_' ? >Sorry, but I cannot understand this part. I think you probably

Re: [gridengine users] Problems with quotas

2018-03-28 Thread Sms Backup
Thanks for reply ! You are rigght, this is systemd unit file. So for filtering I just use ExecStart=/bin/sh -c /opt/sge/bin/sge_qmaster |&grep -v '^RUE_' ? Sorry, but I cannot understand this part. 2018-03-23 12:49 GMT+01:00 William Hay : > On Fri, Mar 23, 2018 at 12:07:39PM +0100, Sms Backup w

Re: [gridengine users] Problems with quotas

2018-03-23 Thread William Hay
On Fri, Mar 23, 2018 at 12:07:39PM +0100, Sms Backup wrote: >Thanks for your replies, >So in total it would be something like this: ExecStart=/bin/sh -c >/opt/sge/bin/sge_qmaster |&grep -v '^RUE_' >&/dev/null ? No. The grep is intended to replace of the redirection to /dev/null so as

Re: [gridengine users] Problems with quotas

2018-03-23 Thread Sms Backup
Thanks for your replies, So in total it would be something like this: ExecStart=/bin/sh -c /opt/sge/bin/sge_qmaster |&grep -v '^RUE_' >&/dev/null ? Cheers 2018-03-23 10:58 GMT+01:00 William Hay : > On Fri, Mar 23, 2018 at 09:36:29AM +, Mark Dixon wrote: > > Hi Jakub, > > > > That's right: i

Re: [gridengine users] Problems with quotas

2018-03-23 Thread William Hay
On Fri, Mar 23, 2018 at 09:36:29AM +, Mark Dixon wrote: > Hi Jakub, > > That's right: if you need to cut down the logging, one option is to add the > redirection in the start script. > > You're looking for the line starting "sge_qmaster", and you might want to > try adding a ">/dev/null" afte

Re: [gridengine users] Problems with quotas

2018-03-23 Thread Mark Dixon
Hi Jakub, That's right: if you need to cut down the logging, one option is to add the redirection in the start script. You're looking for the line starting "sge_qmaster", and you might want to try adding a ">/dev/null" after it. You'll lose all syslog messages from sge_qmaster though (normal

Re: [gridengine users] Problems with quotas

2018-03-23 Thread Sms Backup
Hello, I tried with SGE_DEBUG_LEVEL, but it did not helpWhat you mean by redirecting sgemaster output to /dev/null ? Add rediriction in start script ? Thanks, Jakub 2018-03-22 14:37 GMT+01:00 Mark Dixon : > Hi, > > It's this bit that's doing it: "SGE_ND=true". It's there so that the > qmas

Re: [gridengine users] Problems with quotas

2018-03-22 Thread Mark Dixon
Hi, It's this bit that's doing it: "SGE_ND=true". It's there so that the qmaster doesn't daemonise, in order to play nicely with systemd. Unfortunately, as it was originally put in to aid debugging, it also enables some debug messages. If too much is being generated, I'd suggest either redir

Re: [gridengine users] Problems with quotas

2018-03-22 Thread Sms Backup
Hello, [root@qmaster ~]# cat /proc/44697/environ SGE_CELL=defaultSGE_ND=truePATH=/usr/local/sbin:/usr/ local/bin:/usr/sbin:/usr/binPWD=/SGE_EXECD_PORT=6814LANG=en_US.UTF-8SGE_ QMASTER_PORT=6813SGE_ROOT=/opt/sgeSHLVL=1SGE_CLUSTER_NAME=`cat $SGE_ROOT/$SGE_CELL/common/cluster_name 2>/dev/null`_=/opt/

Re: [gridengine users] Problems with quotas

2018-03-21 Thread William Hay
On Wed, Mar 21, 2018 at 07:59:41AM +0100, Sms Backup wrote: >William, >Thanks for reply. Unfortunately I have few non-interactive queues, so I >cannot limit slots this way. >99% of messages printed to system log look like this below, so I believe >that are the messages which are

Re: [gridengine users] Problems with quotas

2018-03-21 Thread Sms Backup
William, Thanks for reply. Unfortunately I have few non-interactive queues, so I cannot limit slots this way. 99% of messages printed to system log look like this below, so I believe that are the messages which are suppressed: Mar 20 21:55:18 qmaster sh: --- Mar 20 21

Re: [gridengine users] Problems with quotas

2018-03-20 Thread William Hay
On Tue, Mar 20, 2018 at 11:08:02AM +0100, Sms Backup wrote: >Dear all, >We have in our configuration multiple servers assigned to multiple queues. >To limit slots number per system, I tried to create qouta: >{ > name slots > description Limit slots usage per nod