Antwort: Re: [suse-domino] priority of indexer (SLES7, Domino 5.0.11)

[email protected]
Newsgroups gmane.linux.suse.domino
Message-ID <[email protected]>
Hi Jan,

you were quite right. Since I am by no means a shell-scripter, I reused 
parts of the code that will stop a crashed Domino and attached it right 
after the server-start. works only for auto-start servers at the moments. 
but helps anyway...
Thanks to all responses!

Used code below...

---------snip-----------
      case "$1" in
    start)
        echo -n "Starting Lotus Domino server"
        test -f $INPUT_FILE || su - $NOTES_USER -c "touch $INPUT_FILE"
        test -f $INPUT_FILE && su - $NOTES_USER -c "rm $INPUT_FILE; touch 
$INPUT_FILE"
        su - $NOTES_USER -c "$DOMINO_BIN <$INPUT_FILE >$OUTPUT_LOG 2>&1 &" 
|| return=$rc_fa$

        #Test-erweiterung von Lucian: indexer auf nice 19 setzen
        sleep 60
        for i in `ps -fu $NOTES_USER |grep update | awk '{print $2}'`; do
                echo " ...renicing PID "$i
                renice -19 $i
        done
        #Test-erweiterung Ende
        # Remember status and be verbose
        rc_status -v
        ;; 
    stop)
        echo  "Shutting down Lotus Domino server"
---------snip------------




"Jan Caspary" <[email protected]>
10.11.2003 14:09
 
        An:     [email protected]
        Kopie: 
        Thema:  Re: [suse-domino] priority of indexer (SLES7, Domino 
5.0.11)


Hi,

I dont think this would work because all processes of the domino server 
would have nice-level -19. 

A better solution might be a ps | grep for the indexer process after the 
domino is started in the file /etc/init.d/domino to get the process-id. 
Now you can change the nice-level.

Regards
Jan




[email protected]
10.11.2003 12:31

 
        To:     [email protected]
        cc:     [email protected]
        Subject:        Re: [suse-domino] priority of indexer (SLES7, 
Domino 5.0.11)






Hi again,

do following :

1) chmod 4755 /usr/bin/nice (will be started as root)
2) put "nice -n-19 ... " into the line where "$DOMINOBIN" will be started

cu
bruno



[email protected] schrieb am 10.11.2003 11:47:10:

>
> Hi all,
>
> we work with a rather large db (> 2GB) and experience degradations in 
user
> responiveness whenever the indexer is busy. When I manually renice the 
process
> to -19, user experience is much better. Unfortunately, we down the 
domino
> server each night for backup purposes (via rcdomino stop/start), and
> thereafter, the process runs with ist standard priority.
> Is there a way to start the indexer process with another priority, 
making it
> nice on startup?
>
> Regards, Lucian Greis


-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]






-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.