ALT Linux Bugzilla
– Attachment 1838 Details for
Bug 10941
nice level для сервера не регулируется и по умолчанию значение слишком большое
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
mysqld initscripts patch, v2
mysql-server-alt-init.patch (text/plain), 1008 bytes, created by
Andrew Kornilov
on 2007-02-26 16:27:30 MSK
(
hide
)
Description:
mysqld initscripts patch, v2
Filename:
MIME Type:
Creator:
Andrew Kornilov
Created:
2007-02-26 16:27:30 MSK
Size:
1008 bytes
patch
obsolete
>diff -ruN orig/mysqld.init new/mysqld.init >--- orig/mysqld.init 2007-02-26 13:23:41 +0000 >+++ new/mysqld.init 2007-02-26 12:45:49 +0000 >@@ -70,7 +70,7 @@ > { > adjust || return > charset >- start_daemon $NICE --lockfile "$LOCKFILE" --pidfile "$PIDFILE" --name mysqld --expect-user mysql -- safe_mysqld -C "$CHSET" $OPT >+ start_daemon --lockfile "$LOCKFILE" --pidfile "$PIDFILE" --name mysqld --expect-user mysql -- safe_mysqld -C "$CHSET" $OPT > RETVAL=$? > return $RETVAL > } >diff -ruN orig/mysqld.sysconfig new/mysqld.sysconfig >--- orig/mysqld.sysconfig 2007-02-26 12:43:33 +0000 >+++ new/mysqld.sysconfig 2007-02-26 12:45:28 +0000 >@@ -2,4 +2,6 @@ > CHSET= > # other server opts > OPT= >+# nice level >+NICE=-5 > >diff -ruN orig/mysqld_wrapper new/mysqld_wrapper >--- orig/mysqld_wrapper 2007-02-11 21:19:32 +0000 >+++ new/mysqld_wrapper 2007-02-26 12:44:31 +0000 >@@ -43,7 +43,7 @@ > > while :; do > rm -f "$socket" "$pidfile" >- nice $mysqld "$@" >+ $mysqld "$@" > RETVAL=$? > if [ $RETVAL -eq 0 ]; then > msg=succeded
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 10941
:
1837
| 1838